ArmConsumptionModelFactory.ConsumptionCreditSummary 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 ConsumptionCreditSummary.
public static Azure.ResourceManager.Consumption.Models.ConsumptionCreditSummary ConsumptionCreditSummary (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Consumption.Models.CreditBalanceSummary balanceSummary = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount pendingCreditAdjustments = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount expiredCredit = default, Azure.ResourceManager.Consumption.Models.ConsumptionAmount pendingEligibleCharges = default, string creditCurrency = default, string billingCurrency = default, Azure.ResourceManager.Consumption.Models.ConsumptionReseller reseller = default, Azure.ETag? etag = default);
static member ConsumptionCreditSummary : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.Consumption.Models.CreditBalanceSummary * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * Azure.ResourceManager.Consumption.Models.ConsumptionAmount * string * string * Azure.ResourceManager.Consumption.Models.ConsumptionReseller * Nullable<Azure.ETag> -> Azure.ResourceManager.Consumption.Models.ConsumptionCreditSummary
Public Shared Function ConsumptionCreditSummary (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional balanceSummary As CreditBalanceSummary = Nothing, Optional pendingCreditAdjustments As ConsumptionAmount = Nothing, Optional expiredCredit As ConsumptionAmount = Nothing, Optional pendingEligibleCharges As ConsumptionAmount = Nothing, Optional creditCurrency As String = Nothing, Optional billingCurrency As String = Nothing, Optional reseller As ConsumptionReseller = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As ConsumptionCreditSummary
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- balanceSummary
- CreditBalanceSummary
Summary of balances associated with this credit summary.
- pendingCreditAdjustments
- ConsumptionAmount
Pending credit adjustments.
- expiredCredit
- ConsumptionAmount
Expired credit.
- pendingEligibleCharges
- ConsumptionAmount
Pending eligible charges.
- creditCurrency
- String
The credit currency.
- billingCurrency
- String
The billing currency.
- reseller
- ConsumptionReseller
Credit's reseller.
eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
Returns
A new ConsumptionCreditSummary instance for mocking.