ArmConsumptionModelFactory.ConsumptionLotSummary 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 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
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- originalAmount
- ConsumptionAmount
The original amount of a lot.
- closedBalance
- ConsumptionAmount
The balance as of the last invoice.
- source
- Nullable<ConsumptionLotSource>
The source of the lot.
- startOn
- Nullable<DateTimeOffset>
The date when the lot became effective.
- expireOn
- Nullable<DateTimeOffset>
The expiration date of a lot.
- poNumber
- String
The po number of the invoice on which the lot was added. This property is not available for ConsumptionCommitment lots.
- purchasedOn
- Nullable<DateTimeOffset>
The date when the lot was added.
- status
- Nullable<ConsumptionLotStatus>
The status of the lot.
- creditCurrency
- String
The currency of the lot.
- billingCurrency
- String
The billing currency of the lot.
- originalAmountInBillingCurrency
- ConsumptionAmountWithExchangeRate
The original amount of a lot in billing currency.
- closedBalanceInBillingCurrency
- ConsumptionAmountWithExchangeRate
The balance as of the last invoice in billing currency.
- reseller
- ConsumptionReseller
The reseller of the lot.
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 ConsumptionLotSummary instance for mocking.