class Azure::Consumption::Mgmt::V2017_11_30::Models::MeterDetails
The properties of the meter detail.
Attributes
meter_category[RW]
@return [String] The category of the meter, for example, 'Cloud services', 'Networking', etc..
meter_location[RW]
@return [String] The location in which the Azure
service is available.
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..
pretax_standard_rate[RW]
@return The pretax listing price.
total_included_quantity[RW]
@return The total included quantity associated with the offer.
unit[RW]
@return [String] The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.
Public Class Methods
mapper()
click to toggle source
Mapper for MeterDetails
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-11-30/generated/azure_mgmt_consumption/models/meter_details.rb, line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MeterDetails', type: { name: 'Composite', class_name: 'MeterDetails', 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: { client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', type: { name: 'String' } }, meter_location: { client_side_validation: true, required: false, read_only: true, serialized_name: 'meterLocation', type: { name: 'String' } }, total_included_quantity: { client_side_validation: true, required: false, read_only: true, serialized_name: 'totalIncludedQuantity', type: { name: 'Number' } }, pretax_standard_rate: { client_side_validation: true, required: false, read_only: true, serialized_name: 'pretaxStandardRate', type: { name: 'Number' } } } } } end