class Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MeterInfo
Detailed information about the meter.
Attributes
@return [DateTime] Indicates the date from which the meter rate is effective.
@return [Float] The resource quantity that is included in the offer at no cost. Consumption beyond this quantity will be charged.
@return [String] The category of the meter, e.g., 'Cloud services', 'Networking', etc..
@return The unique identifier of the resource.
@return [String] The name of the meter, within the given meter category
@return [Hash{String => Float}] The list of key/value pairs for the meter rates, in the format 'key':'value' where key = the meter quantity, and value = the corresponding price
@return [String] The region in which the Azure
service is available.
@return [String] The subcategory of the meter, e.g., 'A6 Cloud services', 'ExpressRoute (IXP)', etc..
@return [String] The unit in which the meter consumption is charged, e.g., 'Hours', 'GB', etc.
Private Class Methods
Mapper for MeterInfo
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2015-06-01-preview/generated/azure_mgmt_commerce/models/meter_info.rb, line 58 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MeterInfo', type: { name: 'Composite', class_name: 'MeterInfo', model_properties: { meter_id: { client_side_validation: true, required: false, serialized_name: 'MeterId', type: { name: 'String' } }, meter_name: { client_side_validation: true, required: false, serialized_name: 'MeterName', type: { name: 'String' } }, meter_category: { client_side_validation: true, required: false, serialized_name: 'MeterCategory', type: { name: 'String' } }, meter_sub_category: { client_side_validation: true, required: false, serialized_name: 'MeterSubCategory', type: { name: 'String' } }, unit: { client_side_validation: true, required: false, serialized_name: 'Unit', type: { name: 'String' } }, meter_tags: { client_side_validation: true, required: false, serialized_name: 'MeterTags', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, meter_region: { client_side_validation: true, required: false, serialized_name: 'MeterRegion', type: { name: 'String' } }, meter_rates: { client_side_validation: true, required: false, serialized_name: 'MeterRates', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'FloatElementType', type: { name: 'Double' } } } }, effective_date: { client_side_validation: true, required: false, serialized_name: 'EffectiveDate', type: { name: 'DateTime' } }, included_quantity: { client_side_validation: true, required: false, serialized_name: 'IncludedQuantity', type: { name: 'Double' } } } } } end