azure_mgmt_consumption 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-04-24-preview/generated/azure_mgmt_consumption/consumption_management_client.rb +7 -6
- data/lib/2017-11-30/generated/azure_mgmt_consumption/consumption_management_client.rb +7 -6
- data/lib/2017-12-30-preview/generated/azure_mgmt_consumption/consumption_management_client.rb +7 -6
- data/lib/2018-01-31/generated/azure_mgmt_consumption/consumption_management_client.rb +7 -6
- data/lib/2018-01-31/generated/azure_mgmt_consumption/price_sheet.rb +28 -12
- data/lib/2018-03-31/generated/azure_mgmt_consumption.rb +84 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/budgets.rb +993 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/consumption_management_client.rb +289 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/cost_tags_operations.rb +233 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/get_balances_by_billing_account.rb +120 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/marketplaces.rb +528 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/marketplaces_by_billing_account.rb +536 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/marketplaces_by_department.rb +536 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/marketplaces_by_enrollment_accounts.rb +536 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/balance.rb +281 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/balance_properties_adjustment_details_item.rb +60 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/balance_properties_new_purchases_details_item.rb +60 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/billing_frequency.rb +17 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/budget.rb +171 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/budget_time_period.rb +58 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/budgets_list_result.rb +101 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/category_type.rb +16 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/cost_tag.rb +46 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/cost_tags.rb +90 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/current_spend.rb +59 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/datagrain.rb +16 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/error_details.rb +59 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/error_response.rb +48 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/filters.rb +134 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/marketplace.rb +375 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/marketplaces_list_result.rb +101 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/meter_details.rb +122 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/notification.rb +139 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/operation.rb +59 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/operation_display.rb +72 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/operation_list_result.rb +103 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/operator_type.rb +17 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/price_sheet_properties.rb +134 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/price_sheet_result.rb +112 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/proxy_resource.rb +84 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/query_options.rb +45 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/reservation_details.rb +187 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/reservation_details_list_result.rb +100 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/reservation_recommendations.rb +224 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/reservation_recommendations_list_result.rb +101 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/reservation_summaries.rb +205 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/reservation_summaries_list_result.rb +101 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/resource.rb +91 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/resource_attributes.rb +59 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/tag.rb +46 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/tags.rb +90 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/time_grain_type.rb +17 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/usage_detail.rb +355 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/models/usage_details_list_result.rb +101 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/module_definition.rb +9 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/operations.rb +216 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/price_sheet.rb +262 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/reservation_recommendations_operations.rb +226 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/reservations_details.rb +449 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/reservations_summaries.rb +465 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/tags_operations.rb +113 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/usage_details.rb +577 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/usage_details_by_billing_account.rb +599 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/usage_details_by_department.rb +592 -0
- data/lib/2018-03-31/generated/azure_mgmt_consumption/usage_details_by_enrollment_account.rb +599 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption.rb +49 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/consumption_management_client.rb +144 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/forecasts.rb +122 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/models/bound.rb +16 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/models/charge_type.rb +16 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/models/error_details.rb +59 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/models/error_response.rb +48 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/models/forecast.rb +163 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/models/forecast_properties_confidence_levels_item.rb +72 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/models/forecasts_list_result.rb +56 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/models/grain.rb +17 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/models/meter_details.rb +122 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/models/operation.rb +59 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/models/operation_display.rb +72 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/models/operation_list_result.rb +103 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/models/price_sheet_properties.rb +146 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/models/price_sheet_result.rb +112 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/models/query_options.rb +45 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/models/resource.rb +91 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/models/usage_detail.rb +403 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/models/usage_details_list_result.rb +101 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/module_definition.rb +9 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/operations.rb +216 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/price_sheet.rb +262 -0
- data/lib/2018-05-31/generated/azure_mgmt_consumption/usage_details.rb +2289 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption.rb +85 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/balances.rb +210 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/budgets.rb +993 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/consumption_management_client.rb +176 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/cost_tags.rb +233 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/forecasts.rb +122 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/marketplaces.rb +2058 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/balance.rb +281 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/balance_properties_adjustment_details_item.rb +60 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/balance_properties_new_purchases_details_item.rb +60 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/billing_frequency.rb +17 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/bound.rb +16 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/budget.rb +171 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/budget_time_period.rb +58 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/budgets_list_result.rb +101 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/category_type.rb +16 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/charge_type.rb +16 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/cost_tag.rb +90 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/cost_tag_properties.rb +46 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/current_spend.rb +59 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/datagrain.rb +16 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/error_details.rb +59 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/error_response.rb +48 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/filters.rb +134 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/forecast.rb +163 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/forecast_properties_confidence_levels_item.rb +72 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/forecasts_list_result.rb +56 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/grain.rb +17 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/marketplace.rb +375 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/marketplaces_list_result.rb +101 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/meter_details.rb +146 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/notification.rb +139 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/operation.rb +59 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/operation_display.rb +72 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/operation_list_result.rb +103 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/operator_type.rb +17 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/price_sheet_properties.rb +146 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/price_sheet_result.rb +112 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/proxy_resource.rb +84 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/query_options.rb +45 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/reservation_detail.rb +187 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/reservation_details_list_result.rb +100 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/reservation_recommendation.rb +224 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/reservation_recommendations_list_result.rb +101 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/reservation_summaries_list_result.rb +100 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/reservation_summary.rb +205 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/resource.rb +91 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/resource_attributes.rb +59 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/tag.rb +46 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/tags_result.rb +90 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/time_grain_type.rb +17 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/usage_detail.rb +415 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/models/usage_details_list_result.rb +101 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/module_definition.rb +9 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/operations.rb +216 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/price_sheet.rb +262 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/reservation_recommendations.rb +226 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/reservations_details.rb +449 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/reservations_summaries.rb +465 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/tags.rb +113 -0
- data/lib/2018-06-30/generated/azure_mgmt_consumption/usage_details.rb +2289 -0
- data/lib/azure_mgmt_consumption.rb +4 -1
- data/lib/profiles/latest/modules/consumption_profile_module.rb +160 -78
- data/lib/version.rb +1 -1
- metadata +150 -4
@@ -0,0 +1,91 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Consumption::Mgmt::V2018_05_31
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The Resource model definition.
|
10
|
+
#
|
11
|
+
class Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Resource Id.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] Resource name.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] Resource type.
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
# @return [Hash{String => String}] Resource tags.
|
25
|
+
attr_accessor :tags
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for Resource class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'Resource',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'Resource',
|
40
|
+
model_properties: {
|
41
|
+
id: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
read_only: true,
|
45
|
+
serialized_name: 'id',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
name: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'name',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
type: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'type',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
tags: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'tags',
|
73
|
+
type: {
|
74
|
+
name: 'Dictionary',
|
75
|
+
value: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'StringElementType',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
@@ -0,0 +1,403 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Consumption::Mgmt::V2018_05_31
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# An usage detail resource.
|
10
|
+
#
|
11
|
+
class UsageDetail < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The id of the billing period resource that the usage
|
16
|
+
# belongs to.
|
17
|
+
attr_accessor :billing_period_id
|
18
|
+
|
19
|
+
# @return [String] The id of the invoice resource that the usage belongs
|
20
|
+
# to.
|
21
|
+
attr_accessor :invoice_id
|
22
|
+
|
23
|
+
# @return [DateTime] The start of the date time range covered by the
|
24
|
+
# usage detail.
|
25
|
+
attr_accessor :usage_start
|
26
|
+
|
27
|
+
# @return [DateTime] The end of the date time range covered by the usage
|
28
|
+
# detail.
|
29
|
+
attr_accessor :usage_end
|
30
|
+
|
31
|
+
# @return [String] The name of the resource instance that the usage is
|
32
|
+
# about.
|
33
|
+
attr_accessor :instance_name
|
34
|
+
|
35
|
+
# @return [String] The uri of the resource instance that the usage is
|
36
|
+
# about.
|
37
|
+
attr_accessor :instance_id
|
38
|
+
|
39
|
+
# @return [String] The location of the resource instance that the usage
|
40
|
+
# is about.
|
41
|
+
attr_accessor :instance_location
|
42
|
+
|
43
|
+
# @return [String] The ISO currency in which the meter is charged, for
|
44
|
+
# example, USD.
|
45
|
+
attr_accessor :currency
|
46
|
+
|
47
|
+
# @return The quantity of usage.
|
48
|
+
attr_accessor :usage_quantity
|
49
|
+
|
50
|
+
# @return The billable usage quantity.
|
51
|
+
attr_accessor :billable_quantity
|
52
|
+
|
53
|
+
# @return The amount of cost before tax.
|
54
|
+
attr_accessor :pretax_cost
|
55
|
+
|
56
|
+
# @return [Boolean] The estimated usage is subject to change.
|
57
|
+
attr_accessor :is_estimated
|
58
|
+
|
59
|
+
# @return The meter id (GUID).
|
60
|
+
attr_accessor :meter_id
|
61
|
+
|
62
|
+
# @return [MeterDetails] The details about the meter. By default this is
|
63
|
+
# not populated, unless it's specified in $expand.
|
64
|
+
attr_accessor :meter_details
|
65
|
+
|
66
|
+
# @return Subscription guid.
|
67
|
+
attr_accessor :subscription_guid
|
68
|
+
|
69
|
+
# @return [String] Subscription name.
|
70
|
+
attr_accessor :subscription_name
|
71
|
+
|
72
|
+
# @return [String] Account name.
|
73
|
+
attr_accessor :account_name
|
74
|
+
|
75
|
+
# @return [String] Department name.
|
76
|
+
attr_accessor :department_name
|
77
|
+
|
78
|
+
# @return [String] Product name.
|
79
|
+
attr_accessor :product
|
80
|
+
|
81
|
+
# @return [String] Consumed service name.
|
82
|
+
attr_accessor :consumed_service
|
83
|
+
|
84
|
+
# @return [String] The cost center of this department if it is a
|
85
|
+
# department and a costcenter exists
|
86
|
+
attr_accessor :cost_center
|
87
|
+
|
88
|
+
# @return [String] Part Number
|
89
|
+
attr_accessor :part_number
|
90
|
+
|
91
|
+
# @return [String] Resource Guid
|
92
|
+
attr_accessor :resource_guid
|
93
|
+
|
94
|
+
# @return [String] Offer Id
|
95
|
+
attr_accessor :offer_id
|
96
|
+
|
97
|
+
# @return [Boolean] Charges billed separately
|
98
|
+
attr_accessor :charges_billed_separately
|
99
|
+
|
100
|
+
# @return [String] Additional details of this usage item. By default this
|
101
|
+
# is not populated, unless it's specified in $expand.
|
102
|
+
attr_accessor :additional_properties
|
103
|
+
|
104
|
+
|
105
|
+
#
|
106
|
+
# Mapper for UsageDetail class as Ruby Hash.
|
107
|
+
# This will be used for serialization/deserialization.
|
108
|
+
#
|
109
|
+
def self.mapper()
|
110
|
+
{
|
111
|
+
client_side_validation: true,
|
112
|
+
required: false,
|
113
|
+
serialized_name: 'UsageDetail',
|
114
|
+
type: {
|
115
|
+
name: 'Composite',
|
116
|
+
class_name: 'UsageDetail',
|
117
|
+
model_properties: {
|
118
|
+
id: {
|
119
|
+
client_side_validation: true,
|
120
|
+
required: false,
|
121
|
+
read_only: true,
|
122
|
+
serialized_name: 'id',
|
123
|
+
type: {
|
124
|
+
name: 'String'
|
125
|
+
}
|
126
|
+
},
|
127
|
+
name: {
|
128
|
+
client_side_validation: true,
|
129
|
+
required: false,
|
130
|
+
read_only: true,
|
131
|
+
serialized_name: 'name',
|
132
|
+
type: {
|
133
|
+
name: 'String'
|
134
|
+
}
|
135
|
+
},
|
136
|
+
type: {
|
137
|
+
client_side_validation: true,
|
138
|
+
required: false,
|
139
|
+
read_only: true,
|
140
|
+
serialized_name: 'type',
|
141
|
+
type: {
|
142
|
+
name: 'String'
|
143
|
+
}
|
144
|
+
},
|
145
|
+
tags: {
|
146
|
+
client_side_validation: true,
|
147
|
+
required: false,
|
148
|
+
read_only: true,
|
149
|
+
serialized_name: 'tags',
|
150
|
+
type: {
|
151
|
+
name: 'Dictionary',
|
152
|
+
value: {
|
153
|
+
client_side_validation: true,
|
154
|
+
required: false,
|
155
|
+
serialized_name: 'StringElementType',
|
156
|
+
type: {
|
157
|
+
name: 'String'
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
},
|
162
|
+
billing_period_id: {
|
163
|
+
client_side_validation: true,
|
164
|
+
required: false,
|
165
|
+
read_only: true,
|
166
|
+
serialized_name: 'properties.billingPeriodId',
|
167
|
+
type: {
|
168
|
+
name: 'String'
|
169
|
+
}
|
170
|
+
},
|
171
|
+
invoice_id: {
|
172
|
+
client_side_validation: true,
|
173
|
+
required: false,
|
174
|
+
read_only: true,
|
175
|
+
serialized_name: 'properties.invoiceId',
|
176
|
+
type: {
|
177
|
+
name: 'String'
|
178
|
+
}
|
179
|
+
},
|
180
|
+
usage_start: {
|
181
|
+
client_side_validation: true,
|
182
|
+
required: false,
|
183
|
+
read_only: true,
|
184
|
+
serialized_name: 'properties.usageStart',
|
185
|
+
type: {
|
186
|
+
name: 'DateTime'
|
187
|
+
}
|
188
|
+
},
|
189
|
+
usage_end: {
|
190
|
+
client_side_validation: true,
|
191
|
+
required: false,
|
192
|
+
read_only: true,
|
193
|
+
serialized_name: 'properties.usageEnd',
|
194
|
+
type: {
|
195
|
+
name: 'DateTime'
|
196
|
+
}
|
197
|
+
},
|
198
|
+
instance_name: {
|
199
|
+
client_side_validation: true,
|
200
|
+
required: false,
|
201
|
+
read_only: true,
|
202
|
+
serialized_name: 'properties.instanceName',
|
203
|
+
type: {
|
204
|
+
name: 'String'
|
205
|
+
}
|
206
|
+
},
|
207
|
+
instance_id: {
|
208
|
+
client_side_validation: true,
|
209
|
+
required: false,
|
210
|
+
read_only: true,
|
211
|
+
serialized_name: 'properties.instanceId',
|
212
|
+
type: {
|
213
|
+
name: 'String'
|
214
|
+
}
|
215
|
+
},
|
216
|
+
instance_location: {
|
217
|
+
client_side_validation: true,
|
218
|
+
required: false,
|
219
|
+
read_only: true,
|
220
|
+
serialized_name: 'properties.instanceLocation',
|
221
|
+
type: {
|
222
|
+
name: 'String'
|
223
|
+
}
|
224
|
+
},
|
225
|
+
currency: {
|
226
|
+
client_side_validation: true,
|
227
|
+
required: false,
|
228
|
+
read_only: true,
|
229
|
+
serialized_name: 'properties.currency',
|
230
|
+
type: {
|
231
|
+
name: 'String'
|
232
|
+
}
|
233
|
+
},
|
234
|
+
usage_quantity: {
|
235
|
+
client_side_validation: true,
|
236
|
+
required: false,
|
237
|
+
read_only: true,
|
238
|
+
serialized_name: 'properties.usageQuantity',
|
239
|
+
type: {
|
240
|
+
name: 'Number'
|
241
|
+
}
|
242
|
+
},
|
243
|
+
billable_quantity: {
|
244
|
+
client_side_validation: true,
|
245
|
+
required: false,
|
246
|
+
read_only: true,
|
247
|
+
serialized_name: 'properties.billableQuantity',
|
248
|
+
type: {
|
249
|
+
name: 'Number'
|
250
|
+
}
|
251
|
+
},
|
252
|
+
pretax_cost: {
|
253
|
+
client_side_validation: true,
|
254
|
+
required: false,
|
255
|
+
read_only: true,
|
256
|
+
serialized_name: 'properties.pretaxCost',
|
257
|
+
type: {
|
258
|
+
name: 'Number'
|
259
|
+
}
|
260
|
+
},
|
261
|
+
is_estimated: {
|
262
|
+
client_side_validation: true,
|
263
|
+
required: false,
|
264
|
+
read_only: true,
|
265
|
+
serialized_name: 'properties.isEstimated',
|
266
|
+
type: {
|
267
|
+
name: 'Boolean'
|
268
|
+
}
|
269
|
+
},
|
270
|
+
meter_id: {
|
271
|
+
client_side_validation: true,
|
272
|
+
required: false,
|
273
|
+
read_only: true,
|
274
|
+
serialized_name: 'properties.meterId',
|
275
|
+
type: {
|
276
|
+
name: 'String'
|
277
|
+
}
|
278
|
+
},
|
279
|
+
meter_details: {
|
280
|
+
client_side_validation: true,
|
281
|
+
required: false,
|
282
|
+
read_only: true,
|
283
|
+
serialized_name: 'properties.meterDetails',
|
284
|
+
type: {
|
285
|
+
name: 'Composite',
|
286
|
+
class_name: 'MeterDetails'
|
287
|
+
}
|
288
|
+
},
|
289
|
+
subscription_guid: {
|
290
|
+
client_side_validation: true,
|
291
|
+
required: false,
|
292
|
+
read_only: true,
|
293
|
+
serialized_name: 'properties.subscriptionGuid',
|
294
|
+
type: {
|
295
|
+
name: 'String'
|
296
|
+
}
|
297
|
+
},
|
298
|
+
subscription_name: {
|
299
|
+
client_side_validation: true,
|
300
|
+
required: false,
|
301
|
+
read_only: true,
|
302
|
+
serialized_name: 'properties.subscriptionName',
|
303
|
+
type: {
|
304
|
+
name: 'String'
|
305
|
+
}
|
306
|
+
},
|
307
|
+
account_name: {
|
308
|
+
client_side_validation: true,
|
309
|
+
required: false,
|
310
|
+
read_only: true,
|
311
|
+
serialized_name: 'properties.accountName',
|
312
|
+
type: {
|
313
|
+
name: 'String'
|
314
|
+
}
|
315
|
+
},
|
316
|
+
department_name: {
|
317
|
+
client_side_validation: true,
|
318
|
+
required: false,
|
319
|
+
read_only: true,
|
320
|
+
serialized_name: 'properties.departmentName',
|
321
|
+
type: {
|
322
|
+
name: 'String'
|
323
|
+
}
|
324
|
+
},
|
325
|
+
product: {
|
326
|
+
client_side_validation: true,
|
327
|
+
required: false,
|
328
|
+
read_only: true,
|
329
|
+
serialized_name: 'properties.product',
|
330
|
+
type: {
|
331
|
+
name: 'String'
|
332
|
+
}
|
333
|
+
},
|
334
|
+
consumed_service: {
|
335
|
+
client_side_validation: true,
|
336
|
+
required: false,
|
337
|
+
read_only: true,
|
338
|
+
serialized_name: 'properties.consumedService',
|
339
|
+
type: {
|
340
|
+
name: 'String'
|
341
|
+
}
|
342
|
+
},
|
343
|
+
cost_center: {
|
344
|
+
client_side_validation: true,
|
345
|
+
required: false,
|
346
|
+
read_only: true,
|
347
|
+
serialized_name: 'properties.costCenter',
|
348
|
+
type: {
|
349
|
+
name: 'String'
|
350
|
+
}
|
351
|
+
},
|
352
|
+
part_number: {
|
353
|
+
client_side_validation: true,
|
354
|
+
required: false,
|
355
|
+
read_only: true,
|
356
|
+
serialized_name: 'properties.partNumber',
|
357
|
+
type: {
|
358
|
+
name: 'String'
|
359
|
+
}
|
360
|
+
},
|
361
|
+
resource_guid: {
|
362
|
+
client_side_validation: true,
|
363
|
+
required: false,
|
364
|
+
read_only: true,
|
365
|
+
serialized_name: 'properties.resourceGuid',
|
366
|
+
type: {
|
367
|
+
name: 'String'
|
368
|
+
}
|
369
|
+
},
|
370
|
+
offer_id: {
|
371
|
+
client_side_validation: true,
|
372
|
+
required: false,
|
373
|
+
read_only: true,
|
374
|
+
serialized_name: 'properties.offerId',
|
375
|
+
type: {
|
376
|
+
name: 'String'
|
377
|
+
}
|
378
|
+
},
|
379
|
+
charges_billed_separately: {
|
380
|
+
client_side_validation: true,
|
381
|
+
required: false,
|
382
|
+
read_only: true,
|
383
|
+
serialized_name: 'properties.chargesBilledSeparately',
|
384
|
+
type: {
|
385
|
+
name: 'Boolean'
|
386
|
+
}
|
387
|
+
},
|
388
|
+
additional_properties: {
|
389
|
+
client_side_validation: true,
|
390
|
+
required: false,
|
391
|
+
read_only: true,
|
392
|
+
serialized_name: 'properties.additionalProperties',
|
393
|
+
type: {
|
394
|
+
name: 'String'
|
395
|
+
}
|
396
|
+
}
|
397
|
+
}
|
398
|
+
}
|
399
|
+
}
|
400
|
+
end
|
401
|
+
end
|
402
|
+
end
|
403
|
+
end
|