共用方式為


ArmRecoveryServicesSiteRecoveryModelFactory.A2ACrossClusterMigrationReplicationDetails Method

Definition

Initializes a new instance of A2ACrossClusterMigrationReplicationDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2ACrossClusterMigrationReplicationDetails A2ACrossClusterMigrationReplicationDetails (Azure.Core.ResourceIdentifier fabricObjectId = default, Azure.Core.AzureLocation? primaryFabricLocation = default, string osType = default, string vmProtectionState = default, string vmProtectionStateDescription = default, string lifecycleId = default);
static member A2ACrossClusterMigrationReplicationDetails : Azure.Core.ResourceIdentifier * Nullable<Azure.Core.AzureLocation> * string * string * string * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2ACrossClusterMigrationReplicationDetails
Public Shared Function A2ACrossClusterMigrationReplicationDetails (Optional fabricObjectId As ResourceIdentifier = Nothing, Optional primaryFabricLocation As Nullable(Of AzureLocation) = Nothing, Optional osType As String = Nothing, Optional vmProtectionState As String = Nothing, Optional vmProtectionStateDescription As String = Nothing, Optional lifecycleId As String = Nothing) As A2ACrossClusterMigrationReplicationDetails

Parameters

fabricObjectId
ResourceIdentifier

The fabric specific object Id of the virtual machine.

primaryFabricLocation
Nullable<AzureLocation>

Primary fabric location.

osType
String

The type of operating system.

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.

Returns

A new A2ACrossClusterMigrationReplicationDetails instance for mocking.

Applies to