Freigeben über


A2ACreateProtectionIntentContent Konstruktor

Definition

Initialisiert eine neue instance von 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)

Parameter

fabricObjectId
ResourceIdentifier

Die fabricspezifische Objekt-ID des virtuellen Computers.

primaryLocation
AzureLocation

Der primäre Speicherort für den virtuellen Computer.

recoveryLocation
AzureLocation

Der Wiederherstellungsspeicherort für den virtuellen Computer.

recoverySubscriptionId
String

Die Wiederherstellungsabonnement-ID des virtuellen Computers.

recoveryAvailabilityType
A2ARecoveryAvailabilityType

Der Wiederherstellungsverfügbarkeitstyp des virtuellen Computers.

recoveryResourceGroupId
ResourceIdentifier

Die Id der Wiederherstellungsressourcengruppe. Gültig für V2-Szenarien.

Ausnahmen

fabricObjectId, recoverySubscriptionId oder recoveryResourceGroupId ist NULL.

Gilt für: