Freigeben über


ArmConsumptionModelFactory.ConsumptionAggregatedCostResult Methode

Definition

Initialisiert eine neue instance von ConsumptionAggregatedCostResult.

public static Azure.ResourceManager.Consumption.Models.ConsumptionAggregatedCostResult ConsumptionAggregatedCostResult (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string billingPeriodId = default, DateTimeOffset? usageStartOn = default, DateTimeOffset? usageEndOn = default, decimal? azureCharges = default, decimal? marketplaceCharges = default, decimal? chargesBilledSeparately = default, string currency = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Consumption.Models.ConsumptionAggregatedCostResult> children = default, System.Collections.Generic.IEnumerable<string> includedSubscriptions = default, System.Collections.Generic.IEnumerable<string> excludedSubscriptions = default, Azure.ETag? etag = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default);
static member ConsumptionAggregatedCostResult : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * string * seq<Azure.ResourceManager.Consumption.Models.ConsumptionAggregatedCostResult> * seq<string> * seq<string> * Nullable<Azure.ETag> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.Consumption.Models.ConsumptionAggregatedCostResult
Public Shared Function ConsumptionAggregatedCostResult (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional billingPeriodId As String = Nothing, Optional usageStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional usageEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional azureCharges As Nullable(Of Decimal) = Nothing, Optional marketplaceCharges As Nullable(Of Decimal) = Nothing, Optional chargesBilledSeparately As Nullable(Of Decimal) = Nothing, Optional currency As String = Nothing, Optional children As IEnumerable(Of ConsumptionAggregatedCostResult) = Nothing, Optional includedSubscriptions As IEnumerable(Of String) = Nothing, Optional excludedSubscriptions As IEnumerable(Of String) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing) As ConsumptionAggregatedCostResult

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemDaten.

billingPeriodId
String

Die ID der Ressource für den Abrechnungszeitraum, zu der die aggregierten Kosten gehören. Serialisierter Name: ManagementGroupAggregatedCostResult.properties.billingPeriodId

usageStartOn
Nullable<DateTimeOffset>

Der Beginn des Datumszeitbereichs, der von aggregierten Kosten abgedeckt wird. Serialisierter Name: ManagementGroupAggregatedCostResult.properties.usageStart

usageEndOn
Nullable<DateTimeOffset>

Das Ende des Datumszeitbereichs, der von den aggregierten Kosten abgedeckt wird. Serialisierter Name: ManagementGroupAggregatedCostResult.properties.usageEnd

azureCharges
Nullable<Decimal>

Azure-Gebühren. Serialisierter Name: ManagementGroupAggregatedCostResult.properties.azureCharges

marketplaceCharges
Nullable<Decimal>

Marketplace-Gebühren. Serialisierter Name: ManagementGroupAggregatedCostResult.properties.marketplaceCharges

chargesBilledSeparately
Nullable<Decimal>

Gebühren werden separat in Rechnung gestellt. Serialisierter Name: ManagementGroupAggregatedCostResult.properties.chargesBilledSeparately

currency
String

Die ISO-Währung, in der der Zähler berechnet wird, z. B. USD. Serialisierter Name: ManagementGroupAggregatedCostResult.properties.currency

children
IEnumerable<ConsumptionAggregatedCostResult>

Untergeordnete Elemente einer Verwaltungsgruppe serialisierter Name: ManagementGroupAggregatedCostResult.properties.children

includedSubscriptions
IEnumerable<String>

Liste der Abonnement-GUIDs, die in der Berechnung aggregierter Kosten enthalten sind Serialisierter Name: ManagementGroupAggregatedCostResult.properties.includedSubscriptions

excludedSubscriptions
IEnumerable<String>

Liste der Abonnement-GUIDs, die von der Berechnung aggregierter Kosten ausgeschlossen sind Serialisierter Name: ManagementGroupAggregatedCostResult.properties.excludedSubscriptions

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 ConsumptionAggregatedCostResult instance zum Mocking.

Gilt für: