BillingAccount 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
資源識別碼。
- 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>
與註冊相關聯的帳戶。