ResourceManagerModelFactory.GenericResourceData Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de 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
Paramètres
ID.
- name
- String
Nom.
- resourceType
- ResourceType
ResourceType.
- systemData
- SystemData
SystemData.
- tags
- IDictionary<String,String>
Balises.
- location
- AzureLocation
Emplacement.
- extendedLocation
- ExtendedLocation
Emplacement étendu de la ressource.
- plan
- ArmPlan
Plan de la ressource.
- properties
- BinaryData
Propriétés de la ressource.
- kind
- String
Type de ressource.
- managedBy
- String
ID de la ressource qui gère cette ressource.
- sku
- ResourcesSku
Référence SKU de la ressource.
- identity
- ManagedServiceIdentity
Identité de la ressource.
- createdOn
- Nullable<DateTimeOffset>
Heure de création de la ressource. Cela n’est présent que si demandé via le paramètre de requête $expand.
- changedOn
- Nullable<DateTimeOffset>
Heure modifiée de la ressource. Cela n’est présent que si demandé via le paramètre de requête $expand.
- provisioningState
- String
État d’approvisionnement de la ressource. Cela n’est présent que si demandé via le paramètre de requête $expand.
Retours
Une nouvelle GenericResourceData instance pour se moquer.
S’applique à
Azure SDK for .NET