Class: Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCosts
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuCosts
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_costs.rb
Overview
Describes metadata for retrieving price info.
Instance Attribute Summary collapse
-
#extended_unit ⇒ String
An invariant to show the extended unit.
-
#meter_id ⇒ String
Used for querying price from commerce.
-
#quantity ⇒ Integer
cost.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ResourceSkuCosts class as Ruby Hash.
Instance Attribute Details
#extended_unit ⇒ String
Returns An invariant to show the extended unit.
23 24 25 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_costs.rb', line 23 def extended_unit @extended_unit end |
#meter_id ⇒ String
Returns Used for querying price from commerce.
16 17 18 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_costs.rb', line 16 def meter_id @meter_id end |
#quantity ⇒ Integer
cost.
20 21 22 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_costs.rb', line 20 def quantity @quantity end |
Class Method Details
.mapper ⇒ Object
Mapper for ResourceSkuCosts class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_costs.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ResourceSkuCosts', type: { name: 'Composite', class_name: 'ResourceSkuCosts', model_properties: { meter_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'meterID', type: { name: 'String' } }, quantity: { client_side_validation: true, required: false, read_only: true, serialized_name: 'quantity', type: { name: 'Number' } }, extended_unit: { client_side_validation: true, required: false, read_only: true, serialized_name: 'extendedUnit', type: { name: 'String' } } } } } end |