DataReplicationProtectedItemProperties Constructors
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.
Overloads
| Name | Description |
|---|---|
| DataReplicationProtectedItemProperties(String, String, DataReplicationProtectedItemCustomProperties) |
Initializes a new instance of DataReplicationProtectedItemProperties. |
| DataReplicationProtectedItemProperties(String, String, ProtectedItemModelCustomProperties) |
Initializes a new instance of DataReplicationProtectedItemProperties. |
DataReplicationProtectedItemProperties(String, String, DataReplicationProtectedItemCustomProperties)
Initializes a new instance of DataReplicationProtectedItemProperties.
public DataReplicationProtectedItemProperties(string policyName, string replicationExtensionName, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationProtectedItemCustomProperties customProperties);
new Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationProtectedItemProperties : string * string * Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationProtectedItemCustomProperties -> Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationProtectedItemProperties
Public Sub New (policyName As String, replicationExtensionName As String, customProperties As DataReplicationProtectedItemCustomProperties)
Parameters
- policyName
- String
Gets or sets the policy name.
- replicationExtensionName
- String
Gets or sets the replication extension name.
- customProperties
- DataReplicationProtectedItemCustomProperties
Protected item model custom properties. Please note DataReplicationProtectedItemCustomProperties 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 HyperVToAzStackHciProtectedItemCustomProperties and VMwareToAzStackHciProtectedItemCustomProperties.
Exceptions
policyName, replicationExtensionName or customProperties is null.
Applies to
DataReplicationProtectedItemProperties(String, String, ProtectedItemModelCustomProperties)
Initializes a new instance of DataReplicationProtectedItemProperties.
public DataReplicationProtectedItemProperties(string policyName, string replicationExtensionName, Azure.ResourceManager.RecoveryServicesDataReplication.Models.ProtectedItemModelCustomProperties customProperties);
new Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationProtectedItemProperties : string * string * Azure.ResourceManager.RecoveryServicesDataReplication.Models.ProtectedItemModelCustomProperties -> Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationProtectedItemProperties
Public Sub New (policyName As String, replicationExtensionName As String, customProperties As ProtectedItemModelCustomProperties)
Parameters
- policyName
- String
Gets or sets the policy name.
- replicationExtensionName
- String
Gets or sets the replication extension name.
- customProperties
- ProtectedItemModelCustomProperties
Protected item model custom properties. Please note ProtectedItemModelCustomProperties 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 HyperVToAzStackHciProtectedItemModelCustomProperties, GeneralProtectedItemModelCustomProperties and VMwareToAzStackHciProtectedItemModelCustomProperties.
Exceptions
policyName, replicationExtensionName or customProperties is null.