Class: Azure::Consumption::Mgmt::V2019_10_01::Models::MeterDetails
- Inherits:
-
Object
- Object
- Azure::Consumption::Mgmt::V2019_10_01::Models::MeterDetails
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-10-01/generated/azure_mgmt_consumption/models/meter_details.rb
Overview
The properties of the meter detail.
Instance Attribute Summary collapse
-
#meter_category ⇒ String
services', 'Networking', etc..
-
#meter_location ⇒ String
The location in which the Azure service is available.
-
#meter_name ⇒ String
The name of the meter, within the given meter category.
-
#meter_sub_category ⇒ String
services', 'ExpressRoute (IXP)', etc..
-
#pretax_standard_rate ⇒ Object
The pretax listing price.
-
#service_name ⇒ String
The name of the service.
-
#service_tier ⇒ String
The service tier.
-
#total_included_quantity ⇒ Object
The total included quantity associated with the offer.
-
#unit ⇒ String
for example, 'Hours', 'GB', etc.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for MeterDetails class as Ruby Hash.
Instance Attribute Details
#meter_category ⇒ String
services', 'Networking', etc..
20 21 22 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/meter_details.rb', line 20 def meter_category @meter_category end |
#meter_location ⇒ String
Returns The location in which the Azure service is available.
31 32 33 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/meter_details.rb', line 31 def meter_location @meter_location end |
#meter_name ⇒ String
Returns The name of the meter, within the given meter category.
16 17 18 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/meter_details.rb', line 16 def meter_name @meter_name end |
#meter_sub_category ⇒ String
services', 'ExpressRoute (IXP)', etc..
24 25 26 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/meter_details.rb', line 24 def meter_sub_category @meter_sub_category end |
#pretax_standard_rate ⇒ Object
Returns The pretax listing price.
37 38 39 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/meter_details.rb', line 37 def pretax_standard_rate @pretax_standard_rate end |
#service_name ⇒ String
Returns The name of the service.
40 41 42 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/meter_details.rb', line 40 def service_name @service_name end |
#service_tier ⇒ String
Returns The service tier.
43 44 45 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/meter_details.rb', line 43 def service_tier @service_tier end |
#total_included_quantity ⇒ Object
Returns The total included quantity associated with the offer.
34 35 36 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/meter_details.rb', line 34 def total_included_quantity @total_included_quantity end |
#unit ⇒ String
for example, 'Hours', 'GB', etc.
28 29 30 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/meter_details.rb', line 28 def unit @unit end |
Class Method Details
.mapper ⇒ Object
Mapper for MeterDetails class as Ruby Hash. This will be used for serialization/deserialization.
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/meter_details.rb', line 50 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' } }, service_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'serviceName', type: { name: 'String' } }, service_tier: { client_side_validation: true, required: false, read_only: true, serialized_name: 'serviceTier', type: { name: 'String' } } } } } end |