class Azure::Consumption::Mgmt::V2019_04_01_preview::Models::ManagementGroupAggregatedCostResult

A management group aggregated cost resource.

Attributes

azure_charges[RW]

@return Azure Charges.

billing_period_id[RW]

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

charges_billed_separately[RW]

@return Charges Billed Separately.

children[RW]

@return [Array<ManagementGroupAggregatedCostResult>] Children of a management group

currency[RW]

@return [String] The ISO currency in which the meter is charged, for example, USD.

excluded_subscriptions[RW]

@return [Array<String>] List of subscription Guids excluded from the calculation of aggregated cost

included_subscriptions[RW]

@return [Array<String>] List of subscription Guids included in the calculation of aggregated cost

marketplace_charges[RW]

@return Marketplace Charges.

usage_end[RW]

@return [DateTime] The end of the date time range covered by the aggregated cost.

usage_start[RW]

@return [DateTime] The start of the date time range covered by aggregated cost.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-04-01-preview/generated/azure_mgmt_consumption/models/management_group_aggregated_cost_result.rb, line 57
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ManagementGroupAggregatedCostResult',
    type: {
      name: 'Composite',
      class_name: 'ManagementGroupAggregatedCostResult',
      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: 'DateTime'
          }
        },
        usage_end: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.usageEnd',
          type: {
            name: 'DateTime'
          }
        },
        azure_charges: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.azureCharges',
          type: {
            name: 'Number'
          }
        },
        marketplace_charges: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.marketplaceCharges',
          type: {
            name: 'Number'
          }
        },
        charges_billed_separately: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.chargesBilledSeparately',
          type: {
            name: 'Number'
          }
        },
        currency: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.currency',
          type: {
            name: 'String'
          }
        },
        children: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.children',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ManagementGroupAggregatedCostResultElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ManagementGroupAggregatedCostResult'
                }
            }
          }
        },
        included_subscriptions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.includedSubscriptions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        excluded_subscriptions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.excludedSubscriptions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end