azure_mgmt_billing 0.15.2 → 0.16.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-02-27-preview/generated/azure_mgmt_billing.rb +38 -0
- data/lib/2017-02-27-preview/generated/azure_mgmt_billing/billing_client.rb +135 -0
- data/lib/2017-02-27-preview/generated/azure_mgmt_billing/invoices.rb +472 -0
- data/lib/2017-02-27-preview/generated/azure_mgmt_billing/models/download_url.rb +61 -0
- data/lib/2017-02-27-preview/generated/azure_mgmt_billing/models/error_details.rb +71 -0
- data/lib/2017-02-27-preview/generated/azure_mgmt_billing/models/error_response.rb +48 -0
- data/lib/2017-02-27-preview/generated/azure_mgmt_billing/models/invoice.rb +99 -0
- data/lib/2017-02-27-preview/generated/azure_mgmt_billing/models/invoices_list_result.rb +101 -0
- data/lib/2017-02-27-preview/generated/azure_mgmt_billing/models/operation.rb +59 -0
- data/lib/2017-02-27-preview/generated/azure_mgmt_billing/models/operation_display.rb +72 -0
- data/lib/2017-02-27-preview/generated/azure_mgmt_billing/models/operation_list_result.rb +103 -0
- data/lib/2017-02-27-preview/generated/azure_mgmt_billing/models/resource.rb +71 -0
- data/lib/2017-02-27-preview/generated/azure_mgmt_billing/module_definition.rb +9 -0
- data/lib/2017-02-27-preview/generated/azure_mgmt_billing/operations.rb +217 -0
- data/lib/2017-04-24-preview/generated/azure_mgmt_billing/billing_management_client.rb +4 -1
- data/lib/2017-04-24-preview/generated/azure_mgmt_billing/billing_periods.rb +21 -18
- data/lib/2017-04-24-preview/generated/azure_mgmt_billing/invoices.rb +27 -23
- data/lib/2017-04-24-preview/generated/azure_mgmt_billing/operations.rb +15 -13
- data/lib/azure_mgmt_billing.rb +1 -0
- data/lib/profiles/latest/billing_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/billing_module_definition.rb +0 -1
- data/lib/profiles/latest/modules/billing_profile_module.rb +62 -43
- data/lib/version.rb +1 -1
- metadata +16 -2
@@ -47,8 +47,8 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
47
47
|
#
|
48
48
|
# @return [Array<Invoice>] operation results.
|
49
49
|
#
|
50
|
-
def list(expand
|
51
|
-
first_page = list_as_lazy(expand, filter, skiptoken, top, custom_headers)
|
50
|
+
def list(expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil)
|
51
|
+
first_page = list_as_lazy(expand:expand, filter:filter, skiptoken:skiptoken, top:top, custom_headers:custom_headers)
|
52
52
|
first_page.get_all_items
|
53
53
|
end
|
54
54
|
|
@@ -76,8 +76,8 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
76
76
|
#
|
77
77
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
78
78
|
#
|
79
|
-
def list_with_http_info(expand
|
80
|
-
list_async(expand, filter, skiptoken, top, custom_headers).value!
|
79
|
+
def list_with_http_info(expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil)
|
80
|
+
list_async(expand:expand, filter:filter, skiptoken:skiptoken, top:top, custom_headers:custom_headers).value!
|
81
81
|
end
|
82
82
|
|
83
83
|
#
|
@@ -104,7 +104,7 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
104
104
|
#
|
105
105
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
106
106
|
#
|
107
|
-
def list_async(expand
|
107
|
+
def list_async(expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil)
|
108
108
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
109
109
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
110
110
|
fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMaximum': '100'" if !top.nil? && top > 100
|
@@ -112,6 +112,7 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
112
112
|
|
113
113
|
|
114
114
|
request_headers = {}
|
115
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
115
116
|
|
116
117
|
# Set Headers
|
117
118
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -166,8 +167,8 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
166
167
|
#
|
167
168
|
# @return [Invoice] operation results.
|
168
169
|
#
|
169
|
-
def get(invoice_name, custom_headers
|
170
|
-
response = get_async(invoice_name, custom_headers).value!
|
170
|
+
def get(invoice_name, custom_headers:nil)
|
171
|
+
response = get_async(invoice_name, custom_headers:custom_headers).value!
|
171
172
|
response.body unless response.nil?
|
172
173
|
end
|
173
174
|
|
@@ -181,8 +182,8 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
181
182
|
#
|
182
183
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
183
184
|
#
|
184
|
-
def get_with_http_info(invoice_name, custom_headers
|
185
|
-
get_async(invoice_name, custom_headers).value!
|
185
|
+
def get_with_http_info(invoice_name, custom_headers:nil)
|
186
|
+
get_async(invoice_name, custom_headers:custom_headers).value!
|
186
187
|
end
|
187
188
|
|
188
189
|
#
|
@@ -195,13 +196,14 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
195
196
|
#
|
196
197
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
197
198
|
#
|
198
|
-
def get_async(invoice_name, custom_headers
|
199
|
+
def get_async(invoice_name, custom_headers:nil)
|
199
200
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
200
201
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
201
202
|
fail ArgumentError, 'invoice_name is nil' if invoice_name.nil?
|
202
203
|
|
203
204
|
|
204
205
|
request_headers = {}
|
206
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
205
207
|
|
206
208
|
# Set Headers
|
207
209
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -255,8 +257,8 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
255
257
|
#
|
256
258
|
# @return [Invoice] operation results.
|
257
259
|
#
|
258
|
-
def get_latest(custom_headers
|
259
|
-
response = get_latest_async(custom_headers).value!
|
260
|
+
def get_latest(custom_headers:nil)
|
261
|
+
response = get_latest_async(custom_headers:custom_headers).value!
|
260
262
|
response.body unless response.nil?
|
261
263
|
end
|
262
264
|
|
@@ -269,8 +271,8 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
269
271
|
#
|
270
272
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
271
273
|
#
|
272
|
-
def get_latest_with_http_info(custom_headers
|
273
|
-
get_latest_async(custom_headers).value!
|
274
|
+
def get_latest_with_http_info(custom_headers:nil)
|
275
|
+
get_latest_async(custom_headers:custom_headers).value!
|
274
276
|
end
|
275
277
|
|
276
278
|
#
|
@@ -282,12 +284,13 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
282
284
|
#
|
283
285
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
284
286
|
#
|
285
|
-
def get_latest_async(custom_headers
|
287
|
+
def get_latest_async(custom_headers:nil)
|
286
288
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
287
289
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
288
290
|
|
289
291
|
|
290
292
|
request_headers = {}
|
293
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
291
294
|
|
292
295
|
# Set Headers
|
293
296
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -345,8 +348,8 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
345
348
|
#
|
346
349
|
# @return [InvoicesListResult] operation results.
|
347
350
|
#
|
348
|
-
def list_next(next_page_link, custom_headers
|
349
|
-
response = list_next_async(next_page_link, custom_headers).value!
|
351
|
+
def list_next(next_page_link, custom_headers:nil)
|
352
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
350
353
|
response.body unless response.nil?
|
351
354
|
end
|
352
355
|
|
@@ -363,8 +366,8 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
363
366
|
#
|
364
367
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
365
368
|
#
|
366
|
-
def list_next_with_http_info(next_page_link, custom_headers
|
367
|
-
list_next_async(next_page_link, custom_headers).value!
|
369
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
370
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
368
371
|
end
|
369
372
|
|
370
373
|
#
|
@@ -380,11 +383,12 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
380
383
|
#
|
381
384
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
382
385
|
#
|
383
|
-
def list_next_async(next_page_link, custom_headers
|
386
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
384
387
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
385
388
|
|
386
389
|
|
387
390
|
request_headers = {}
|
391
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
388
392
|
|
389
393
|
# Set Headers
|
390
394
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -453,12 +457,12 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
453
457
|
# @return [InvoicesListResult] which provide lazy access to pages of the
|
454
458
|
# response.
|
455
459
|
#
|
456
|
-
def list_as_lazy(expand
|
457
|
-
response = list_async(expand, filter, skiptoken, top, custom_headers).value!
|
460
|
+
def list_as_lazy(expand:nil, filter:nil, skiptoken:nil, top:nil, custom_headers:nil)
|
461
|
+
response = list_async(expand:expand, filter:filter, skiptoken:skiptoken, top:top, custom_headers:custom_headers).value!
|
458
462
|
unless response.nil?
|
459
463
|
page = response.body
|
460
464
|
page.next_method = Proc.new do |next_page_link|
|
461
|
-
list_next_async(next_page_link, custom_headers)
|
465
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
462
466
|
end
|
463
467
|
page
|
464
468
|
end
|
@@ -31,8 +31,8 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
31
31
|
#
|
32
32
|
# @return [Array<Operation>] operation results.
|
33
33
|
#
|
34
|
-
def list(custom_headers
|
35
|
-
first_page = list_as_lazy(custom_headers)
|
34
|
+
def list(custom_headers:nil)
|
35
|
+
first_page = list_as_lazy(custom_headers:custom_headers)
|
36
36
|
first_page.get_all_items
|
37
37
|
end
|
38
38
|
|
@@ -44,8 +44,8 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
44
44
|
#
|
45
45
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
46
46
|
#
|
47
|
-
def list_with_http_info(custom_headers
|
48
|
-
list_async(custom_headers).value!
|
47
|
+
def list_with_http_info(custom_headers:nil)
|
48
|
+
list_async(custom_headers:custom_headers).value!
|
49
49
|
end
|
50
50
|
|
51
51
|
#
|
@@ -56,11 +56,12 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
56
56
|
#
|
57
57
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
58
58
|
#
|
59
|
-
def list_async(custom_headers
|
59
|
+
def list_async(custom_headers:nil)
|
60
60
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
61
61
|
|
62
62
|
|
63
63
|
request_headers = {}
|
64
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
64
65
|
|
65
66
|
# Set Headers
|
66
67
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -114,8 +115,8 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
114
115
|
#
|
115
116
|
# @return [OperationListResult] operation results.
|
116
117
|
#
|
117
|
-
def list_next(next_page_link, custom_headers
|
118
|
-
response = list_next_async(next_page_link, custom_headers).value!
|
118
|
+
def list_next(next_page_link, custom_headers:nil)
|
119
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
119
120
|
response.body unless response.nil?
|
120
121
|
end
|
121
122
|
|
@@ -129,8 +130,8 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
129
130
|
#
|
130
131
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
131
132
|
#
|
132
|
-
def list_next_with_http_info(next_page_link, custom_headers
|
133
|
-
list_next_async(next_page_link, custom_headers).value!
|
133
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
134
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
134
135
|
end
|
135
136
|
|
136
137
|
#
|
@@ -143,11 +144,12 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
143
144
|
#
|
144
145
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
145
146
|
#
|
146
|
-
def list_next_async(next_page_link, custom_headers
|
147
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
147
148
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
148
149
|
|
149
150
|
|
150
151
|
request_headers = {}
|
152
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
151
153
|
|
152
154
|
# Set Headers
|
153
155
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -200,12 +202,12 @@ module Azure::Billing::Mgmt::V2017_04_24_preview
|
|
200
202
|
# @return [OperationListResult] which provide lazy access to pages of the
|
201
203
|
# response.
|
202
204
|
#
|
203
|
-
def list_as_lazy(custom_headers
|
204
|
-
response = list_async(custom_headers).value!
|
205
|
+
def list_as_lazy(custom_headers:nil)
|
206
|
+
response = list_async(custom_headers:custom_headers).value!
|
205
207
|
unless response.nil?
|
206
208
|
page = response.body
|
207
209
|
page.next_method = Proc.new do |next_page_link|
|
208
|
-
list_next_async(next_page_link, custom_headers)
|
210
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
209
211
|
end
|
210
212
|
page
|
211
213
|
end
|
data/lib/azure_mgmt_billing.rb
CHANGED
@@ -2,5 +2,6 @@
|
|
2
2
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
4
|
|
5
|
+
require '2017-02-27-preview/generated/azure_mgmt_billing'
|
5
6
|
require '2017-04-24-preview/generated/azure_mgmt_billing'
|
6
7
|
require 'profiles/latest/billing_latest_profile_client'
|
@@ -5,17 +5,36 @@
|
|
5
5
|
require 'profiles/latest/billing_module_definition'
|
6
6
|
require 'profiles/latest/modules/billing_profile_module'
|
7
7
|
|
8
|
-
module Azure::Billing::Profiles::Latest
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
8
|
+
module Azure::Billing::Profiles::Latest
|
9
|
+
module Mgmt
|
10
|
+
#
|
11
|
+
# Client class for the Latest profile SDK.
|
12
|
+
#
|
13
|
+
class Client < BillingManagementClass
|
14
|
+
include MsRestAzure::Common::Configurable
|
14
15
|
|
16
|
+
#
|
17
|
+
# Initializes a new instance of the Client class.
|
18
|
+
# @param options [Hash] hash of client options.
|
19
|
+
# options = {
|
20
|
+
# tenant_id: 'YOUR TENANT ID',
|
21
|
+
# client_id: 'YOUR CLIENT ID',
|
22
|
+
# client_secret: 'YOUR CLIENT SECRET',
|
23
|
+
# subscription_id: 'YOUR SUBSCRIPTION ID',
|
24
|
+
# credentials: credentials,
|
25
|
+
# active_directory_settings: active_directory_settings,
|
26
|
+
# base_url: 'YOUR BASE URL',
|
27
|
+
# options: options
|
28
|
+
# }
|
29
|
+
# 'credentials' are optional and if not passed in the hash, will be obtained
|
30
|
+
# from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
|
31
|
+
#
|
32
|
+
# Also, base_url, active_directory_settings & options are optional.
|
33
|
+
#
|
34
|
+
def initialize(options = {})
|
35
|
+
super(options)
|
36
|
+
end
|
15
37
|
|
16
|
-
def initialize(options = {})
|
17
|
-
super(options)
|
18
38
|
end
|
19
|
-
|
20
39
|
end
|
21
40
|
end
|
@@ -4,7 +4,8 @@
|
|
4
4
|
|
5
5
|
require 'azure_mgmt_billing'
|
6
6
|
|
7
|
-
module Azure::Billing::Profiles::Latest
|
7
|
+
module Azure::Billing::Profiles::Latest
|
8
|
+
module Mgmt
|
8
9
|
BillingPeriods = Azure::Billing::Mgmt::V2017_04_24_preview::BillingPeriods
|
9
10
|
Invoices = Azure::Billing::Mgmt::V2017_04_24_preview::Invoices
|
10
11
|
Operations = Azure::Billing::Mgmt::V2017_04_24_preview::Operations
|
@@ -24,9 +25,9 @@ module Azure::Billing::Profiles::Latest::Mgmt
|
|
24
25
|
end
|
25
26
|
|
26
27
|
#
|
27
|
-
#
|
28
|
+
# BillingManagementClass
|
28
29
|
#
|
29
|
-
class
|
30
|
+
class BillingManagementClass
|
30
31
|
attr_reader :billing_periods, :invoices, :operations, :configurable, :base_url, :options, :model_classes
|
31
32
|
|
32
33
|
def initialize(options = {})
|
@@ -38,53 +39,71 @@ module Azure::Billing::Profiles::Latest::Mgmt
|
|
38
39
|
|
39
40
|
reset!(options)
|
40
41
|
|
41
|
-
@configurable
|
42
|
+
@configurable = self
|
43
|
+
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
44
|
+
@options = options[:options].nil? ? nil:options[:options]
|
42
45
|
|
43
|
-
client_0 = Azure::Billing::Mgmt::V2017_04_24_preview::BillingManagementClient.new(configurable.credentials, base_url, options)
|
44
|
-
if(client_0.respond_to?(:subscription_id))
|
45
|
-
client_0.subscription_id = configurable.subscription_id
|
46
|
+
@client_0 = Azure::Billing::Mgmt::V2017_04_24_preview::BillingManagementClient.new(configurable.credentials, base_url, options)
|
47
|
+
if(@client_0.respond_to?(:subscription_id))
|
48
|
+
@client_0.subscription_id = configurable.subscription_id
|
46
49
|
end
|
47
|
-
@
|
48
|
-
@
|
49
|
-
@
|
50
|
+
add_telemetry(@client_0)
|
51
|
+
@billing_periods = @client_0.billing_periods
|
52
|
+
@invoices = @client_0.invoices
|
53
|
+
@operations = @client_0.operations
|
50
54
|
|
51
55
|
@model_classes = ModelClasses.new
|
52
56
|
end
|
53
57
|
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
def error_details
|
65
|
-
Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorDetails
|
66
|
-
end
|
67
|
-
def operation_display
|
68
|
-
Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationDisplay
|
69
|
-
end
|
70
|
-
def download_url
|
71
|
-
Azure::Billing::Mgmt::V2017_04_24_preview::Models::DownloadUrl
|
72
|
-
end
|
73
|
-
def operation
|
74
|
-
Azure::Billing::Mgmt::V2017_04_24_preview::Models::Operation
|
75
|
-
end
|
76
|
-
def error_response
|
77
|
-
Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorResponse
|
78
|
-
end
|
79
|
-
def operation_list_result
|
80
|
-
Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationListResult
|
81
|
-
end
|
82
|
-
def billing_period
|
83
|
-
Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriod
|
84
|
-
end
|
85
|
-
def invoice
|
86
|
-
Azure::Billing::Mgmt::V2017_04_24_preview::Models::Invoice
|
58
|
+
def add_telemetry(client)
|
59
|
+
profile_information = 'Profiles/Latest/Billing/Mgmt'
|
60
|
+
client.add_user_agent_information(profile_information)
|
61
|
+
end
|
62
|
+
|
63
|
+
def method_missing(method, *args)
|
64
|
+
if @client_0.respond_to?method
|
65
|
+
@client_0.send(method, *args)
|
66
|
+
else
|
67
|
+
super
|
87
68
|
end
|
88
69
|
end
|
70
|
+
|
71
|
+
end
|
72
|
+
|
73
|
+
class ModelClasses
|
74
|
+
def resource
|
75
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::Resource
|
76
|
+
end
|
77
|
+
def billing_periods_list_result
|
78
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriodsListResult
|
79
|
+
end
|
80
|
+
def invoices_list_result
|
81
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::InvoicesListResult
|
82
|
+
end
|
83
|
+
def error_details
|
84
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorDetails
|
85
|
+
end
|
86
|
+
def operation_display
|
87
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationDisplay
|
88
|
+
end
|
89
|
+
def download_url
|
90
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::DownloadUrl
|
91
|
+
end
|
92
|
+
def operation
|
93
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::Operation
|
94
|
+
end
|
95
|
+
def error_response
|
96
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::ErrorResponse
|
97
|
+
end
|
98
|
+
def operation_list_result
|
99
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::OperationListResult
|
100
|
+
end
|
101
|
+
def billing_period
|
102
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::BillingPeriod
|
103
|
+
end
|
104
|
+
def invoice
|
105
|
+
Azure::Billing::Mgmt::V2017_04_24_preview::Models::Invoice
|
106
|
+
end
|
89
107
|
end
|
108
|
+
end
|
90
109
|
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_billing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -87,6 +87,20 @@ extensions: []
|
|
87
87
|
extra_rdoc_files: []
|
88
88
|
files:
|
89
89
|
- LICENSE.txt
|
90
|
+
- lib/2017-02-27-preview/generated/azure_mgmt_billing.rb
|
91
|
+
- lib/2017-02-27-preview/generated/azure_mgmt_billing/billing_client.rb
|
92
|
+
- lib/2017-02-27-preview/generated/azure_mgmt_billing/invoices.rb
|
93
|
+
- lib/2017-02-27-preview/generated/azure_mgmt_billing/models/download_url.rb
|
94
|
+
- lib/2017-02-27-preview/generated/azure_mgmt_billing/models/error_details.rb
|
95
|
+
- lib/2017-02-27-preview/generated/azure_mgmt_billing/models/error_response.rb
|
96
|
+
- lib/2017-02-27-preview/generated/azure_mgmt_billing/models/invoice.rb
|
97
|
+
- lib/2017-02-27-preview/generated/azure_mgmt_billing/models/invoices_list_result.rb
|
98
|
+
- lib/2017-02-27-preview/generated/azure_mgmt_billing/models/operation.rb
|
99
|
+
- lib/2017-02-27-preview/generated/azure_mgmt_billing/models/operation_display.rb
|
100
|
+
- lib/2017-02-27-preview/generated/azure_mgmt_billing/models/operation_list_result.rb
|
101
|
+
- lib/2017-02-27-preview/generated/azure_mgmt_billing/models/resource.rb
|
102
|
+
- lib/2017-02-27-preview/generated/azure_mgmt_billing/module_definition.rb
|
103
|
+
- lib/2017-02-27-preview/generated/azure_mgmt_billing/operations.rb
|
90
104
|
- lib/2017-04-24-preview/generated/azure_mgmt_billing.rb
|
91
105
|
- lib/2017-04-24-preview/generated/azure_mgmt_billing/billing_management_client.rb
|
92
106
|
- lib/2017-04-24-preview/generated/azure_mgmt_billing/billing_periods.rb
|