Compartilhar via


ArmConsumptionModelFactory.ConsumptionBalanceResult Método

Definição

Inicializa uma nova instância de ConsumptionBalanceResult.

public static Azure.ResourceManager.Consumption.Models.ConsumptionBalanceResult ConsumptionBalanceResult (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string currency = default, decimal? beginningBalance = default, decimal? endingBalance = default, decimal? newPurchases = default, decimal? adjustments = default, decimal? utilized = default, decimal? serviceOverage = default, decimal? chargesBilledSeparately = default, decimal? totalOverage = default, decimal? totalUsage = default, decimal? azureMarketplaceServiceCharges = default, Azure.ResourceManager.Consumption.Models.ConsumptionBillingFrequency? billingFrequency = default, bool? isPriceHidden = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Consumption.Models.ConsumptionBalanceNewPurchasesDetail> newPurchasesDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Consumption.Models.ConsumptionBalanceAdjustmentDetail> adjustmentDetails = default, Azure.ETag? etag = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default);
static member ConsumptionBalanceResult : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<decimal> * Nullable<Azure.ResourceManager.Consumption.Models.ConsumptionBillingFrequency> * Nullable<bool> * seq<Azure.ResourceManager.Consumption.Models.ConsumptionBalanceNewPurchasesDetail> * seq<Azure.ResourceManager.Consumption.Models.ConsumptionBalanceAdjustmentDetail> * Nullable<Azure.ETag> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.Consumption.Models.ConsumptionBalanceResult
Public Shared Function ConsumptionBalanceResult (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional currency As String = Nothing, Optional beginningBalance As Nullable(Of Decimal) = Nothing, Optional endingBalance As Nullable(Of Decimal) = Nothing, Optional newPurchases As Nullable(Of Decimal) = Nothing, Optional adjustments As Nullable(Of Decimal) = Nothing, Optional utilized As Nullable(Of Decimal) = Nothing, Optional serviceOverage As Nullable(Of Decimal) = Nothing, Optional chargesBilledSeparately As Nullable(Of Decimal) = Nothing, Optional totalOverage As Nullable(Of Decimal) = Nothing, Optional totalUsage As Nullable(Of Decimal) = Nothing, Optional azureMarketplaceServiceCharges As Nullable(Of Decimal) = Nothing, Optional billingFrequency As Nullable(Of ConsumptionBillingFrequency) = Nothing, Optional isPriceHidden As Nullable(Of Boolean) = Nothing, Optional newPurchasesDetails As IEnumerable(Of ConsumptionBalanceNewPurchasesDetail) = Nothing, Optional adjustmentDetails As IEnumerable(Of ConsumptionBalanceAdjustmentDetail) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing) As ConsumptionBalanceResult

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

currency
String

A moeda ISO na qual o medidor é cobrado, por exemplo, USD. Nome serializado: Balance.properties.currency

beginningBalance
Nullable<Decimal>

O saldo inicial do período de cobrança. Nome serializado: Balance.properties.beginningBalance

endingBalance
Nullable<Decimal>

O saldo final do período de cobrança (para períodos abertos, isso será atualizado diariamente). Nome serializado: Balance.properties.endingBalance

newPurchases
Nullable<Decimal>

Valor total da nova compra. Nome serializado: Balance.properties.newPurchases

adjustments
Nullable<Decimal>

Valor total do ajuste. Nome serializado: Balance.properties.adjustments

utilized
Nullable<Decimal>

Uso total do Compromisso. Nome serializado: Balance.properties.utilized

serviceOverage
Nullable<Decimal>

Excedente para serviços do Azure. Nome serializado: Balance.properties.serviceOverage

chargesBilledSeparately
Nullable<Decimal>

Encargos cobrados separadamente. Nome serializado: Balance.properties.chargesBilledSeparately

totalOverage
Nullable<Decimal>

serviceOverage + chargesBilledSeparately. Nome serializado: Balance.properties.totalOverage

totalUsage
Nullable<Decimal>

Compromisso de serviço do Azure + excedente total. Nome serializado: Balance.properties.totalUsage

azureMarketplaceServiceCharges
Nullable<Decimal>

Total de encargos para Azure Marketplace. Nome serializado: Balance.properties.azureMarketplaceServiceCharges

billingFrequency
Nullable<ConsumptionBillingFrequency>

A frequência de cobrança. Nome serializado: Balance.properties.billingFrequency

isPriceHidden
Nullable<Boolean>

O preço está oculto ou não. Nome serializado: Balance.properties.priceHidden

newPurchasesDetails
IEnumerable<ConsumptionBalanceNewPurchasesDetail>

Lista de novas compras. Nome serializado: Balance.properties.newPurchasesDetails

adjustmentDetails
IEnumerable<ConsumptionBalanceAdjustmentDetail>

Lista de ajustes (crédito promocional, crédito SIE etc.). Nome serializado: Balance.properties.adjustmentDetails

etag
Nullable<ETag>

A etag para o recurso. Nome serializado: Resource.etag

tags
IReadOnlyDictionary<String,String>

Marcas de recurso. Nome serializado: Resource.tags

Retornos

Uma nova ConsumptionBalanceResult instância para zombar.

Aplica-se a