DataReplicationDraProperties Constructor
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 DataReplicationDraProperties.
public DataReplicationDraProperties (string machineId, string machineName, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationIdentity authenticationIdentity, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationIdentity resourceAccessIdentity, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DraModelCustomProperties customProperties);
new Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationDraProperties : string * string * Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationIdentity * Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationIdentity * Azure.ResourceManager.RecoveryServicesDataReplication.Models.DraModelCustomProperties -> Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationDraProperties
Public Sub New (machineId As String, machineName As String, authenticationIdentity As DataReplicationIdentity, resourceAccessIdentity As DataReplicationIdentity, customProperties As DraModelCustomProperties)
Parameters
- machineId
- String
Gets or sets the machine Id where Dra is running.
- machineName
- String
Gets or sets the machine name where Dra is running.
- authenticationIdentity
- DataReplicationIdentity
Identity model.
- resourceAccessIdentity
- DataReplicationIdentity
Identity model.
- customProperties
- DraModelCustomProperties
Dra model custom properties. Please note DraModelCustomProperties 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 GeneralDraModelCustomProperties and VMwareDraModelCustomProperties.
Exceptions
machineId
, machineName
, authenticationIdentity
, resourceAccessIdentity
or customProperties
is null.
Applies to
Azure SDK for .NET