BillingAccount Constructors

Definition

Overloads

BillingAccount()

Initializes a new instance of the BillingAccount class.

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

Initializes a new instance of the BillingAccount class.

BillingAccount()

Initializes a new instance of the BillingAccount class.

public BillingAccount ();
Public Sub New ()

Applies to

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

Initializes a new instance of the BillingAccount class.

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)

Parameters

id
String

Resource Id.

name
String

Resource name.

type
String

Resource type.

displayName
String

The billing account name.

soldTo
AddressDetails

The address of the individual or organization that is responsible for the billing account.

agreementType
String

The type of agreement. Possible values include: 'MicrosoftCustomerAgreement', 'EnterpriseAgreement', 'MicrosoftOnlineServicesProgram', 'MicrosoftPartnerAgreement'

accountType
String

The type of customer. Possible values include: 'Enterprise', 'Individual', 'Partner'

accountStatus
String

The current status of the billing account. Possible values include: 'Active', 'Deleted', 'Disabled', 'Expired', 'Transferred', 'Extended', 'Terminated'

billingProfiles
BillingProfilesOnExpand

The billing profiles associated with the billing account. By default this is not populated, unless it's specified in $expand.

enrollmentDetails
Enrollment

The details about the associated legacy enrollment. By default this is not populated, unless it's specified in $expand.

departments
IList<Department>

The departments associated to the enrollment.

enrollmentAccounts
IList<EnrollmentAccount>

The accounts associated to the enrollment.

hasReadAccess
Nullable<Boolean>

Indicates whether user has read access to the billing account.

Applies to