Freigeben über


ArmConsumptionModelFactory.ConsumptionLegacyChargeSummary Methode

Definition

Initialisiert eine neue instance von ConsumptionLegacyChargeSummary.

public static Azure.ResourceManager.Consumption.Models.ConsumptionLegacyChargeSummary ConsumptionLegacyChargeSummary (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ETag? etag = default, string billingPeriodId = default, string usageStart = default, string usageEnd = default, decimal? azureCharges = default, decimal? chargesBilledSeparately = default, decimal? marketplaceCharges = default, string currency = default);
static member ConsumptionLegacyChargeSummary : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ETag> * string * string * string * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * string -> Azure.ResourceManager.Consumption.Models.ConsumptionLegacyChargeSummary
Public Shared Function ConsumptionLegacyChargeSummary (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional billingPeriodId As String = Nothing, Optional usageStart As String = Nothing, Optional usageEnd As String = Nothing, Optional azureCharges As Nullable(Of Decimal) = Nothing, Optional chargesBilledSeparately As Nullable(Of Decimal) = Nothing, Optional marketplaceCharges As Nullable(Of Decimal) = Nothing, Optional currency As String = Nothing) As ConsumptionLegacyChargeSummary

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemDaten.

etag
Nullable<ETag>

eTag der Ressource. Um gleichzeitiges Updateszenario zu behandeln, wird dieses Feld verwendet, um zu bestimmen, ob der Benutzer die neueste Version aktualisiert oder nicht. Serialisierter Name: ProxyResource.eTag

billingPeriodId
String

Die ID der Ressource für den Abrechnungszeitraum, zu der die Gebühr gehört. Serialisierter Name: LegacyChargeSummary.properties.billingPeriodId

usageStart
String

Startdatum der Verwendung. Serialisierter Name: LegacyChargeSummary.properties.usageStart

usageEnd
String

Nutzungsenddatum. Serialisierter Name: LegacyChargeSummary.properties.usageEnd

azureCharges
Nullable<Decimal>

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

chargesBilledSeparately
Nullable<Decimal>

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

marketplaceCharges
Nullable<Decimal>

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

currency
String

Serialisierter Währungscodename: LegacyChargeSummary.properties.currency

Gibt zurück

Eine neue ConsumptionLegacyChargeSummary instance zum Mocking.

Gilt für: