Freigeben über


ArmRecoveryServicesBackupModelFactory.WorkloadItemResource Methode

Definition

Initialisiert eine neue instance von WorkloadItemResource.

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

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemData.

tags
IDictionary<String,String>

Die Tags.

location
AzureLocation

Der Speicherort.

properties
WorkloadItem

WorkloadItemResource-Eigenschaften Beachten Sie, dass WorkloadItem 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 , , VmWorkloadSapAseSystemWorkloadItem, , und VmWorkloadSqlDatabaseWorkloadItemVmWorkloadSqlInstanceWorkloadItem. VmWorkloadSapHanaSystemWorkloadItemVmWorkloadSapHanaDatabaseWorkloadItemVmWorkloadSapAseDatabaseWorkloadItemVmWorkloadItem

eTag
Nullable<ETag>

Optionales ETag.

Gibt zurück

Eine neue WorkloadItemResource instance zum Simulieren.

Gilt für: