Partilhar via


A2ACreateProtectionIntentContent Construtor

Definição

Inicializa uma nova instância de A2ACreateProtectionIntentContent.

public A2ACreateProtectionIntentContent (Azure.Core.ResourceIdentifier fabricObjectId, Azure.Core.AzureLocation primaryLocation, Azure.Core.AzureLocation recoveryLocation, string recoverySubscriptionId, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2ARecoveryAvailabilityType recoveryAvailabilityType, Azure.Core.ResourceIdentifier recoveryResourceGroupId);
new Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2ACreateProtectionIntentContent : Azure.Core.ResourceIdentifier * Azure.Core.AzureLocation * Azure.Core.AzureLocation * string * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2ARecoveryAvailabilityType * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2ACreateProtectionIntentContent
Public Sub New (fabricObjectId As ResourceIdentifier, primaryLocation As AzureLocation, recoveryLocation As AzureLocation, recoverySubscriptionId As String, recoveryAvailabilityType As A2ARecoveryAvailabilityType, recoveryResourceGroupId As ResourceIdentifier)

Parâmetros

fabricObjectId
ResourceIdentifier

A ID de objeto específica da malha da máquina virtual.

primaryLocation
AzureLocation

O local principal da máquina virtual.

recoveryLocation
AzureLocation

O local de recuperação da máquina virtual.

recoverySubscriptionId
String

A ID da assinatura de recuperação da máquina virtual.

recoveryAvailabilityType
A2ARecoveryAvailabilityType

O tipo de disponibilidade de recuperação da máquina virtual.

recoveryResourceGroupId
ResourceIdentifier

A ID do grupo de recursos de recuperação. Válida para cenários V2.

Exceções

fabricObjectId, recoverySubscriptionId ou recoveryResourceGroupId é nulo.

Aplica-se a