DataReplicationPolicyProperties(PolicyModelCustomProperties) Constructor

Definition

Initializes a new instance of DataReplicationPolicyProperties.

public DataReplicationPolicyProperties (Azure.ResourceManager.RecoveryServicesDataReplication.Models.PolicyModelCustomProperties customProperties);
new Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationPolicyProperties : Azure.ResourceManager.RecoveryServicesDataReplication.Models.PolicyModelCustomProperties -> Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationPolicyProperties
Public Sub New (customProperties As PolicyModelCustomProperties)

Parameters

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.

Exceptions

customProperties is null.

Applies to