你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BillingSubscription 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
BillingSubscription() |
初始化 BillingSubscription 类的新实例。 |
BillingSubscription(String, String, String, String, Nullable<Guid>, String, Amount, Amount, String, String, String, String, String, String, String, Reseller, String, String) |
初始化 BillingSubscription 类的新实例。 |
BillingSubscription()
初始化 BillingSubscription 类的新实例。
public BillingSubscription ();
Public Sub New ()
适用于
BillingSubscription(String, String, String, String, Nullable<Guid>, String, Amount, Amount, String, String, String, String, String, String, String, Reseller, String, String)
初始化 BillingSubscription 类的新实例。
public BillingSubscription (string id = default, string name = default, string type = default, string displayName = default, Guid? subscriptionId = default, string subscriptionBillingStatus = default, Microsoft.Azure.Management.Billing.Models.Amount lastMonthCharges = default, Microsoft.Azure.Management.Billing.Models.Amount monthToDateCharges = default, string billingProfileId = default, string billingProfileDisplayName = default, string costCenter = default, string customerId = default, string customerDisplayName = default, string invoiceSectionId = default, string invoiceSectionDisplayName = default, Microsoft.Azure.Management.Billing.Models.Reseller reseller = default, string skuId = default, string skuDescription = default);
new Microsoft.Azure.Management.Billing.Models.BillingSubscription : string * string * string * string * Nullable<Guid> * string * Microsoft.Azure.Management.Billing.Models.Amount * Microsoft.Azure.Management.Billing.Models.Amount * string * string * string * string * string * string * string * Microsoft.Azure.Management.Billing.Models.Reseller * string * string -> Microsoft.Azure.Management.Billing.Models.BillingSubscription
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional displayName As String = Nothing, Optional subscriptionId As Nullable(Of Guid) = Nothing, Optional subscriptionBillingStatus As String = Nothing, Optional lastMonthCharges As Amount = Nothing, Optional monthToDateCharges As Amount = Nothing, Optional billingProfileId As String = Nothing, Optional billingProfileDisplayName As String = Nothing, Optional costCenter As String = Nothing, Optional customerId As String = Nothing, Optional customerDisplayName As String = Nothing, Optional invoiceSectionId As String = Nothing, Optional invoiceSectionDisplayName As String = Nothing, Optional reseller As Reseller = Nothing, Optional skuId As String = Nothing, Optional skuDescription As String = Nothing)
参数
- id
- String
资源 ID。
- name
- String
资源名称。
- type
- String
资源类型。
- displayName
- String
订阅的名称。
- subscriptionBillingStatus
- String
订阅的当前计费状态。 可能的值包括:“Active”、“Inactive”、“Abandoned”、“Deleted”、“Warning”
- lastMonthCharges
- Amount
上个月的费用。
- monthToDateCharges
- Amount
当前月份至今费用。
- billingProfileId
- String
计费对象为订阅的计费对象信息的 ID。
- billingProfileDisplayName
- String
计费对象为订阅的计费配置文件的名称。
- costCenter
- String
应用于订阅的成本中心。
- customerId
- String
为其创建订阅的客户 ID。 字段仅适用于Microsoft 合作伙伴协议计费帐户。
- customerDisplayName
- String
为其创建订阅的客户的名称。 字段仅适用于Microsoft 合作伙伴协议计费帐户。
- invoiceSectionId
- String
计费订阅的发票科目的 ID。
- invoiceSectionDisplayName
- String
计费订阅的发票科目的名称。
- reseller
- Reseller
此订阅的经销商。
- skuId
- String
订阅的 Azure 计划的 SKU ID。
- skuDescription
- String
订阅的 Azure 计划的 SKU 说明。