class Azure::Consumption::Mgmt::V2019_10_01::Models::MeterDetailsResponse
The properties of the meter detail.
Attributes
meter_category[RW]
@return [String] The category of the meter, for example, 'Cloud services', 'Networking', etc..
meter_name[RW]
@return [String] The name of the meter, within the given meter category
meter_sub_category[RW]
@return [String] The subcategory of the meter, for example, 'A6 Cloud services', 'ExpressRoute (IXP)', etc..
service_family[RW]
@return [String] The service family.
unit_of_measure[RW]
@return [String] The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.
Private Class Methods
mapper()
click to toggle source
Mapper for MeterDetailsResponse
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-10-01/generated/azure_mgmt_consumption/models/meter_details_response.rb, line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MeterDetailsResponse', type: { name: 'Composite', class_name: 'MeterDetailsResponse', model_properties: { meter_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'meterName', type: { name: 'String' } }, meter_category: { client_side_validation: true, required: false, read_only: true, serialized_name: 'meterCategory', type: { name: 'String' } }, meter_sub_category: { client_side_validation: true, required: false, read_only: true, serialized_name: 'meterSubCategory', type: { name: 'String' } }, unit_of_measure: { client_side_validation: true, required: false, read_only: true, serialized_name: 'unitOfMeasure', type: { name: 'String' } }, service_family: { client_side_validation: true, required: false, read_only: true, serialized_name: 'serviceFamily', type: { name: 'String' } } } } } end