ArmConsumptionModelFactory.ConsumptionModernReservationTransaction Method

Definition

Initializes a new instance of ConsumptionModernReservationTransaction.

public static Azure.ResourceManager.Consumption.Models.ConsumptionModernReservationTransaction ConsumptionModernReservationTransaction (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, decimal? amount = default, string armSkuName = default, string billingFrequency = default, Azure.Core.ResourceIdentifier billingProfileId = default, string billingProfileName = default, string currency = default, string description = default, DateTimeOffset? transactOn = default, string eventType = default, string invoice = default, Azure.Core.ResourceIdentifier invoiceId = default, Azure.Core.ResourceIdentifier invoiceSectionId = default, string invoiceSectionName = default, Guid? purchasingSubscriptionGuid = default, string purchasingSubscriptionName = default, decimal? quantity = default, string region = default, string reservationOrderId = default, string reservationOrderName = default, string term = default, System.Collections.Generic.IEnumerable<string> tags = default);
static member ConsumptionModernReservationTransaction : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<decimal> * string * string * Azure.Core.ResourceIdentifier * string * string * string * Nullable<DateTimeOffset> * string * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * Nullable<Guid> * string * Nullable<decimal> * string * string * string * string * seq<string> -> Azure.ResourceManager.Consumption.Models.ConsumptionModernReservationTransaction
Public Shared Function ConsumptionModernReservationTransaction (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional amount As Nullable(Of Decimal) = Nothing, Optional armSkuName As String = Nothing, Optional billingFrequency As String = Nothing, Optional billingProfileId As ResourceIdentifier = Nothing, Optional billingProfileName As String = Nothing, Optional currency As String = Nothing, Optional description As String = Nothing, Optional transactOn As Nullable(Of DateTimeOffset) = Nothing, Optional eventType As String = Nothing, Optional invoice As String = Nothing, Optional invoiceId As ResourceIdentifier = Nothing, Optional invoiceSectionId As ResourceIdentifier = Nothing, Optional invoiceSectionName As String = Nothing, Optional purchasingSubscriptionGuid As Nullable(Of Guid) = Nothing, Optional purchasingSubscriptionName As String = Nothing, Optional quantity As Nullable(Of Decimal) = Nothing, Optional region As String = Nothing, Optional reservationOrderId As String = Nothing, Optional reservationOrderName As String = Nothing, Optional term As String = Nothing, Optional tags As IEnumerable(Of String) = Nothing) As ConsumptionModernReservationTransaction

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

amount
Nullable<Decimal>

The charge of the transaction.

armSkuName
String

This is the ARM Sku name. It can be used to join with the serviceType field in additional info in usage records.

billingFrequency
String

The billing frequency, which can be either one-time or recurring.

billingProfileId
ResourceIdentifier

Billing profile Id.

billingProfileName
String

Billing profile name.

currency
String

The ISO currency in which the transaction is charged, for example, USD.

description
String

The description of the transaction.

transactOn
Nullable<DateTimeOffset>

The date of the transaction.

eventType
String

The type of the transaction (Purchase, Cancel or Refund).

invoice
String

Invoice Number.

invoiceId
ResourceIdentifier

Invoice Id as on the invoice where the specific transaction appears.

invoiceSectionId
ResourceIdentifier

Invoice Section Id.

invoiceSectionName
String

Invoice Section Name.

purchasingSubscriptionGuid
Nullable<Guid>

The subscription guid that makes the transaction.

purchasingSubscriptionName
String

The subscription name that makes the transaction.

quantity
Nullable<Decimal>

The quantity of the transaction.

region
String

The region of the transaction.

reservationOrderId
String

The reservation order ID is the identifier for a reservation purchase. Each reservation order ID represents a single purchase transaction. A reservation order contains reservations. The reservation order specifies the VM size and region for the reservations.

reservationOrderName
String

The name of the reservation order.

term
String

This is the term of the transaction.

tags
IEnumerable<String>

Resource tags.

Returns

A new ConsumptionModernReservationTransaction instance for mocking.

Applies to