Udostępnij za pośrednictwem


ArmRecoveryServicesSiteRecoveryModelFactory.TestFailoverJobDetails Method

Definition

Initializes a new instance of TestFailoverJobDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.TestFailoverJobDetails TestFailoverJobDetails (System.Collections.Generic.IReadOnlyDictionary<string,string> affectedObjectDetails = default, string testFailoverStatus = default, string comments = default, string networkName = default, string networkFriendlyName = default, string networkType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.FailoverReplicationProtectedItemDetails> protectedItemDetails = default);
static member TestFailoverJobDetails : System.Collections.Generic.IReadOnlyDictionary<string, string> * string * string * string * string * string * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.FailoverReplicationProtectedItemDetails> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.TestFailoverJobDetails
Public Shared Function TestFailoverJobDetails (Optional affectedObjectDetails As IReadOnlyDictionary(Of String, String) = Nothing, Optional testFailoverStatus As String = Nothing, Optional comments As String = Nothing, Optional networkName As String = Nothing, Optional networkFriendlyName As String = Nothing, Optional networkType As String = Nothing, Optional protectedItemDetails As IEnumerable(Of FailoverReplicationProtectedItemDetails) = Nothing) As TestFailoverJobDetails

Parameters

affectedObjectDetails
IReadOnlyDictionary<String,String>

The affected object properties like source server, source cloud, target server, target cloud etc. based on the workflow object details.

testFailoverStatus
String

The test failover status.

comments
String

The test failover comments.

networkName
String

The test network name.

networkFriendlyName
String

The test network friendly name.

networkType
String

The test network type (see TestFailoverInput enum for possible values).

protectedItemDetails
IEnumerable<FailoverReplicationProtectedItemDetails>

The test VM details.

Returns

A new TestFailoverJobDetails instance for mocking.

Applies to