Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.A2AReplicationDetails Method

Definition

Initializes a new instance of A2AReplicationDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AReplicationDetails A2AReplicationDetails (Azure.Core.ResourceIdentifier fabricObjectId = default, string initialPrimaryZone = default, Azure.Core.AzureLocation? initialPrimaryFabricLocation = default, string initialRecoveryZone = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryExtendedLocation initialPrimaryExtendedLocation = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryExtendedLocation initialRecoveryExtendedLocation = default, Azure.Core.AzureLocation? initialRecoveryFabricLocation = default, string multiVmGroupId = default, string multiVmGroupName = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MultiVmGroupCreateOption? multiVmGroupCreateOption = default, string managementId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AProtectedDiskDetails> protectedDisks = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AUnprotectedDiskDetails> unprotectedDisks = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AProtectedManagedDiskDetails> protectedManagedDisks = default, Azure.Core.ResourceIdentifier recoveryBootDiagStorageAccountId = default, Azure.Core.AzureLocation? primaryFabricLocation = default, Azure.Core.AzureLocation? recoveryFabricLocation = default, string osType = default, string recoveryAzureVmSize = default, string recoveryAzureVmName = default, Azure.Core.ResourceIdentifier recoveryAzureResourceGroupId = default, string recoveryCloudService = default, string recoveryAvailabilitySet = default, Azure.Core.ResourceIdentifier selectedRecoveryAzureNetworkId = default, Azure.Core.ResourceIdentifier selectedTfoAzureNetworkId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmNicDetails> vmNics = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AVmSyncedConfigDetails vmSyncedConfigDetails = default, int? monitoringPercentageCompletion = default, string monitoringJobType = default, DateTimeOffset? lastHeartbeat = default, string agentVersion = default, DateTimeOffset? agentExpireOn = default, bool? isReplicationAgentUpdateRequired = default, DateTimeOffset? agentCertificateExpireOn = default, bool? isReplicationAgentCertificateUpdateRequired = default, Azure.Core.ResourceIdentifier recoveryFabricObjectId = default, string vmProtectionState = default, string vmProtectionStateDescription = default, string lifecycleId = default, Azure.Core.ResourceIdentifier testFailoverRecoveryFabricObjectId = default, long? rpoInSeconds = default, DateTimeOffset? lastRpoCalculatedOn = default, string primaryAvailabilityZone = default, string recoveryAvailabilityZone = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryExtendedLocation primaryExtendedLocation = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryExtendedLocation recoveryExtendedLocation = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVmEncryptionType? vmEncryptionType = default, string tfoAzureVmName = default, string recoveryAzureGeneration = default, Azure.Core.ResourceIdentifier recoveryProximityPlacementGroupId = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutoProtectionOfDataDisk? autoProtectionOfDataDisk = default, Azure.Core.ResourceIdentifier recoveryVirtualMachineScaleSetId = default, Azure.Core.ResourceIdentifier recoveryCapacityReservationGroupId = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ChurnOptionSelected? churnOptionSelected = default);
static member A2AReplicationDetails : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.AzureLocation> * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryExtendedLocation * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryExtendedLocation * Nullable<Azure.Core.AzureLocation> * string * string * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MultiVmGroupCreateOption> * string * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AProtectedDiskDetails> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AUnprotectedDiskDetails> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AProtectedManagedDiskDetails> * Azure.Core.ResourceIdentifier * Nullable<Azure.Core.AzureLocation> * Nullable<Azure.Core.AzureLocation> * string * string * string * Azure.Core.ResourceIdentifier * string * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmNicDetails> * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AVmSyncedConfigDetails * Nullable<int> * string * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * Nullable<bool> * Nullable<DateTimeOffset> * Nullable<bool> * Azure.Core.ResourceIdentifier * string * string * string * Azure.Core.ResourceIdentifier * Nullable<int64> * Nullable<DateTimeOffset> * string * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryExtendedLocation * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryExtendedLocation * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVmEncryptionType> * string * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutoProtectionOfDataDisk> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ChurnOptionSelected> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AReplicationDetails
Public Shared Function A2AReplicationDetails (Optional fabricObjectId As ResourceIdentifier = Nothing, Optional initialPrimaryZone As String = Nothing, Optional initialPrimaryFabricLocation As Nullable(Of AzureLocation) = Nothing, Optional initialRecoveryZone As String = Nothing, Optional initialPrimaryExtendedLocation As SiteRecoveryExtendedLocation = Nothing, Optional initialRecoveryExtendedLocation As SiteRecoveryExtendedLocation = Nothing, Optional initialRecoveryFabricLocation As Nullable(Of AzureLocation) = Nothing, Optional multiVmGroupId As String = Nothing, Optional multiVmGroupName As String = Nothing, Optional multiVmGroupCreateOption As Nullable(Of MultiVmGroupCreateOption) = Nothing, Optional managementId As String = Nothing, Optional protectedDisks As IEnumerable(Of A2AProtectedDiskDetails) = Nothing, Optional unprotectedDisks As IEnumerable(Of A2AUnprotectedDiskDetails) = Nothing, Optional protectedManagedDisks As IEnumerable(Of A2AProtectedManagedDiskDetails) = Nothing, Optional recoveryBootDiagStorageAccountId As ResourceIdentifier = Nothing, Optional primaryFabricLocation As Nullable(Of AzureLocation) = Nothing, Optional recoveryFabricLocation As Nullable(Of AzureLocation) = Nothing, Optional osType As String = Nothing, Optional recoveryAzureVmSize As String = Nothing, Optional recoveryAzureVmName As String = Nothing, Optional recoveryAzureResourceGroupId As ResourceIdentifier = Nothing, Optional recoveryCloudService As String = Nothing, Optional recoveryAvailabilitySet As String = Nothing, Optional selectedRecoveryAzureNetworkId As ResourceIdentifier = Nothing, Optional selectedTfoAzureNetworkId As ResourceIdentifier = Nothing, Optional vmNics As IEnumerable(Of VmNicDetails) = Nothing, Optional vmSyncedConfigDetails As A2AVmSyncedConfigDetails = Nothing, Optional monitoringPercentageCompletion As Nullable(Of Integer) = Nothing, Optional monitoringJobType As String = Nothing, Optional lastHeartbeat As Nullable(Of DateTimeOffset) = Nothing, Optional agentVersion As String = Nothing, Optional agentExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional isReplicationAgentUpdateRequired As Nullable(Of Boolean) = Nothing, Optional agentCertificateExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional isReplicationAgentCertificateUpdateRequired As Nullable(Of Boolean) = Nothing, Optional recoveryFabricObjectId As ResourceIdentifier = Nothing, Optional vmProtectionState As String = Nothing, Optional vmProtectionStateDescription As String = Nothing, Optional lifecycleId As String = Nothing, Optional testFailoverRecoveryFabricObjectId As ResourceIdentifier = Nothing, Optional rpoInSeconds As Nullable(Of Long) = Nothing, Optional lastRpoCalculatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional primaryAvailabilityZone As String = Nothing, Optional recoveryAvailabilityZone As String = Nothing, Optional primaryExtendedLocation As SiteRecoveryExtendedLocation = Nothing, Optional recoveryExtendedLocation As SiteRecoveryExtendedLocation = Nothing, Optional vmEncryptionType As Nullable(Of SiteRecoveryVmEncryptionType) = Nothing, Optional tfoAzureVmName As String = Nothing, Optional recoveryAzureGeneration As String = Nothing, Optional recoveryProximityPlacementGroupId As ResourceIdentifier = Nothing, Optional autoProtectionOfDataDisk As Nullable(Of AutoProtectionOfDataDisk) = Nothing, Optional recoveryVirtualMachineScaleSetId As ResourceIdentifier = Nothing, Optional recoveryCapacityReservationGroupId As ResourceIdentifier = Nothing, Optional churnOptionSelected As Nullable(Of ChurnOptionSelected) = Nothing) As A2AReplicationDetails

Parameters

fabricObjectId
ResourceIdentifier

The fabric specific object Id of the virtual machine.

initialPrimaryZone
String

The initial primary availability zone.

initialPrimaryFabricLocation
Nullable<AzureLocation>

The initial primary fabric location.

initialRecoveryZone
String

The initial recovery availability zone.

initialPrimaryExtendedLocation
SiteRecoveryExtendedLocation

The initial primary extended location.

initialRecoveryExtendedLocation
SiteRecoveryExtendedLocation

The initial recovery extended location.

initialRecoveryFabricLocation
Nullable<AzureLocation>

The initial recovery fabric location.

multiVmGroupId
String

The multi vm group Id.

multiVmGroupName
String

The multi vm group name.

multiVmGroupCreateOption
Nullable<MultiVmGroupCreateOption>

Whether Multi VM group is auto created or specified by user.

managementId
String

The management Id.

protectedDisks
IEnumerable<A2AProtectedDiskDetails>

The list of protected disks.

unprotectedDisks
IEnumerable<A2AUnprotectedDiskDetails>

The list of unprotected disks.

protectedManagedDisks
IEnumerable<A2AProtectedManagedDiskDetails>

The list of protected managed disks.

recoveryBootDiagStorageAccountId
ResourceIdentifier

The recovery boot diagnostic storage account Arm Id.

primaryFabricLocation
Nullable<AzureLocation>

Primary fabric location.

recoveryFabricLocation
Nullable<AzureLocation>

The recovery fabric location.

osType
String

The type of operating system.

recoveryAzureVmSize
String

The size of recovery virtual machine.

recoveryAzureVmName
String

The name of recovery virtual machine.

recoveryAzureResourceGroupId
ResourceIdentifier

The recovery resource group.

recoveryCloudService
String

The recovery cloud service.

recoveryAvailabilitySet
String

The recovery availability set.

selectedRecoveryAzureNetworkId
ResourceIdentifier

The recovery virtual network.

selectedTfoAzureNetworkId
ResourceIdentifier

The test failover virtual network.

vmNics
IEnumerable<VmNicDetails>

The virtual machine nic details.

vmSyncedConfigDetails
A2AVmSyncedConfigDetails

The synced configuration details.

monitoringPercentageCompletion
Nullable<Int32>

The percentage of the monitoring job. The type of the monitoring job is defined by MonitoringJobType property.

monitoringJobType
String

The type of the monitoring job. The progress is contained in MonitoringPercentageCompletion property.

lastHeartbeat
Nullable<DateTimeOffset>

The last heartbeat received from the source server.

agentVersion
String

The agent version.

agentExpireOn
Nullable<DateTimeOffset>

Agent expiry date.

isReplicationAgentUpdateRequired
Nullable<Boolean>

A value indicating whether replication agent update is required.

agentCertificateExpireOn
Nullable<DateTimeOffset>

Agent certificate expiry date.

isReplicationAgentCertificateUpdateRequired
Nullable<Boolean>

A value indicating whether agent certificate update is required.

recoveryFabricObjectId
ResourceIdentifier

The recovery fabric object Id.

vmProtectionState
String

The protection state for the vm.

vmProtectionStateDescription
String

The protection state description for the vm.

lifecycleId
String

An id associated with the PE that survives actions like switch protection which change the backing PE/CPE objects internally.The lifecycle id gets carried forward to have a link/continuity in being able to have an Id that denotes the "same" protected item even though other internal Ids/ARM Id might be changing.

testFailoverRecoveryFabricObjectId
ResourceIdentifier

The test failover fabric object Id.

rpoInSeconds
Nullable<Int64>

The last RPO value in seconds.

lastRpoCalculatedOn
Nullable<DateTimeOffset>

The time (in UTC) when the last RPO value was calculated by Protection Service.

primaryAvailabilityZone
String

The primary availability zone.

recoveryAvailabilityZone
String

The recovery availability zone.

primaryExtendedLocation
SiteRecoveryExtendedLocation

The primary Extended Location.

recoveryExtendedLocation
SiteRecoveryExtendedLocation

The recovery Extended Location.

vmEncryptionType
Nullable<SiteRecoveryVmEncryptionType>

The encryption type of the VM.

tfoAzureVmName
String

The test failover vm name.

recoveryAzureGeneration
String

The recovery azure generation.

recoveryProximityPlacementGroupId
ResourceIdentifier

The recovery proximity placement group Id.

autoProtectionOfDataDisk
Nullable<AutoProtectionOfDataDisk>

A value indicating whether the auto protection is enabled.

recoveryVirtualMachineScaleSetId
ResourceIdentifier

The recovery virtual machine scale set id.

recoveryCapacityReservationGroupId
ResourceIdentifier

The recovery capacity reservation group Id.

churnOptionSelected
Nullable<ChurnOptionSelected>

A value indicating the churn option selected by user.

Returns

A new A2AReplicationDetails instance for mocking.

Applies to