Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.SwitchProtectionJobDetails Method

Definition

Initializes a new instance of SwitchProtectionJobDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SwitchProtectionJobDetails SwitchProtectionJobDetails (System.Collections.Generic.IReadOnlyDictionary<string,string> affectedObjectDetails = default, Azure.Core.ResourceIdentifier newReplicationProtectedItemId = default);
static member SwitchProtectionJobDetails : System.Collections.Generic.IReadOnlyDictionary<string, string> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SwitchProtectionJobDetails
Public Shared Function SwitchProtectionJobDetails (Optional affectedObjectDetails As IReadOnlyDictionary(Of String, String) = Nothing, Optional newReplicationProtectedItemId As ResourceIdentifier = Nothing) As SwitchProtectionJobDetails

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.

newReplicationProtectedItemId
ResourceIdentifier

ARM Id of the new replication protected item.

Returns

A new SwitchProtectionJobDetails instance for mocking.

Applies to