Freigeben über


ArmRecoveryServicesBackupModelFactory.BackupProtectionContainerData Methode

Definition

Initialisiert eine neue instance von BackupProtectionContainerData.

public static Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionContainerData BackupProtectionContainerData (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.BackupGenericProtectionContainer properties = default, Azure.ETag? eTag = default);
static member BackupProtectionContainerData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.RecoveryServicesBackup.Models.BackupGenericProtectionContainer * Nullable<Azure.ETag> -> Azure.ResourceManager.RecoveryServicesBackup.BackupProtectionContainerData
Public Shared Function BackupProtectionContainerData (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 BackupGenericProtectionContainer = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As BackupProtectionContainerData

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
BackupGenericProtectionContainer

ProtectionContainerResource-Eigenschaften Beachten Sie, dass BackupGenericProtectionContainer 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 BackupServerContainer, SqlContainer, WorkloadContainer, GenericContainerDpmContainer, , IaasVmContainer, IaasClassicComputeVmContainer, IaasComputeVmContainer, , SqlAvailabilityGroupWorkloadProtectionContainer, StorageContainerund VmAppContainerProtectionContainerMabContainer.

eTag
Nullable<ETag>

Optionales ETag.

Gibt zurück

Eine neue BackupProtectionContainerData instance zum Mocking.

Gilt für: