class Azure::Consumption::Mgmt::V2018_11_01_preview::Models::BillingAccount
A billing account resource.
Attributes
@return [Enum] The billing account Type. Possible values include: 'CommerceRoot', 'Enrollment'
@return [Address] The address associated with billing account.
@return [String] Agreements associated with billing account
@return [Array<BillingProfile>] The billing profiles associated to the billing account.
@return [String] The Company this billing account belongs to.
@return [String] The country associated with billing account.
@return [String] The ISO currency, for example, USD.
@return [Array<Department>] The departments associated to the enrollment.
@return [Array<EnrollmentAccount>] The accounts associated to the enrollment.
@return [Enrollment] The details about the associated legacy enrollment. By default this is not populated, unless it's specified in $expand.
@return [Array<InvoiceSection>] The invoiceSections associated to the billing account.
Public Class Methods
Mapper for BillingAccount
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/billing_account.rb, line 60 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BillingAccount', type: { name: 'Composite', class_name: 'BillingAccount', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, read_only: true, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, company: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.company', type: { name: 'String' } }, account_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.accountType', type: { name: 'String' } }, address: { client_side_validation: true, required: false, serialized_name: 'properties.address', type: { name: 'Composite', class_name: 'Address' } }, default_currency: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.defaultCurrency', type: { name: 'String' } }, country: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.country', type: { name: 'String' } }, agreements: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.agreements', type: { name: 'String' } }, invoice_sections: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.invoiceSections', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'InvoiceSectionElementType', type: { name: 'Composite', class_name: 'InvoiceSection' } } } }, billing_profiles: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billingProfiles', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'BillingProfileElementType', type: { name: 'Composite', class_name: 'BillingProfile' } } } }, enrollment_details: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.enrollmentDetails', type: { name: 'Composite', class_name: 'Enrollment' } }, departments: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.departments', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'DepartmentElementType', type: { name: 'Composite', class_name: 'Department' } } } }, enrollment_accounts: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.enrollmentAccounts', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'EnrollmentAccountElementType', type: { name: 'Composite', class_name: 'EnrollmentAccount' } } } } } } } end