class Azure::Consumption::Mgmt::V2018_11_01_preview::Models::ChargeSummaryByBillingProfile

A charge summary resource by billing profile.

Attributes

azure_charges[RW]

@return [Amount] Azure Charges.

billing_account_id[RW]

@return [String] The id of the billing account resource that the charge belongs to.

billing_period_id[RW]

@return [String] The id of the billing period resource that the usage belongs to.

billing_profile_id[RW]

@return [String] The id of the billing profile resource that the charge belongs to.

charges_billed_separately[RW]

@return [Amount] Charges Billed separately.

invoice_section_id[RW]

@return [String] The id of the invoice section resource that the charge belongs to.

marketplace_charges[RW]

@return [Amount] Marketplace Charges.

usage_end[RW]

@return [String] Billing period end date.

usage_start[RW]

@return [String] Billing period start date.

Public Class Methods

mapper() click to toggle source

Mapper for ChargeSummaryByBillingProfile class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-11-01-preview/generated/azure_mgmt_consumption/models/charge_summary_by_billing_profile.rb, line 51
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ChargeSummaryByBillingProfile',
    type: {
      name: 'Composite',
      class_name: 'ChargeSummaryByBillingProfile',
      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'
                }
            }
          }
        },
        billing_period_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.billingPeriodId',
          type: {
            name: 'String'
          }
        },
        usage_start: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.usageStart',
          type: {
            name: 'String'
          }
        },
        usage_end: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.usageEnd',
          type: {
            name: 'String'
          }
        },
        azure_charges: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.azureCharges',
          type: {
            name: 'Composite',
            class_name: 'Amount'
          }
        },
        charges_billed_separately: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.chargesBilledSeparately',
          type: {
            name: 'Composite',
            class_name: 'Amount'
          }
        },
        marketplace_charges: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.marketplaceCharges',
          type: {
            name: 'Composite',
            class_name: 'Amount'
          }
        },
        billing_account_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.billingAccountId',
          type: {
            name: 'String'
          }
        },
        billing_profile_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.billingProfileId',
          type: {
            name: 'String'
          }
        },
        invoice_section_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.invoiceSectionId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end