Freigeben über


ArmRecoveryServicesBackupModelFactory.BackupProtectionIntentData Methode

Definition

Initialisiert eine neue instance von BackupProtectionIntentData.

public static Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionIntentData BackupProtectionIntentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.RecoveryServicesBackup.Models.BackupGenericProtectionIntent properties = default, Azure.ETag? eTag = default);
static member BackupProtectionIntentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.RecoveryServicesBackup.Models.BackupGenericProtectionIntent * Nullable<Azure.ETag> -> Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionIntentData
Public Shared Function BackupProtectionIntentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional properties As BackupGenericProtectionIntent = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As BackupProtectionIntentData

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemDaten.

tags
IDictionary<String,String>

Die Tags.

location
AzureLocation

Der Speicherort.

properties
BackupGenericProtectionIntent

ProtectionIntentResource-Eigenschaften Bitte beachten Sie, dass BackupGenericProtectionIntent es sich um die Basisklasse handelt. Je nach Szenario muss hier möglicherweise eine abgeleitete Klasse der Basisklasse zugewiesen werden, oder diese Eigenschaft muss in eine der möglichen abgeleiteten Klassen umgewandelt werden. Die verfügbaren abgeleiteten Klassen sind ResourceProtectionIntent, WorkloadAutoProtectionIntent, WorkloadContainerAutoProtectionIntentund WorkloadSqlAutoProtectionIntentRecoveryServiceVaultProtectionIntent.

eTag
Nullable<ETag>

Optionales ETag.

Gibt zurück

Eine neue BackupProtectionIntentData instance zum Mocking.

Gilt für: