ArmRecoveryServicesDataReplicationModelFactory.DataReplicationPolicyProperties 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 DataReplicationPolicyProperties.
public static Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationPolicyProperties DataReplicationPolicyProperties (Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationProvisioningState? provisioningState = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.PolicyModelCustomProperties customProperties = default);
static member DataReplicationPolicyProperties : Nullable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationProvisioningState> * Azure.ResourceManager.RecoveryServicesDataReplication.Models.PolicyModelCustomProperties -> Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationPolicyProperties
Public Shared Function DataReplicationPolicyProperties (Optional provisioningState As Nullable(Of DataReplicationProvisioningState) = Nothing, Optional customProperties As PolicyModelCustomProperties = Nothing) As DataReplicationPolicyProperties
Parameters
- provisioningState
- Nullable<DataReplicationProvisioningState>
Gets or sets the provisioning state of the policy.
- customProperties
- PolicyModelCustomProperties
Policy model custom properties. Please note PolicyModelCustomProperties 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 HyperVToAzStackHciPolicyModelCustomProperties, GeneralPolicyModelCustomProperties and VMwareToAzStackHciPolicyModelCustomProperties.
Returns
A new DataReplicationPolicyProperties instance for mocking.
Applies to
Azure SDK for .NET