Udostępnij za pośrednictwem


ArmRecoveryServicesSiteRecoveryModelFactory.HyperVReplicaReplicationDetails Method

Definition

Initializes a new instance of HyperVReplicaReplicationDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaReplicationDetails HyperVReplicaReplicationDetails (DateTimeOffset? lastReplicatedOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmNicDetails> vmNics = default, string vmId = default, string vmProtectionState = default, string vmProtectionStateDescription = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InitialReplicationDetails initialReplicationDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskDetails> vmDiskDetails = default);
static member HyperVReplicaReplicationDetails : Nullable<DateTimeOffset> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmNicDetails> * string * string * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InitialReplicationDetails * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskDetails> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaReplicationDetails
Public Shared Function HyperVReplicaReplicationDetails (Optional lastReplicatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional vmNics As IEnumerable(Of VmNicDetails) = Nothing, Optional vmId As String = Nothing, Optional vmProtectionState As String = Nothing, Optional vmProtectionStateDescription As String = Nothing, Optional initialReplicationDetails As InitialReplicationDetails = Nothing, Optional vmDiskDetails As IEnumerable(Of SiteRecoveryDiskDetails) = Nothing) As HyperVReplicaReplicationDetails

Parameters

lastReplicatedOn
Nullable<DateTimeOffset>

The Last replication time.

vmNics
IEnumerable<VmNicDetails>

The PE Network details.

vmId
String

The virtual machine Id.

vmProtectionState
String

The protection state for the vm.

vmProtectionStateDescription
String

The protection state description for the vm.

initialReplicationDetails
InitialReplicationDetails

Initial replication details.

vmDiskDetails
IEnumerable<SiteRecoveryDiskDetails>

VM disk details.

Returns

A new HyperVReplicaReplicationDetails instance for mocking.

Applies to