Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.A2AReplicationIntentDetails Method

Definition

Initializes a new instance of A2AReplicationIntentDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AReplicationIntentDetails A2AReplicationIntentDetails (Azure.Core.ResourceIdentifier fabricObjectId = default, Azure.Core.AzureLocation? primaryLocation = default, Azure.Core.AzureLocation? recoveryLocation = default, string recoverySubscriptionId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AProtectionIntentDiskDetails> vmDisks = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AProtectionIntentManagedDiskDetails> vmManagedDisks = default, Azure.Core.ResourceIdentifier recoveryResourceGroupId = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ProtectionProfileCustomDetails protectionProfile = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.StorageAccountCustomDetails primaryStagingStorageAccount = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryAvailabilitySetCustomDetails recoveryAvailabilitySet = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryVirtualNetworkCustomDetails recoveryVirtualNetwork = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryProximityPlacementGroupCustomDetails recoveryProximityPlacementGroup = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutoProtectionOfDataDisk? autoProtectionOfDataDisk = default, string multiVmGroupName = default, string multiVmGroupId = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.StorageAccountCustomDetails recoveryBootDiagStorageAccount = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskEncryptionInfo diskEncryptionInfo = default, string recoveryAvailabilityZone = default, string recoveryAvailabilityType = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryAgentAutoUpdateStatus? agentAutoUpdateStatus = default, Azure.Core.ResourceIdentifier automationAccountArmId = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutomationAccountAuthenticationType? automationAccountAuthenticationType = default);
static member A2AReplicationIntentDetails : Azure.Core.ResourceIdentifier * Nullable<Azure.Core.AzureLocation> * Nullable<Azure.Core.AzureLocation> * string * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AProtectionIntentDiskDetails> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AProtectionIntentManagedDiskDetails> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ProtectionProfileCustomDetails * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.StorageAccountCustomDetails * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryAvailabilitySetCustomDetails * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryVirtualNetworkCustomDetails * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryProximityPlacementGroupCustomDetails * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutoProtectionOfDataDisk> * string * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.StorageAccountCustomDetails * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskEncryptionInfo * string * string * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryAgentAutoUpdateStatus> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutomationAccountAuthenticationType> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AReplicationIntentDetails
Public Shared Function A2AReplicationIntentDetails (Optional fabricObjectId As ResourceIdentifier = Nothing, Optional primaryLocation As Nullable(Of AzureLocation) = Nothing, Optional recoveryLocation As Nullable(Of AzureLocation) = Nothing, Optional recoverySubscriptionId As String = Nothing, Optional vmDisks As IEnumerable(Of A2AProtectionIntentDiskDetails) = Nothing, Optional vmManagedDisks As IEnumerable(Of A2AProtectionIntentManagedDiskDetails) = Nothing, Optional recoveryResourceGroupId As ResourceIdentifier = Nothing, Optional protectionProfile As ProtectionProfileCustomDetails = Nothing, Optional primaryStagingStorageAccount As StorageAccountCustomDetails = Nothing, Optional recoveryAvailabilitySet As RecoveryAvailabilitySetCustomDetails = Nothing, Optional recoveryVirtualNetwork As RecoveryVirtualNetworkCustomDetails = Nothing, Optional recoveryProximityPlacementGroup As RecoveryProximityPlacementGroupCustomDetails = Nothing, Optional autoProtectionOfDataDisk As Nullable(Of AutoProtectionOfDataDisk) = Nothing, Optional multiVmGroupName As String = Nothing, Optional multiVmGroupId As String = Nothing, Optional recoveryBootDiagStorageAccount As StorageAccountCustomDetails = Nothing, Optional diskEncryptionInfo As SiteRecoveryDiskEncryptionInfo = Nothing, Optional recoveryAvailabilityZone As String = Nothing, Optional recoveryAvailabilityType As String = Nothing, Optional agentAutoUpdateStatus As Nullable(Of SiteRecoveryAgentAutoUpdateStatus) = Nothing, Optional automationAccountArmId As ResourceIdentifier = Nothing, Optional automationAccountAuthenticationType As Nullable(Of AutomationAccountAuthenticationType) = Nothing) As A2AReplicationIntentDetails

Parameters

fabricObjectId
ResourceIdentifier

The fabric specific object Id of the virtual machine.

primaryLocation
Nullable<AzureLocation>

The primary location for the virtual machine.

recoveryLocation
Nullable<AzureLocation>

The recovery location for the virtual machine.

recoverySubscriptionId
String

The recovery subscription Id of the virtual machine.

vmDisks
IEnumerable<A2AProtectionIntentDiskDetails>

The list of vm disk details.

vmManagedDisks
IEnumerable<A2AProtectionIntentManagedDiskDetails>

The list of vm managed disk details.

recoveryResourceGroupId
ResourceIdentifier

The recovery resource group id.

protectionProfile
ProtectionProfileCustomDetails

The protection profile custom details. Please note ProtectionProfileCustomDetails 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 ExistingProtectionProfile and NewProtectionProfile.

primaryStagingStorageAccount
StorageAccountCustomDetails

The primary staging storage account details. Please note StorageAccountCustomDetails 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 ExistingStorageAccount.

recoveryAvailabilitySet
RecoveryAvailabilitySetCustomDetails

The recovery availability set details. Please note RecoveryAvailabilitySetCustomDetails 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 ExistingRecoveryAvailabilitySet.

recoveryVirtualNetwork
RecoveryVirtualNetworkCustomDetails

The recovery virtual network details. Please note RecoveryVirtualNetworkCustomDetails 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 ExistingRecoveryVirtualNetwork and NewRecoveryVirtualNetwork.

recoveryProximityPlacementGroup
RecoveryProximityPlacementGroupCustomDetails

The recovery proximity placement group custom details. Please note RecoveryProximityPlacementGroupCustomDetails 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 ExistingRecoveryProximityPlacementGroup.

autoProtectionOfDataDisk
Nullable<AutoProtectionOfDataDisk>

A value indicating whether the auto protection is enabled.

multiVmGroupName
String

The multi vm group name.

multiVmGroupId
String

The multi vm group id.

recoveryBootDiagStorageAccount
StorageAccountCustomDetails

The boot diagnostic storage account. Please note StorageAccountCustomDetails 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 ExistingStorageAccount.

diskEncryptionInfo
SiteRecoveryDiskEncryptionInfo

The recovery disk encryption information (for two pass flows).

recoveryAvailabilityZone
String

The recovery availability zone.

recoveryAvailabilityType
String

The recovery availability type of the virtual machine.

agentAutoUpdateStatus
Nullable<SiteRecoveryAgentAutoUpdateStatus>

A value indicating whether the auto update is enabled.

automationAccountArmId
ResourceIdentifier

The automation account arm id.

automationAccountAuthenticationType
Nullable<AutomationAccountAuthenticationType>

A value indicating the type authentication to use for automation Account.

Returns

A new A2AReplicationIntentDetails instance for mocking.

Applies to