ArmConsumptionModelFactory.ConsumptionBalanceResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- currency
- String
The ISO currency in which the meter is charged, for example, USD.
The ending balance for the billing period (for open periods this will be updated daily).
- billingFrequency
- Nullable<ConsumptionBillingFrequency>
The billing frequency.
- newPurchasesDetails
- IEnumerable<ConsumptionBalanceNewPurchasesDetail>
List of new purchases.
- adjustmentDetails
- IEnumerable<ConsumptionBalanceAdjustmentDetail>
List of Adjustments (Promo credit, SIE credit etc.).
- tags
- IReadOnlyDictionary<String,String>
Resource tags.
Returns
A new ConsumptionBalanceResult instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET