Compartilhar via


ArmConsumptionModelFactory.ConsumptionLotSummary Método

Definição

Inicializa uma nova instância de 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

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

originalAmount
ConsumptionAmount

A quantidade original de muita coisa. Nome serializado: LotSummary.properties.originalAmount

closedBalance
ConsumptionAmount

O saldo da última fatura. Nome serializado: LotSummary.properties.closedBalance

source
Nullable<ConsumptionLotSource>

A fonte do lote. Nome serializado: LotSummary.properties.source

startOn
Nullable<DateTimeOffset>

A data em que o lote entrou em vigor. Nome serializado: LotSummary.properties.startDate

expireOn
Nullable<DateTimeOffset>

A data de validade de muita coisa. Nome serializado: LotSummary.properties.expirationDate

poNumber
String

O número po da fatura na qual o lote foi adicionado. Essa propriedade não está disponível para lotes ConsumptionCommitment. Nome serializado: LotSummary.properties.poNumber

purchasedOn
Nullable<DateTimeOffset>

A data em que o lote foi adicionado. Nome serializado: LotSummary.properties.purchasedDate

status
Nullable<ConsumptionLotStatus>

O status do lote. Nome serializado: LotSummary.properties. status

creditCurrency
String

A moeda do lote. Nome serializado: LotSummary.properties.creditCurrency

billingCurrency
String

A moeda de cobrança do lote. Nome serializado: LotSummary.properties.billingCurrency

originalAmountInBillingCurrency
ConsumptionAmountWithExchangeRate

A quantidade original de muito em moeda de cobrança. Nome serializado: LotSummary.properties.originalAmountInBillingCurrency

closedBalanceInBillingCurrency
ConsumptionAmountWithExchangeRate

O saldo a partir da última fatura na moeda de cobrança. Nome serializado: LotSummary.properties.closedBalanceInBillingCurrency

reseller
ConsumptionReseller

O revendedor do lote. Nome serializado: LotSummary.properties.reseller

etag
Nullable<ETag>

eTag do recurso. Para lidar com o cenário de atualização simultânea, esse campo será usado para determinar se o usuário está atualizando a versão mais recente ou não. Nome serializado: ProxyResource.eTag

Retornos

Uma nova ConsumptionLotSummary instância para simulação.

Aplica-se a