你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmConsumptionModelFactory.ConsumptionModernReservationTransaction 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
参数
ID。
- name
- String
名称。
- resourceType
- ResourceType
resourceType。
- systemData
- SystemData
systemData。
- armSkuName
- String
这是 ARM SKU 名称。 它可用于在使用情况记录中的其他信息中加入 serviceType 字段。 序列化名称:ModernReservationTransaction.properties.armSkuName
- billingFrequency
- String
计费频率,可以是一次性的,也可以是定期的。 序列化名称:ModernReservationTransaction.properties.billingFrequency
- billingProfileId
- ResourceIdentifier
计费配置文件 ID。序列化名称:ModernReservationTransaction.properties.billingProfileId
- billingProfileName
- String
计费对象信息名称。 序列化名称:ModernReservationTransaction.properties.billingProfileName
- currency
- String
向交易收费的 ISO 货币,例如 USD。 序列化名称:ModernReservationTransaction.properties.currency
- description
- String
交易说明。 序列化名称:ModernReservationTransaction.properties.description
- transactOn
- Nullable<DateTimeOffset>
事务序列化名称的日期:ModernReservationTransaction.properties.eventDate
- eventType
- String
) 购买、取消或退款 (交易类型。 序列化名称:ModernReservationTransaction.properties.eventType
- invoice
- String
发票编号序列化名称:ModernReservationTransaction.properties.invoice
- invoiceId
- ResourceIdentifier
发票 ID 在显示特定交易的发票上。 序列化名称:ModernReservationTransaction.properties.invoiceId
- invoiceSectionId
- ResourceIdentifier
发票科目 ID 序列化名称:ModernReservationTransaction.properties.invoiceSectionId
- invoiceSectionName
- String
发票科目名称。 序列化名称:ModernReservationTransaction.properties.invoiceSectionName
进行事务的订阅 guid。 序列化名称:ModernReservationTransaction.properties.purchasingSubscriptionGuid
- purchasingSubscriptionName
- String
进行事务的订阅名称。 序列化名称:ModernReservationTransaction.properties.purchasingSubscriptionName
- region
- String
事务的区域。 序列化名称:ModernReservationTransaction.properties.region
- reservationOrderId
- String
预留订单 ID 是预留购买的标识符。 每个预留订单 ID 表示一个购买交易。 预留订单包含预留。 预留订单指定预留的 VM 大小和区域。 序列化名称:ModernReservationTransaction.properties.reservationOrderId
- reservationOrderName
- String
预留订单的名称。 序列化名称:ModernReservationTransaction.properties.reservationOrderName
- term
- String
这是事务的术语。 序列化名称:ModernReservationTransaction.properties.term
- tags
- IEnumerable<String>
资源标记。 序列化名称:ReservationTransactionResource.tags
返回
用于模拟的新 ConsumptionModernReservationTransaction 实例。