ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryPolicyProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SiteRecoveryPolicyProperties.
public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryPolicyProperties SiteRecoveryPolicyProperties (string friendlyName = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.PolicyProviderSpecificDetails providerSpecificDetails = default);
static member SiteRecoveryPolicyProperties : string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.PolicyProviderSpecificDetails -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryPolicyProperties
Public Shared Function SiteRecoveryPolicyProperties (Optional friendlyName As String = Nothing, Optional providerSpecificDetails As PolicyProviderSpecificDetails = Nothing) As SiteRecoveryPolicyProperties
Parameters
- friendlyName
- String
The FriendlyName.
- providerSpecificDetails
- PolicyProviderSpecificDetails
The ReplicationChannelSetting. Please note PolicyProviderSpecificDetails is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include A2APolicyDetails, HyperVReplicaPolicyDetails, HyperVReplicaBluePolicyDetails, HyperVReplicaAzurePolicyDetails, HyperVReplicaBasePolicyDetails, InMagePolicyDetails, InMageAzureV2PolicyDetails, InMageBasePolicyDetails, InMageRcmPolicyDetails, InMageRcmFailbackPolicyDetails and VMwareCbtPolicyDetails.
Returns
A new SiteRecoveryPolicyProperties instance for mocking.