Class: Azure::Consumption::Mgmt::V2018_01_31::Models::Marketplace
- Inherits:
-
Resource
- Object
- Resource
- Azure::Consumption::Mgmt::V2018_01_31::Models::Marketplace
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb
Overview
An marketplace resource.
Instance Attribute Summary collapse
-
#account_name ⇒ String
Account name.
-
#additional_properties ⇒ String
is not populated, unless it’s specified in $expand.
-
#billing_period_id ⇒ String
belongs to.
-
#consumed_quantity ⇒ Object
The quantity of usage.
-
#consumed_service ⇒ String
Consumed service name.
-
#cost_center ⇒ String
department and a costcenter exists.
-
#currency ⇒ String
example, USD.
-
#department_name ⇒ String
Department name.
-
#instance_id ⇒ String
about.
-
#instance_name ⇒ String
about.
-
#is_estimated ⇒ Boolean
The estimated usage is subject to change.
-
#meter_id ⇒ String
The meter id.
-
#offer_name ⇒ String
The type of offer.
-
#order_number ⇒ String
The order number.
-
#plan_name ⇒ String
The name of plan.
-
#pretax_cost ⇒ Object
The amount of cost before tax.
-
#publisher_name ⇒ String
The name of publisher.
-
#resource_group ⇒ String
The name of resource group.
-
#resource_rate ⇒ Object
The marketplace resource rate.
-
#subscription_guid ⇒ String
Subscription guid.
-
#subscription_name ⇒ String
Subscription name.
-
#unit_of_measure ⇒ String
The unit of measure.
-
#usage_end ⇒ DateTime
detail.
-
#usage_start ⇒ DateTime
usage detail.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Marketplace class as Ruby Hash.
Instance Attribute Details
#account_name ⇒ String
73 74 75 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 73 def account_name @account_name end |
#additional_properties ⇒ String
is not populated, unless it’s specified in $expand.
87 88 89 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 87 def additional_properties @additional_properties end |
#billing_period_id ⇒ String
belongs to.
17 18 19 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 17 def billing_period_id @billing_period_id end |
#consumed_quantity ⇒ Object
52 53 54 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 52 def consumed_quantity @consumed_quantity end |
#consumed_service ⇒ String
79 80 81 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 79 def consumed_service @consumed_service end |
#cost_center ⇒ String
department and a costcenter exists
83 84 85 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 83 def cost_center @cost_center end |
#currency ⇒ String
example, USD.
49 50 51 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 49 def currency @currency end |
#department_name ⇒ String
76 77 78 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 76 def department_name @department_name end |
#instance_id ⇒ String
about.
45 46 47 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 45 def instance_id @instance_id end |
#instance_name ⇒ String
about.
41 42 43 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 41 def instance_name @instance_name end |
#is_estimated ⇒ Boolean
61 62 63 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 61 def is_estimated @is_estimated end |
#meter_id ⇒ String
64 65 66 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 64 def meter_id @meter_id end |
#offer_name ⇒ String
31 32 33 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 31 def offer_name @offer_name end |
#order_number ⇒ String
37 38 39 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 37 def order_number @order_number end |
#plan_name ⇒ String
93 94 95 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 93 def plan_name @plan_name end |
#pretax_cost ⇒ Object
58 59 60 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 58 def pretax_cost @pretax_cost end |
#publisher_name ⇒ String
90 91 92 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 90 def publisher_name @publisher_name end |
#resource_group ⇒ String
34 35 36 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 34 def resource_group @resource_group end |
#resource_rate ⇒ Object
28 29 30 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 28 def resource_rate @resource_rate end |
#subscription_guid ⇒ String
67 68 69 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 67 def subscription_guid @subscription_guid end |
#subscription_name ⇒ String
70 71 72 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 70 def subscription_name @subscription_name end |
#unit_of_measure ⇒ String
55 56 57 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 55 def unit_of_measure @unit_of_measure end |
#usage_end ⇒ DateTime
detail.
25 26 27 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 25 def usage_end @usage_end end |
#usage_start ⇒ DateTime
usage detail.
21 22 23 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 21 def usage_start @usage_start end |
Class Method Details
.mapper ⇒ Object
Mapper for Marketplace class as Ruby Hash. This will be used for serialization/deserialization.
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 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 |
# File 'lib/2018-01-31/generated/azure_mgmt_consumption/models/marketplace.rb', line 100 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Marketplace', type: { name: 'Composite', class_name: 'Marketplace', 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' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, read_only: true, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, billing_period_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billingPeriodId', type: { name: 'String' } }, usage_start: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageStart', type: { name: 'DateTime' } }, usage_end: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageEnd', type: { name: 'DateTime' } }, resource_rate: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceRate', type: { name: 'Number' } }, offer_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.offerName', type: { name: 'String' } }, resource_group: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGroup', type: { name: 'String' } }, order_number: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.orderNumber', type: { name: 'String' } }, instance_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceName', type: { name: 'String' } }, instance_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceId', type: { name: 'String' } }, currency: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.currency', type: { name: 'String' } }, consumed_quantity: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.consumedQuantity', type: { name: 'Number' } }, unit_of_measure: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.unitOfMeasure', type: { name: 'String' } }, pretax_cost: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.pretaxCost', type: { name: 'Number' } }, is_estimated: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isEstimated', type: { name: 'Boolean' } }, meter_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.meterId', type: { name: 'String' } }, subscription_guid: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subscriptionGuid', type: { name: 'String' } }, subscription_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subscriptionName', type: { name: 'String' } }, account_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.accountName', type: { name: 'String' } }, department_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.departmentName', type: { name: 'String' } }, consumed_service: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.consumedService', type: { name: 'String' } }, cost_center: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.costCenter', type: { name: 'String' } }, additional_properties: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.additionalProperties', type: { name: 'String' } }, publisher_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.publisherName', type: { name: 'String' } }, plan_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.planName', type: { name: 'String' } } } } } end |