Class: Azure::Consumption::Mgmt::V2019_10_01::Models::ModernUsageDetail
- Inherits:
-
UsageDetail
- Object
- Resource
- UsageDetail
- Azure::Consumption::Mgmt::V2019_10_01::Models::ModernUsageDetail
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb
Overview
Modern usage detail.
Instance Attribute Summary collapse
-
#additional_info ⇒ String
to get usage line item specific details such as the actual VM Size (ServiceType) or the ratio in which the reservation discount is applied.
-
#billing_account_id ⇒ String
Billing Account identifier.
-
#billing_account_name ⇒ String
Name of the Billing Account.
-
#billing_currency_code ⇒ String
The currency defining the billed cost.
-
#billing_period_end_date ⇒ DateTime
Billing Period End Date as in the invoice.
-
#billing_period_start_date ⇒ DateTime
Billing Period Start Date as in the invoice.
-
#billing_profile_id ⇒ String
across invoices in the a singular billing currency across across the customers who have onboarded the Microsoft customer agreement and the customers in CSP who have made entitlement purchases like SaaS, Marketplace, RI, etc.
-
#billing_profile_name ⇒ String
invoices in the a singular billing currency across across the customers who have onboarded the Microsoft customer agreement and the customers in CSP who have made entitlement purchases like SaaS, Marketplace, RI, etc.
-
#charge_type ⇒ String
Marketplace purchase, a reservation fee, or a refund.
-
#consumed_service ⇒ String
provider that emits the usage or was purchased.
-
#cost_center ⇒ String
department and a cost center is provided.
-
#cost_in_billing_currency ⇒ Object
ExtendedCost or blended cost before tax in billed currency.
-
#cost_in_pricing_currency ⇒ Object
correlate with prices.
-
#cost_in_usd ⇒ Object
Estimated extendedCost or blended cost before tax in USD.
-
#customer_name ⇒ String
Name of the customer's AAD tenant.
-
#customer_tenant_id ⇒ String
Identifier of the customer's AAD tenant.
-
#date ⇒ DateTime
Date for the usage record.
-
#exchange_rate ⇒ String
to billing currency.
-
#exchange_rate_date ⇒ DateTime
pricing currency to billing currency.
-
#exchange_rate_pricing_to_billing ⇒ Object
Exchange Rate from pricing currency to billing currency.
-
#frequency ⇒ String
OneTime for purchases which only happen once, Monthly for fees which recur every month, and UsageBased for charges based on how much a service is used.
-
#instance_name ⇒ String
Instance Name.
-
#invoice_id ⇒ String
transaction appears.
-
#invoice_section_id ⇒ String
invoice.
-
#invoice_section_name ⇒ String
invoice.
-
#is_azure_credit_eligible ⇒ Boolean
using Azure credits.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#market_price ⇒ Object
Market Price that's charged for the usage.
-
#meter_category ⇒ String
Identifies the top-level service for the usage.
-
#meter_id ⇒ Object
reserved instance this represents the primary meter for which the reservation was purchased.
-
#meter_name ⇒ String
consumption is measured.
-
#meter_region ⇒ String
services that are priced based on datacenter location.
-
#meter_sub_category ⇒ String
can affect the rate.
-
#partner_earned_credit_applied ⇒ String
applied or not.
-
#partner_earned_credit_rate ⇒ Object
(PEC) based on partner admin link access.
-
#partner_name ⇒ String
Name of the partner' AAD tenant.
-
#partner_tenant_id ⇒ String
Identifier for the partner's AAD tenant.
-
#payg_cost_in_billing_currency ⇒ Object
The amount of PayG cost before tax in billing currency.
-
#payg_cost_in_usd ⇒ Object
The amount of PayG cost before tax in US Dollar currency.
-
#previous_invoice_id ⇒ String
(negative cost).
-
#pricing_currency_code ⇒ String
Pricing Billing Currency.
-
#product ⇒ String
consumption or purchase as listed in the invoice.
-
#product_identifier ⇒ String
consumption or purchase .
-
#product_order_id ⇒ String
the subscription belongs to.
-
#product_order_name ⇒ String
that was purchased.
-
#publisher_id ⇒ String
Publisher Id.
-
#publisher_name ⇒ String
Microsoft or Third Party publishers.
-
#publisher_type ⇒ String
first party, third party reseller or third party agency.
-
#quantity ⇒ Object
meter used during the billing period.
-
#reseller_mpn_id ⇒ String
subscription.
-
#reseller_name ⇒ String
Reseller Name.
-
#reservation_id ⇒ String
records relevant to reservations.
-
#reservation_name ⇒ String
known name for a particular day is populated in the daily data.
-
#resource_group ⇒ String
lifecycle management of resources.
-
#resource_location ⇒ String
Name of the resource location.
-
#resource_location_normalized ⇒ String
Resource Location Normalized.
-
#service_family ⇒ String
charged (Example: Storage ; Compute).
-
#service_info1 ⇒ String
Service Info 1.
-
#service_info2 ⇒ String
Service Info 2.
-
#service_period_end_date ⇒ DateTime
rated for charges.
-
#service_period_start_date ⇒ DateTime
usage was rated for charges.
-
#subscription_guid ⇒ String
Subscription.
-
#subscription_name ⇒ String
Name of the Azure Subscription.
-
#term ⇒ String
of the offer.
-
#unit_of_measure ⇒ String
For example, GB, hours, 10,000 s.
-
#unit_price ⇒ Object
contract price).
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ModernUsageDetail class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ModernUsageDetail
constructor
A new instance of ModernUsageDetail.
Constructor Details
#initialize ⇒ ModernUsageDetail
Returns a new instance of ModernUsageDetail.
16 17 18 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 16 def initialize @kind = "modern" end |
Instance Attribute Details
#additional_info ⇒ String
to get usage line item specific details such as the actual VM Size (ServiceType) or the ratio in which the reservation discount is applied.
127 128 129 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 127 def additional_info @additional_info end |
#billing_account_id ⇒ String
Returns Billing Account identifier.
23 24 25 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 23 def billing_account_id @billing_account_id end |
#billing_account_name ⇒ String
Returns Name of the Billing Account.
26 27 28 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 26 def billing_account_name @billing_account_name end |
#billing_currency_code ⇒ String
Returns The currency defining the billed cost.
107 108 109 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 107 def billing_currency_code @billing_currency_code end |
#billing_period_end_date ⇒ DateTime
Returns Billing Period End Date as in the invoice.
32 33 34 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 32 def billing_period_end_date @billing_period_end_date end |
#billing_period_start_date ⇒ DateTime
Returns Billing Period Start Date as in the invoice.
29 30 31 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 29 def billing_period_start_date @billing_period_start_date end |
#billing_profile_id ⇒ String
across invoices in the a singular billing currency across across the customers who have onboarded the Microsoft customer agreement and the customers in CSP who have made entitlement purchases like SaaS, Marketplace, RI, etc.
39 40 41 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 39 def billing_profile_id @billing_profile_id end |
#billing_profile_name ⇒ String
invoices in the a singular billing currency across across the customers who have onboarded the Microsoft customer agreement and the customers in CSP who have made entitlement purchases like SaaS, Marketplace, RI, etc.
46 47 48 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 46 def billing_profile_name @billing_profile_name end |
#charge_type ⇒ String
Marketplace purchase, a reservation fee, or a refund.
186 187 188 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 186 def charge_type @charge_type end |
#consumed_service ⇒ String
provider that emits the usage or was purchased. This value is not provided for marketplace usage.
115 116 117 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 115 def consumed_service @consumed_service end |
#cost_center ⇒ String
department and a cost center is provided.
141 142 143 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 141 def cost_center @cost_center end |
#cost_in_billing_currency ⇒ Object
Returns ExtendedCost or blended cost before tax in billed currency.
195 196 197 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 195 def cost_in_billing_currency @cost_in_billing_currency end |
#cost_in_pricing_currency ⇒ Object
correlate with prices.
199 200 201 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 199 def cost_in_pricing_currency @cost_in_pricing_currency end |
#cost_in_usd ⇒ Object
Returns Estimated extendedCost or blended cost before tax in USD.
100 101 102 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 100 def cost_in_usd @cost_in_usd end |
#customer_name ⇒ String
Returns Name of the customer's AAD tenant.
242 243 244 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 242 def customer_name @customer_name end |
#customer_tenant_id ⇒ String
Returns Identifier of the customer's AAD tenant.
239 240 241 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 239 def customer_tenant_id @customer_tenant_id end |
#date ⇒ DateTime
Returns Date for the usage record.
56 57 58 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 56 def date @date end |
#exchange_rate ⇒ String
to billing currency.
203 204 205 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 203 def exchange_rate @exchange_rate end |
#exchange_rate_date ⇒ DateTime
pricing currency to billing currency.
207 208 209 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 207 def exchange_rate_date @exchange_rate_date end |
#exchange_rate_pricing_to_billing ⇒ Object
Returns Exchange Rate from pricing currency to billing currency.
264 265 266 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 264 def exchange_rate_pricing_to_billing @exchange_rate_pricing_to_billing end |
#frequency ⇒ String
OneTime for purchases which only happen once, Monthly for fees which recur every month, and UsageBased for charges based on how much a service is used.
192 193 194 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 192 def frequency @frequency end |
#instance_name ⇒ String
Returns Instance Name.
97 98 99 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 97 def instance_name @instance_name end |
#invoice_id ⇒ String
transaction appears.
211 212 213 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 211 def invoice_id @invoice_id end |
#invoice_section_id ⇒ String
invoice. Not applicable for Microsoft Customer Agreements onboarded by partners.
132 133 134 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 132 def invoice_section_id @invoice_section_id end |
#invoice_section_name ⇒ String
invoice. Not applicable for Microsoft Customer Agreements onboarded by partners.
137 138 139 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 137 def invoice_section_name @invoice_section_name end |
#is_azure_credit_eligible ⇒ Boolean
using Azure credits.
167 168 169 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 167 def is_azure_credit_eligible @is_azure_credit_eligible end |
#kind ⇒ Object
Returns the value of attribute kind.
20 21 22 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 20 def kind @kind end |
#market_price ⇒ Object
Returns Market Price that's charged for the usage.
261 262 263 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 261 def market_price @market_price end |
#meter_category ⇒ String
Returns Identifies the top-level service for the usage.
78 79 80 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 78 def meter_category @meter_category end |
#meter_id ⇒ Object
reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.
67 68 69 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 67 def meter_id @meter_id end |
#meter_name ⇒ String
consumption is measured.
71 72 73 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 71 def meter_name @meter_name end |
#meter_region ⇒ String
services that are priced based on datacenter location.
75 76 77 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 75 def meter_region @meter_region end |
#meter_sub_category ⇒ String
can affect the rate.
82 83 84 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 82 def meter_sub_category @meter_sub_category end |
#partner_earned_credit_applied ⇒ String
applied or not.
278 279 280 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 278 def partner_earned_credit_applied @partner_earned_credit_applied end |
#partner_earned_credit_rate ⇒ Object
(PEC) based on partner admin link access.
274 275 276 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 274 def partner_earned_credit_rate @partner_earned_credit_rate end |
#partner_name ⇒ String
Returns Name of the partner' AAD tenant.
248 249 250 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 248 def partner_name @partner_name end |
#partner_tenant_id ⇒ String
Returns Identifier for the partner's AAD tenant.
245 246 247 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 245 def partner_tenant_id @partner_tenant_id end |
#payg_cost_in_billing_currency ⇒ Object
Returns The amount of PayG cost before tax in billing currency.
267 268 269 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 267 def payg_cost_in_billing_currency @payg_cost_in_billing_currency end |
#payg_cost_in_usd ⇒ Object
Returns The amount of PayG cost before tax in US Dollar currency.
270 271 272 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 270 def payg_cost_in_usd @payg_cost_in_usd end |
#previous_invoice_id ⇒ String
(negative cost). This is populated only when there is a refund.
215 216 217 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 215 def previous_invoice_id @previous_invoice_id end |
#pricing_currency_code ⇒ String
Returns Pricing Billing Currency.
218 219 220 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 218 def pricing_currency_code @pricing_currency_code end |
#product ⇒ String
consumption or purchase as listed in the invoice. Not available for Marketplace.
61 62 63 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 61 def product @product end |
#product_identifier ⇒ String
consumption or purchase . This is the concatenated key of productId and SKuId in partner center.
223 224 225 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 223 def product_identifier @product_identifier end |
#product_order_id ⇒ String
the subscription belongs to. For example: Azure Plan. For reservations this is the Reservation Order ID.
159 160 161 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 159 def product_order_id @product_order_id end |
#product_order_name ⇒ String
that was purchased.
163 164 165 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 163 def product_order_name @product_order_name end |
#publisher_id ⇒ String
Returns Publisher Id.
258 259 260 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 258 def publisher_id @publisher_id end |
#publisher_name ⇒ String
Microsoft or Third Party publishers.
178 179 180 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 178 def publisher_name @publisher_name end |
#publisher_type ⇒ String
first party, third party reseller or third party agency.
182 183 184 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 182 def publisher_type @publisher_type end |
#quantity ⇒ Object
meter used during the billing period.
90 91 92 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 90 def quantity @quantity end |
#reseller_mpn_id ⇒ String
subscription.
252 253 254 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 252 def reseller_mpn_id @reseller_mpn_id end |
#reseller_name ⇒ String
Returns Reseller Name.
255 256 257 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 255 def reseller_name @reseller_name end |
#reservation_id ⇒ String
records relevant to reservations.
149 150 151 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 149 def reservation_id @reservation_id end |
#reservation_name ⇒ String
known name for a particular day is populated in the daily data. Only applies to records relevant to reservations.
154 155 156 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 154 def reservation_name @reservation_name end |
#resource_group ⇒ String
lifecycle management of resources.
145 146 147 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 145 def resource_group @resource_group end |
#resource_location ⇒ String
Returns Name of the resource location.
110 111 112 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 110 def resource_location @resource_location end |
#resource_location_normalized ⇒ String
Returns Resource Location Normalized.
226 227 228 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 226 def resource_location_normalized @resource_location_normalized end |
#service_family ⇒ String
charged (Example: Storage ; Compute).
86 87 88 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 86 def service_family @service_family end |
#service_info1 ⇒ String
Returns Service Info 1.
118 119 120 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 118 def service_info1 @service_info1 end |
#service_info2 ⇒ String
Returns Service Info 2.
121 122 123 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 121 def service_info2 @service_info2 end |
#service_period_end_date ⇒ DateTime
rated for charges. The prices for Azure services are determined based on the rating period.
236 237 238 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 236 def service_period_end_date @service_period_end_date end |
#service_period_start_date ⇒ DateTime
usage was rated for charges. The prices for Azure services are determined for the rating period.
231 232 233 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 231 def service_period_start_date @service_period_start_date end |
#subscription_guid ⇒ String
Subscription.
50 51 52 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 50 def subscription_guid @subscription_guid end |
#subscription_name ⇒ String
Returns Name of the Azure Subscription.
53 54 55 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 53 def subscription_name @subscription_name end |
#term ⇒ String
of the offer. For example. In case of reserved instances it displays 12 months for yearly term of reserved instance. For one time purchases or recurring purchases, the terms displays 1 month; This is not applicable for Azure consumption.
174 175 176 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 174 def term @term end |
#unit_of_measure ⇒ String
For example, GB, hours, 10,000 s.
94 95 96 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 94 def unit_of_measure @unit_of_measure end |
#unit_price ⇒ Object
contract price).
104 105 106 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 104 def unit_price @unit_price end |
Class Method Details
.mapper ⇒ Object
Mapper for ModernUsageDetail class as Ruby Hash. This will be used for serialization/deserialization.
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 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 |
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 285 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'modern', type: { name: 'Composite', class_name: 'ModernUsageDetail', 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' } } } }, kind: { client_side_validation: true, required: true, serialized_name: 'kind', type: { name: 'String' } }, billing_account_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billingAccountId', type: { name: 'String' } }, billing_account_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billingAccountName', type: { name: 'String' } }, billing_period_start_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billingPeriodStartDate', type: { name: 'DateTime' } }, billing_period_end_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billingPeriodEndDate', type: { name: 'DateTime' } }, billing_profile_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billingProfileId', type: { name: 'String' } }, billing_profile_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billingProfileName', 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' } }, date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.date', type: { name: 'DateTime' } }, product: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.product', type: { name: 'String' } }, meter_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.meterId', type: { name: 'String' } }, meter_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.meterName', type: { name: 'String' } }, meter_region: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.meterRegion', type: { name: 'String' } }, meter_category: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.meterCategory', type: { name: 'String' } }, meter_sub_category: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.meterSubCategory', type: { name: 'String' } }, service_family: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serviceFamily', type: { name: 'String' } }, quantity: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.quantity', type: { name: 'Number' } }, unit_of_measure: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.unitOfMeasure', type: { name: 'String' } }, instance_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceName', type: { name: 'String' } }, cost_in_usd: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.costInUSD', type: { name: 'Number' } }, unit_price: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.unitPrice', type: { name: 'Number' } }, billing_currency_code: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.billingCurrencyCode', type: { name: 'String' } }, resource_location: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceLocation', type: { name: 'String' } }, consumed_service: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.consumedService', type: { name: 'String' } }, service_info1: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serviceInfo1', type: { name: 'String' } }, service_info2: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.serviceInfo2', type: { name: 'String' } }, additional_info: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.additionalInfo', type: { name: 'String' } }, invoice_section_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.invoiceSectionId', type: { name: 'String' } }, invoice_section_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.invoiceSectionName', type: { name: 'String' } }, cost_center: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.costCenter', type: { name: 'String' } }, resource_group: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGroup', type: { name: 'String' } }, reservation_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.reservationId', type: { name: 'String' } }, reservation_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.reservationName', type: { name: 'String' } }, product_order_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.productOrderId', type: { name: 'String' } }, product_order_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.productOrderName', type: { name: 'String' } }, is_azure_credit_eligible: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isAzureCreditEligible', type: { name: 'Boolean' } }, term: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.term', type: { name: 'String' } }, publisher_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.publisherName', type: { name: 'String' } }, publisher_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.publisherType', type: { name: 'String' } }, charge_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.chargeType', type: { name: 'String' } }, frequency: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.frequency', type: { name: 'String' } }, cost_in_billing_currency: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.costInBillingCurrency', type: { name: 'Number' } }, cost_in_pricing_currency: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.costInPricingCurrency', type: { name: 'Number' } }, exchange_rate: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.exchangeRate', type: { name: 'String' } }, exchange_rate_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.exchangeRateDate', type: { name: 'DateTime' } }, invoice_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.invoiceId', type: { name: 'String' } }, previous_invoice_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.previousInvoiceId', type: { name: 'String' } }, pricing_currency_code: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.pricingCurrencyCode', type: { name: 'String' } }, product_identifier: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.productIdentifier', type: { name: 'String' } }, resource_location_normalized: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceLocationNormalized', type: { name: 'String' } }, service_period_start_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.servicePeriodStartDate', type: { name: 'DateTime' } }, service_period_end_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.servicePeriodEndDate', type: { name: 'DateTime' } }, customer_tenant_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.customerTenantId', type: { name: 'String' } }, customer_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.customerName', type: { name: 'String' } }, partner_tenant_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.partnerTenantId', type: { name: 'String' } }, partner_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.partnerName', type: { name: 'String' } }, reseller_mpn_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resellerMpnId', type: { name: 'String' } }, reseller_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resellerName', type: { name: 'String' } }, publisher_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.publisherId', type: { name: 'String' } }, market_price: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.marketPrice', type: { name: 'Number' } }, exchange_rate_pricing_to_billing: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.exchangeRatePricingToBilling', type: { name: 'Number' } }, payg_cost_in_billing_currency: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.paygCostInBillingCurrency', type: { name: 'Number' } }, payg_cost_in_usd: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.paygCostInUSD', type: { name: 'Number' } }, partner_earned_credit_rate: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.partnerEarnedCreditRate', type: { name: 'Number' } }, partner_earned_credit_applied: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.partnerEarnedCreditApplied', type: { name: 'String' } } } } } end |