Share via


DataReplicationFabricAgentProperties Constructor

Definition

Initializes a new instance of DataReplicationFabricAgentProperties.

public DataReplicationFabricAgentProperties(string machineId, string machineName, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationIdentity authenticationIdentity, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationIdentity resourceAccessIdentity, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationFabricAgentCustomProperties customProperties);
new Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationFabricAgentProperties : string * string * Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationIdentity * Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationIdentity * Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationFabricAgentCustomProperties -> Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationFabricAgentProperties
Public Sub New (machineId As String, machineName As String, authenticationIdentity As DataReplicationIdentity, resourceAccessIdentity As DataReplicationIdentity, customProperties As DataReplicationFabricAgentCustomProperties)

Parameters

machineId
String

Gets or sets the machine Id where fabric agent is running.

machineName
String

Gets or sets the machine name where fabric agent is running.

authenticationIdentity
DataReplicationIdentity

Identity model.

resourceAccessIdentity
DataReplicationIdentity

Identity model.

customProperties
DataReplicationFabricAgentCustomProperties

Fabric agent model custom properties. Please note DataReplicationFabricAgentCustomProperties 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 VMwareFabricAgentCustomProperties.

Exceptions

machineId, machineName, authenticationIdentity, resourceAccessIdentity or customProperties is null.

Applies to