Freigeben über


ArmConsumptionModelFactory.ConsumptionUsageDetail Methode

Definition

Initialisiert eine neue instance von ConsumptionUsageDetail.

public static Azure.ResourceManager.Consumption.Models.ConsumptionUsageDetail ConsumptionUsageDetail (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string kind = "Unknown", Azure.ETag? etag = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default);
static member ConsumptionUsageDetail : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ETag> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.Consumption.Models.ConsumptionUsageDetail
Public Shared Function ConsumptionUsageDetail (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional kind As String = "Unknown", Optional etag As Nullable(Of ETag) = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing) As ConsumptionUsageDetail

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemData.

kind
String

Gibt die Art der Verwendungsdetails an. Serialisierter Name: UsageDetail.kind

etag
Nullable<ETag>

Das etag für die Ressource. Serialisierter Name: Resource.etag

tags
IReadOnlyDictionary<String,String>

Ressourcentags. Serialisierter Name: Resource.tags

Gibt zurück

Eine neue ConsumptionUsageDetail instance zum Simulieren.

Gilt für: