ArmRecoveryServicesDataReplicationModelFactory.DataReplicationDraProperties 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 DataReplicationDraProperties.
public static Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationDraProperties DataReplicationDraProperties (string correlationId = default, string machineId = default, string machineName = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationIdentity authenticationIdentity = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationIdentity resourceAccessIdentity = default, bool? isResponsive = default, DateTimeOffset? lastHeartbeatOn = default, string versionNumber = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationHealthErrorInfo> healthErrors = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DraModelCustomProperties customProperties = default);
static member DataReplicationDraProperties : string * string * string * Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationIdentity * Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationIdentity * Nullable<bool> * Nullable<DateTimeOffset> * string * Nullable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationProvisioningState> * seq<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationHealthErrorInfo> * Azure.ResourceManager.RecoveryServicesDataReplication.Models.DraModelCustomProperties -> Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationDraProperties
Public Shared Function DataReplicationDraProperties (Optional correlationId As String = Nothing, Optional machineId As String = Nothing, Optional machineName As String = Nothing, Optional authenticationIdentity As DataReplicationIdentity = Nothing, Optional resourceAccessIdentity As DataReplicationIdentity = Nothing, Optional isResponsive As Nullable(Of Boolean) = Nothing, Optional lastHeartbeatOn As Nullable(Of DateTimeOffset) = Nothing, Optional versionNumber As String = Nothing, Optional provisioningState As Nullable(Of DataReplicationProvisioningState) = Nothing, Optional healthErrors As IEnumerable(Of DataReplicationHealthErrorInfo) = Nothing, Optional customProperties As DraModelCustomProperties = Nothing) As DataReplicationDraProperties
Parameters
- correlationId
- String
Gets or sets the Dra correlation Id.
- 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.
- lastHeartbeatOn
- Nullable<DateTimeOffset>
Gets or sets the time when last heartbeat was sent by the Dra.
- versionNumber
- String
Gets or sets the Dra version.
- provisioningState
- Nullable<DataReplicationProvisioningState>
Gets or sets the provisioning state of the Dra.
- healthErrors
- IEnumerable<DataReplicationHealthErrorInfo>
Gets or sets the list of health errors.
- 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.
Returns
A new DataReplicationDraProperties instance for mocking.
Applies to
Azure SDK for .NET