Freigeben über


ProtectionIntent Konstruktoren

Definition

Überlädt

ProtectionIntent()

Initialisiert eine neue instance der ProtectionIntent-Klasse.

ProtectionIntent(String, String, String, String, String)

Initialisiert eine neue instance der ProtectionIntent-Klasse.

ProtectionIntent()

Initialisiert eine neue instance der ProtectionIntent-Klasse.

public ProtectionIntent();
Public Sub New ()

Gilt für:

ProtectionIntent(String, String, String, String, String)

Initialisiert eine neue instance der ProtectionIntent-Klasse.

public ProtectionIntent(string backupManagementType = default, string sourceResourceId = default, string itemId = default, string policyId = default, string protectionState = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionIntent : string * string * string * string * string -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionIntent
Public Sub New (Optional backupManagementType As String = Nothing, Optional sourceResourceId As String = Nothing, Optional itemId As String = Nothing, Optional policyId As String = Nothing, Optional protectionState As String = Nothing)

Parameter

backupManagementType
String

Typ der Sicherungsverwaltung für das gesicherte Element. Mögliche Werte: "Invalid", "AzureIaasVM", "MAB", "DPM", "AzureBackupServer", "AzureSql", "AzureStorage", "AzureWorkload", "DefaultBackup"

sourceResourceId
String

ARM-ID der zu sichernden Ressource.

itemId
String

ID des Elements, das geschützt wird. Im Fall eines virtuellen Azure-Computers ist dies ProtectedItemId.

policyId
String

ID der Sicherungsrichtlinie, mit der dieses Element gesichert wird.

protectionState
String

Sicherungsstatus dieses Sicherungselements. Mögliche Werte: "Invalid", "NotProtected", "Protecting", "Protected", "ProtectionFailed"

Gilt für: