Class: Azure::Web::Mgmt::V2018_02_01::Models::BillingMeter
- Inherits:
-
ProxyOnlyResource
- Object
- ProxyOnlyResource
- Azure::Web::Mgmt::V2018_02_01::Models::BillingMeter
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01/generated/azure_mgmt_web/models/billing_meter.rb
Overview
App Service billing entity that contains information about meter which the Azure billing system utilizes to charge users for services.
Instance Attribute Summary collapse
-
#billing_location ⇒ String
Azure Location of billable resource.
-
#friendly_name ⇒ String
Friendly name of the meter.
-
#meter_id ⇒ String
Meter GUID onboarded in Commerce.
-
#os_type ⇒ String
App Service OS type meter used for.
-
#resource_type ⇒ String
App Service ResourceType meter used for.
-
#short_name ⇒ String
Short Name from App Service Azure pricing Page.
Attributes inherited from ProxyOnlyResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BillingMeter class as Ruby Hash.
Instance Attribute Details
#billing_location ⇒ String
Returns Azure Location of billable resource.
20 21 22 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/billing_meter.rb', line 20 def billing_location @billing_location end |
#friendly_name ⇒ String
Returns Friendly name of the meter.
26 27 28 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/billing_meter.rb', line 26 def friendly_name @friendly_name end |
#meter_id ⇒ String
Returns Meter GUID onboarded in Commerce.
17 18 19 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/billing_meter.rb', line 17 def meter_id @meter_id end |
#os_type ⇒ String
Returns App Service OS type meter used for.
32 33 34 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/billing_meter.rb', line 32 def os_type @os_type end |
#resource_type ⇒ String
Returns App Service ResourceType meter used for.
29 30 31 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/billing_meter.rb', line 29 def resource_type @resource_type end |
#short_name ⇒ String
Returns Short Name from App Service Azure pricing Page.
23 24 25 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/billing_meter.rb', line 23 def short_name @short_name end |
Class Method Details
.mapper ⇒ Object
Mapper for BillingMeter class as Ruby Hash. This will be used for serialization/deserialization.
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 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 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/billing_meter.rb', line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BillingMeter', type: { name: 'Composite', class_name: 'BillingMeter', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, kind: { client_side_validation: true, required: false, serialized_name: 'kind', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, meter_id: { client_side_validation: true, required: false, serialized_name: 'properties.meterId', type: { name: 'String' } }, billing_location: { client_side_validation: true, required: false, serialized_name: 'properties.billingLocation', type: { name: 'String' } }, short_name: { client_side_validation: true, required: false, serialized_name: 'properties.shortName', type: { name: 'String' } }, friendly_name: { client_side_validation: true, required: false, serialized_name: 'properties.friendlyName', type: { name: 'String' } }, resource_type: { client_side_validation: true, required: false, serialized_name: 'properties.resourceType', type: { name: 'String' } }, os_type: { client_side_validation: true, required: false, serialized_name: 'properties.osType', type: { name: 'String' } } } } } end |