你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BillingAccount 构造函数

定义

重载

BillingAccount()

初始化 BillingAccount 类的新实例。

BillingAccount(String, String, String, String, AddressDetails, String, String, String, BillingProfilesOnExpand, Enrollment, IList<Department>, IList<EnrollmentAccount>, Nullable<Boolean>)

初始化 BillingAccount 类的新实例。

BillingAccount()

初始化 BillingAccount 类的新实例。

public BillingAccount ();
Public Sub New ()

适用于

BillingAccount(String, String, String, String, AddressDetails, String, String, String, BillingProfilesOnExpand, Enrollment, IList<Department>, IList<EnrollmentAccount>, Nullable<Boolean>)

初始化 BillingAccount 类的新实例。

public BillingAccount (string id = default, string name = default, string type = default, string displayName = default, Microsoft.Azure.Management.Billing.Models.AddressDetails soldTo = default, string agreementType = default, string accountType = default, string accountStatus = default, Microsoft.Azure.Management.Billing.Models.BillingProfilesOnExpand billingProfiles = default, Microsoft.Azure.Management.Billing.Models.Enrollment enrollmentDetails = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Billing.Models.Department> departments = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Billing.Models.EnrollmentAccount> enrollmentAccounts = default, bool? hasReadAccess = default);
new Microsoft.Azure.Management.Billing.Models.BillingAccount : string * string * string * string * Microsoft.Azure.Management.Billing.Models.AddressDetails * string * string * string * Microsoft.Azure.Management.Billing.Models.BillingProfilesOnExpand * Microsoft.Azure.Management.Billing.Models.Enrollment * System.Collections.Generic.IList<Microsoft.Azure.Management.Billing.Models.Department> * System.Collections.Generic.IList<Microsoft.Azure.Management.Billing.Models.EnrollmentAccount> * Nullable<bool> -> Microsoft.Azure.Management.Billing.Models.BillingAccount
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional displayName As String = Nothing, Optional soldTo As AddressDetails = Nothing, Optional agreementType As String = Nothing, Optional accountType As String = Nothing, Optional accountStatus As String = Nothing, Optional billingProfiles As BillingProfilesOnExpand = Nothing, Optional enrollmentDetails As Enrollment = Nothing, Optional departments As IList(Of Department) = Nothing, Optional enrollmentAccounts As IList(Of EnrollmentAccount) = Nothing, Optional hasReadAccess As Nullable(Of Boolean) = Nothing)

参数

id
String

资源 ID。

name
String

资源名称。

type
String

资源类型。

displayName
String

计费帐户名称。

soldTo
AddressDetails

负责计费帐户的个人或组织的地址。

agreementType
String

协议的类型。 可能的值包括:“MicrosoftCustomerAgreement”、“EnterpriseAgreement”、“MicrosoftOnlineServicesProgram”、“MicrosoftPartnerAgreement”

accountType
String

客户类型。 可能的值包括:“Enterprise”、“Individual”、“Partner”

accountStatus
String

计费帐户的当前状态。 可能的值包括:“Active”、“Deleted”、“Disabled”、“Expired”、“Transferred”、“Extended”、“Terminated”

billingProfiles
BillingProfilesOnExpand

与计费帐户关联的计费配置文件。 默认情况下,除非在 $expand 中指定,否则不会填充它。

enrollmentDetails
Enrollment

有关关联的旧注册的详细信息。 默认情况下,除非在 $expand 中指定,否则不会填充它。

departments
IList<Department>

与注册关联的部门。

enrollmentAccounts
IList<EnrollmentAccount>

与注册关联的帐户。

hasReadAccess
Nullable<Boolean>

指示用户是否具有对计费帐户的读取访问权限。

适用于