Class: Azure::Consumption::Mgmt::V2019_10_01::Models::ModernUsageDetail

Inherits:
UsageDetail show all
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

Attributes inherited from Resource

#id, #name, #tags, #type

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeModernUsageDetail

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_infoString

to get usage line item specific details such as the actual VM Size (ServiceType) or the ratio in which the reservation discount is applied.

Returns:

  • (String)

    Additional details of this usage item. Use this field



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_idString

Returns Billing Account identifier.

Returns:

  • (String)

    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
end

#billing_account_nameString

Returns Name of the Billing Account.

Returns:

  • (String)

    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
end

#billing_currency_codeString

Returns The currency defining the billed cost.

Returns:

  • (String)

    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_dateDateTime

Returns Billing Period End Date as in the invoice.

Returns:

  • (DateTime)

    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_dateDateTime

Returns Billing Period Start Date as in the invoice.

Returns:

  • (DateTime)

    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_idString

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.

Returns:

  • (String)

    Identifier for the billing profile that groups costs



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_nameString

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.

Returns:

  • (String)

    Name of the billing profile that groups costs across



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_typeString

Marketplace purchase, a reservation fee, or a refund.

Returns:

  • (String)

    Indicates a charge represents credits, usage, a



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_serviceString

provider that emits the usage or was purchased. This value is not provided for marketplace usage.

Returns:

  • (String)

    Consumed service name. Name of the azure resource



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_centerString

department and a cost center is provided.

Returns:

  • (String)

    The cost center of this department if it is a



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_currencyObject

Returns ExtendedCost or blended cost before tax in billed currency.

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_currencyObject

correlate with prices.

Returns:

  • ExtendedCost or blended cost before tax in pricing currency to



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_usdObject

Returns Estimated extendedCost or blended cost before tax in USD.

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_nameString

Returns Name of the customer's AAD tenant.

Returns:

  • (String)

    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_idString

Returns Identifier of the customer's AAD tenant.

Returns:

  • (String)

    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

#dateDateTime

Returns Date for the usage record.

Returns:

  • (DateTime)

    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_rateString

to billing currency.

Returns:

  • (String)

    Exchange rate used in conversion from pricing 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_dateDateTime

pricing currency to billing currency.

Returns:

  • (DateTime)

    Date on which exchange rate used in conversion from



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_billingObject

Returns Exchange Rate from pricing currency to billing currency.

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

#frequencyString

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.

Returns:

  • (String)

    Indicates how frequently this charge will occur.



192
193
194
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 192

def frequency
  @frequency
end

#instance_nameString

Returns Instance Name.

Returns:

  • (String)

    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_idString

transaction appears.

Returns:

  • (String)

    Invoice ID as on the invoice where the specific



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_idString

invoice. Not applicable for Microsoft Customer Agreements onboarded by partners.

Returns:

  • (String)

    Identifier of the project that is being charged in the



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_nameString

invoice. Not applicable for Microsoft Customer Agreements onboarded by partners.

Returns:

  • (String)

    Name of the project that is being charged in the



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_eligibleBoolean

using Azure credits.

Returns:

  • (Boolean)

    Determines if the cost is eligible to be paid for



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

#kindObject

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_priceObject

Returns Market Price that's charged for the usage.

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_categoryString

Returns Identifies the top-level service for the usage.

Returns:

  • (String)

    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_idObject

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.

Returns:

  • The meter id (GUID). Not available for marketplace. For



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_nameString

consumption is measured.

Returns:

  • (String)

    Identifies the name of the meter against which



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_regionString

services that are priced based on datacenter location.

Returns:

  • (String)

    Identifies the location of the datacenter for certain



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_categoryString

can affect the rate.

Returns:

  • (String)

    Defines the type or sub-category of Azure service that



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_appliedString

applied or not.

Returns:

  • (String)

    Flag to indicate if partner earned credit has been



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_rateObject

(PEC) based on partner admin link access.

Returns:

  • Rate of discount applied if there is a partner earned credit



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_nameString

Returns Name of the partner' AAD tenant.

Returns:

  • (String)

    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_idString

Returns Identifier for the partner's AAD tenant.

Returns:

  • (String)

    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_currencyObject

Returns The amount of PayG cost before tax in billing currency.

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_usdObject

Returns The amount of PayG cost before tax in US Dollar currency.

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_idString

(negative cost). This is populated only when there is a refund.

Returns:

  • (String)

    Reference to an original invoice 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_codeString

Returns Pricing Billing Currency.

Returns:

  • (String)

    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

#productString

consumption or purchase as listed in the invoice. Not available for Marketplace.

Returns:

  • (String)

    Name of the product that has accrued charges by



61
62
63
# File 'lib/2019-10-01/generated/azure_mgmt_consumption/models/modern_usage_detail.rb', line 61

def product
  @product
end

#product_identifierString

consumption or purchase . This is the concatenated key of productId and SKuId in partner center.

Returns:

  • (String)

    Identifer for the product that has accrued charges by



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_idString

the subscription belongs to. For example: Azure Plan. For reservations this is the Reservation Order ID.

Returns:

  • (String)

    The identifier for the asset or Azure plan name that



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_nameString

that was purchased.

Returns:

  • (String)

    Product Order Name. For reservations this is the SKU



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_idString

Returns Publisher Id.

Returns:

  • (String)

    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_nameString

Microsoft or Third Party publishers.

Returns:

  • (String)

    Name of the publisher of the service including



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_typeString

first party, third party reseller or third party agency.

Returns:

  • (String)

    Type of publisher that identifies if the publisher is



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

#quantityObject

meter used during the billing period.

Returns:

  • Measure the quantity purchased or consumed.The amount of the



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_idString

subscription.

Returns:

  • (String)

    MPNId for the reseller associated with the



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_nameString

Returns Reseller Name.

Returns:

  • (String)

    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_idString

records relevant to reservations.

Returns:

  • (String)

    ARM resource id of the reservation. Only applies to



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_nameString

known name for a particular day is populated in the daily data. Only applies to records relevant to reservations.

Returns:

  • (String)

    User provided display name of the reservation. Last



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_groupString

lifecycle management of resources.

Returns:

  • (String)

    Name of the Azure resource group used for cohesive



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_locationString

Returns Name of the resource location.

Returns:

  • (String)

    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_normalizedString

Returns Resource Location Normalized.

Returns:

  • (String)

    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_familyString

charged (Example: Storage ; Compute).

Returns:

  • (String)

    List the service family for the product purchased or



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_info1String

Returns Service Info 1.

Returns:

  • (String)

    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_info2String

Returns Service Info 2.

Returns:

  • (String)

    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_dateDateTime

rated for charges. The prices for Azure services are determined based on the rating period.

Returns:

  • (DateTime)

    End date for the period when the service usage was



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_dateDateTime

usage was rated for charges. The prices for Azure services are determined for the rating period.

Returns:

  • (DateTime)

    Start date for the rating period when the service



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_guidString

Subscription.

Returns:

  • (String)

    Unique Microsoft generated identifier for the Azure



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_nameString

Returns Name of the Azure Subscription.

Returns:

  • (String)

    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

#termString

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.

Returns:

  • (String)

    Term (in months). Displays the term for the validity



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_measureString

For example, GB, hours, 10,000 s.

Returns:

  • (String)

    Identifies the Unit that the service is charged in.



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_priceObject

contract price).

Returns:

  • Unit Price is the price applicable to you. (your EA or other



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

.mapperObject

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