Freigeben über


ResourceManagerModelFactory.GenericResourceData Methode

Definition

Initialisiert eine neue instance von GenericResourceData.

public static Azure.ResourceManager.Resources.GenericResourceData GenericResourceData (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.Resources.Models.ExtendedLocation extendedLocation = default, Azure.ResourceManager.Models.ArmPlan plan = default, BinaryData properties = default, string kind = default, string managedBy = default, Azure.ResourceManager.Resources.Models.ResourcesSku sku = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, DateTimeOffset? createdOn = default, DateTimeOffset? changedOn = default, string provisioningState = default);
static member GenericResourceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Resources.Models.ExtendedLocation * Azure.ResourceManager.Models.ArmPlan * BinaryData * string * string * Azure.ResourceManager.Resources.Models.ResourcesSku * Azure.ResourceManager.Models.ManagedServiceIdentity * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.Resources.GenericResourceData
Public Shared Function GenericResourceData (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 extendedLocation As ExtendedLocation = Nothing, Optional plan As ArmPlan = Nothing, Optional properties As BinaryData = Nothing, Optional kind As String = Nothing, Optional managedBy As String = Nothing, Optional sku As ResourcesSku = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional changedOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As String = Nothing) As GenericResourceData

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.

extendedLocation
ExtendedLocation

Erweiterter Standort der Ressource.

plan
ArmPlan

Der Plan der Ressource.

properties
BinaryData

Die Ressourceneigenschaften.

kind
String

Die Art der Ressource.

managedBy
String

ID der Ressource, die diese Ressource verwaltet.

sku
ResourcesSku

Die SKU der Ressource.

identity
ManagedServiceIdentity

Die Identität der Ressource.

createdOn
Nullable<DateTimeOffset>

Die Erstellungszeit der Ressource. Dies ist nur vorhanden, wenn sie über den abfrageparameter $expand angefordert wird.

changedOn
Nullable<DateTimeOffset>

Die geänderte Zeit der Ressource. Dies ist nur vorhanden, wenn sie über den abfrageparameter $expand angefordert wird.

provisioningState
String

Der Bereitstellungsstatus der Ressource. Dies ist nur vorhanden, wenn sie über den abfrageparameter $expand angefordert wird.

Gibt zurück

Eine neue GenericResourceData instance zum Simulieren.

Gilt für: