Share via


BillingAccount Class

Definition

A billing account.

[Microsoft.Rest.Serialization.JsonTransformation]
public class BillingAccount : Microsoft.Azure.Management.Billing.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type BillingAccount = class
    inherit Resource
Public Class BillingAccount
Inherits Resource
Inheritance
BillingAccount
Attributes

Constructors

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.

Properties

AccountStatus

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

AccountType

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

AgreementType

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

BillingProfiles

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

Departments

Gets or sets the departments associated to the enrollment.

DisplayName

Gets or sets the billing account name.

EnrollmentAccounts

Gets or sets the accounts associated to the enrollment.

EnrollmentDetails

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

HasReadAccess

Gets indicates whether user has read access to the billing account.

Id

Gets resource Id.

(Inherited from Resource)
Name

Gets resource name.

(Inherited from Resource)
SoldTo

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

Type

Gets resource type.

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to