Freigeben über


ArmConsumptionModelFactory.ConsumptionLotSummary Methode

Definition

Initialisiert eine neue instance von ConsumptionLotSummary.

public static Azure.ResourceManager.Consumption.Models.ConsumptionLotSummary ConsumptionLotSummary (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount originalAmount = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount closedBalance = default, Azure.ResourceManager.Consumption.Models.ConsumptionLotSource? source = default, DateTimeOffset? startOn = default, DateTimeOffset? expireOn = default, string poNumber = default, DateTimeOffset? purchasedOn = default, Azure.ResourceManager.Consumption.Models.ConsumptionLotStatus? status = default, string creditCurrency = default, string billingCurrency = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmountWithExchangeRate originalAmountInBillingCurrency = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmountWithExchangeRate closedBalanceInBillingCurrency = default, Azure.ResourceManager.Consumption.Models.ConsumptionReseller reseller = default, Azure.ETag? etag = default);
static member ConsumptionLotSummary : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * Nullable<Azure.ResourceManager.Consumption.Models.ConsumptionLotSource> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Consumption.Models.ConsumptionLotStatus> * string * string * Azure.ResourceManager.Consumption.Models.ConsumptionAmountWithExchangeRate * Azure.ResourceManager.Consumption.Models.ConsumptionAmountWithExchangeRate * Azure.ResourceManager.Consumption.Models.ConsumptionReseller * Nullable<Azure.ETag> -> Azure.ResourceManager.Consumption.Models.ConsumptionLotSummary
Public Shared Function ConsumptionLotSummary (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional originalAmount As ConsumptionAmount = Nothing, Optional closedBalance As ConsumptionAmount = Nothing, Optional source As Nullable(Of ConsumptionLotSource) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional poNumber As String = Nothing, Optional purchasedOn As Nullable(Of DateTimeOffset) = Nothing, Optional status As Nullable(Of ConsumptionLotStatus) = Nothing, Optional creditCurrency As String = Nothing, Optional billingCurrency As String = Nothing, Optional originalAmountInBillingCurrency As ConsumptionAmountWithExchangeRate = Nothing, Optional closedBalanceInBillingCurrency As ConsumptionAmountWithExchangeRate = Nothing, Optional reseller As ConsumptionReseller = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As ConsumptionLotSummary

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemDaten.

originalAmount
ConsumptionAmount

Die ursprüngliche Menge einer Menge. Serialisierter Name: LotSummary.properties.originalAmount

closedBalance
ConsumptionAmount

Der Saldo seit der letzten Rechnung. Serialisierter Name: LotSummary.properties.closedBalance

source
Nullable<ConsumptionLotSource>

Die Quelle des Loses. Serialisierter Name: LotSummary.properties.source

startOn
Nullable<DateTimeOffset>

Das Datum, an dem das Los wirksam wurde. Serialisierter Name: LotSummary.properties.startDate

expireOn
Nullable<DateTimeOffset>

Das Ablaufdatum einer Menge. Serialisierter Name: LotSummary.properties.expirationDate

poNumber
String

Die Nummer der Rechnung, auf der das Los hinzugefügt wurde. Diese Eigenschaft ist für ConsumptionCommitment-Lots nicht verfügbar. Serialisierter Name: LotSummary.properties.poNumber

purchasedOn
Nullable<DateTimeOffset>

Das Datum, an dem das Los hinzugefügt wurde. Serialisierter Name: LotSummary.properties.purchaseDate

status
Nullable<ConsumptionLotStatus>

Die status des Loses. Serialisierter Name: LotSummary.properties. status

creditCurrency
String

Die Währung des Loses. Serialisierter Name: LotSummary.properties.creditCurrency

billingCurrency
String

Die Abrechnungswährung des Loses. Serialisierter Name: LotSummary.properties.billingCurrency

originalAmountInBillingCurrency
ConsumptionAmountWithExchangeRate

Die ursprüngliche Menge einer Menge in Abrechnungswährung. Serialisierter Name: LotSummary.properties.originalAmountInBillingCurrency

closedBalanceInBillingCurrency
ConsumptionAmountWithExchangeRate

Der Saldo ab der letzten Rechnung in Abrechnungswährung. Serialisierter Name: LotSummary.properties.closedBalanceInBillingCurrency

reseller
ConsumptionReseller

Der Wiederverkäufer des Loses. Serialisierter Name: LotSummary.properties.reseller

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

Gibt zurück

Eine neue ConsumptionLotSummary instance zum Mocking.

Gilt für: