azure_mgmt_container_service 0.15.2 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/2016-03-30/generated/azure_mgmt_container_service/container_service_client.rb +4 -1
- data/lib/2016-03-30/generated/azure_mgmt_container_service/container_services.rb +38 -35
- data/lib/2016-09-30/generated/azure_mgmt_container_service.rb +1 -1
- data/lib/2016-09-30/generated/azure_mgmt_container_service/{container_service_client.rb → compute_management_client.rb} +6 -3
- data/lib/2016-09-30/generated/azure_mgmt_container_service/container_services.rb +58 -53
- data/lib/2017-01-31/generated/azure_mgmt_container_service/compute_management_client.rb +4 -1
- data/lib/2017-01-31/generated/azure_mgmt_container_service/container_services.rb +56 -51
- data/lib/profiles/latest/containerservice_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/containerservice_module_definition.rb +0 -1
- data/lib/profiles/latest/modules/containerservice_profile_module.rb +75 -56
- data/lib/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bac4383b55cb70a937c0402fde57c55dfaca097
|
4
|
+
data.tar.gz: 0daf40df06e56394a489172c7044c05f49b84ae1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c7758637bbabf914e57909ef4239201a178cd60499fedbc5f4321cf0c7887ef0f9b997b9757a25e06cb1f39cbe149eace67ee574a52f9142f4e2371f03d3888
|
7
|
+
data.tar.gz: 589c83a17898c330d594a21b47fce7755f4f3424741837e6972370e6ab93e5d26727c7fe7f3ad55151850b0aefd0892d8f88eff1049e6f3cc8918d98f4a73f2c
|
@@ -106,6 +106,9 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
106
106
|
fail ArgumentError, 'path is nil' if path.nil?
|
107
107
|
|
108
108
|
request_url = options[:base_url] || @base_url
|
109
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
110
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
111
|
+
end
|
109
112
|
|
110
113
|
request_headers = @request_headers
|
111
114
|
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
@@ -122,7 +125,7 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
122
125
|
#
|
123
126
|
def add_telemetry
|
124
127
|
sdk_information = 'azure_mgmt_container_service'
|
125
|
-
sdk_information = "#{sdk_information}/0.
|
128
|
+
sdk_information = "#{sdk_information}/0.16.0"
|
126
129
|
add_user_agent_information(sdk_information)
|
127
130
|
end
|
128
131
|
end
|
@@ -31,8 +31,8 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
31
31
|
#
|
32
32
|
# @return [ContainerServiceListResult] operation results.
|
33
33
|
#
|
34
|
-
def list(custom_headers
|
35
|
-
response = list_async(custom_headers).value!
|
34
|
+
def list(custom_headers:nil)
|
35
|
+
response = list_async(custom_headers:custom_headers).value!
|
36
36
|
response.body unless response.nil?
|
37
37
|
end
|
38
38
|
|
@@ -46,8 +46,8 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
46
46
|
#
|
47
47
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
48
48
|
#
|
49
|
-
def list_with_http_info(custom_headers
|
50
|
-
list_async(custom_headers).value!
|
49
|
+
def list_with_http_info(custom_headers:nil)
|
50
|
+
list_async(custom_headers:custom_headers).value!
|
51
51
|
end
|
52
52
|
|
53
53
|
#
|
@@ -60,12 +60,13 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
60
60
|
#
|
61
61
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
62
62
|
#
|
63
|
-
def list_async(custom_headers
|
63
|
+
def list_async(custom_headers:nil)
|
64
64
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
65
65
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
66
66
|
|
67
67
|
|
68
68
|
request_headers = {}
|
69
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
69
70
|
|
70
71
|
# Set Headers
|
71
72
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -124,8 +125,8 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
124
125
|
#
|
125
126
|
# @return [ContainerService] operation results.
|
126
127
|
#
|
127
|
-
def create_or_update(resource_group_name, container_service_name, parameters, custom_headers
|
128
|
-
response = create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value!
|
128
|
+
def create_or_update(resource_group_name, container_service_name, parameters, custom_headers:nil)
|
129
|
+
response = create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value!
|
129
130
|
response.body unless response.nil?
|
130
131
|
end
|
131
132
|
|
@@ -141,9 +142,9 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
141
142
|
# @return [Concurrent::Promise] promise which provides async access to http
|
142
143
|
# response.
|
143
144
|
#
|
144
|
-
def create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers
|
145
|
+
def create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:nil)
|
145
146
|
# Send request
|
146
|
-
promise = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers)
|
147
|
+
promise = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers)
|
147
148
|
|
148
149
|
promise = promise.then do |response|
|
149
150
|
# Defining deserialization method.
|
@@ -173,8 +174,8 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
173
174
|
#
|
174
175
|
# @return [ContainerService] operation results.
|
175
176
|
#
|
176
|
-
def get(resource_group_name, container_service_name, custom_headers
|
177
|
-
response = get_async(resource_group_name, container_service_name, custom_headers).value!
|
177
|
+
def get(resource_group_name, container_service_name, custom_headers:nil)
|
178
|
+
response = get_async(resource_group_name, container_service_name, custom_headers:custom_headers).value!
|
178
179
|
response.body unless response.nil?
|
179
180
|
end
|
180
181
|
|
@@ -192,8 +193,8 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
192
193
|
#
|
193
194
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
194
195
|
#
|
195
|
-
def get_with_http_info(resource_group_name, container_service_name, custom_headers
|
196
|
-
get_async(resource_group_name, container_service_name, custom_headers).value!
|
196
|
+
def get_with_http_info(resource_group_name, container_service_name, custom_headers:nil)
|
197
|
+
get_async(resource_group_name, container_service_name, custom_headers:custom_headers).value!
|
197
198
|
end
|
198
199
|
|
199
200
|
#
|
@@ -210,7 +211,7 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
210
211
|
#
|
211
212
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
212
213
|
#
|
213
|
-
def get_async(resource_group_name, container_service_name, custom_headers
|
214
|
+
def get_async(resource_group_name, container_service_name, custom_headers:nil)
|
214
215
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
215
216
|
fail ArgumentError, 'container_service_name is nil' if container_service_name.nil?
|
216
217
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -218,6 +219,7 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
218
219
|
|
219
220
|
|
220
221
|
request_headers = {}
|
222
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
221
223
|
|
222
224
|
# Set Headers
|
223
225
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -275,8 +277,8 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
275
277
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
276
278
|
# will be added to the HTTP request.
|
277
279
|
#
|
278
|
-
def delete(resource_group_name, container_service_name, custom_headers
|
279
|
-
response = delete_async(resource_group_name, container_service_name, custom_headers).value!
|
280
|
+
def delete(resource_group_name, container_service_name, custom_headers:nil)
|
281
|
+
response = delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value!
|
280
282
|
nil
|
281
283
|
end
|
282
284
|
|
@@ -290,9 +292,9 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
290
292
|
# @return [Concurrent::Promise] promise which provides async access to http
|
291
293
|
# response.
|
292
294
|
#
|
293
|
-
def delete_async(resource_group_name, container_service_name, custom_headers
|
295
|
+
def delete_async(resource_group_name, container_service_name, custom_headers:nil)
|
294
296
|
# Send request
|
295
|
-
promise = begin_delete_async(resource_group_name, container_service_name, custom_headers)
|
297
|
+
promise = begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers)
|
296
298
|
|
297
299
|
promise = promise.then do |response|
|
298
300
|
# Defining deserialization method.
|
@@ -318,8 +320,8 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
318
320
|
#
|
319
321
|
# @return [ContainerServiceListResult] operation results.
|
320
322
|
#
|
321
|
-
def list_by_resource_group(resource_group_name, custom_headers
|
322
|
-
response = list_by_resource_group_async(resource_group_name, custom_headers).value!
|
323
|
+
def list_by_resource_group(resource_group_name, custom_headers:nil)
|
324
|
+
response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
|
323
325
|
response.body unless response.nil?
|
324
326
|
end
|
325
327
|
|
@@ -335,8 +337,8 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
335
337
|
#
|
336
338
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
337
339
|
#
|
338
|
-
def list_by_resource_group_with_http_info(resource_group_name, custom_headers
|
339
|
-
list_by_resource_group_async(resource_group_name, custom_headers).value!
|
340
|
+
def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil)
|
341
|
+
list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
|
340
342
|
end
|
341
343
|
|
342
344
|
#
|
@@ -351,13 +353,14 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
351
353
|
#
|
352
354
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
353
355
|
#
|
354
|
-
def list_by_resource_group_async(resource_group_name, custom_headers
|
356
|
+
def list_by_resource_group_async(resource_group_name, custom_headers:nil)
|
355
357
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
356
358
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
357
359
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
358
360
|
|
359
361
|
|
360
362
|
request_headers = {}
|
363
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
361
364
|
|
362
365
|
# Set Headers
|
363
366
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -416,8 +419,8 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
416
419
|
#
|
417
420
|
# @return [ContainerService] operation results.
|
418
421
|
#
|
419
|
-
def begin_create_or_update(resource_group_name, container_service_name, parameters, custom_headers
|
420
|
-
response = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value!
|
422
|
+
def begin_create_or_update(resource_group_name, container_service_name, parameters, custom_headers:nil)
|
423
|
+
response = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value!
|
421
424
|
response.body unless response.nil?
|
422
425
|
end
|
423
426
|
|
@@ -435,8 +438,8 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
435
438
|
#
|
436
439
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
437
440
|
#
|
438
|
-
def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers
|
439
|
-
begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value!
|
441
|
+
def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers:nil)
|
442
|
+
begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value!
|
440
443
|
end
|
441
444
|
|
442
445
|
#
|
@@ -453,7 +456,7 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
453
456
|
#
|
454
457
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
455
458
|
#
|
456
|
-
def begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers
|
459
|
+
def begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:nil)
|
457
460
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
458
461
|
fail ArgumentError, 'container_service_name is nil' if container_service_name.nil?
|
459
462
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
@@ -462,13 +465,12 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
462
465
|
|
463
466
|
|
464
467
|
request_headers = {}
|
468
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
465
469
|
|
466
470
|
# Set Headers
|
467
471
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
468
472
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
469
473
|
|
470
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
471
|
-
|
472
474
|
# Serialize Request
|
473
475
|
request_mapper = Azure::ContainerService::Mgmt::V2016_03_30::Models::ContainerService.mapper()
|
474
476
|
request_content = @client.serialize(request_mapper, parameters)
|
@@ -549,8 +551,8 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
549
551
|
# will be added to the HTTP request.
|
550
552
|
#
|
551
553
|
#
|
552
|
-
def begin_delete(resource_group_name, container_service_name, custom_headers
|
553
|
-
response = begin_delete_async(resource_group_name, container_service_name, custom_headers).value!
|
554
|
+
def begin_delete(resource_group_name, container_service_name, custom_headers:nil)
|
555
|
+
response = begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value!
|
554
556
|
nil
|
555
557
|
end
|
556
558
|
|
@@ -569,8 +571,8 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
569
571
|
#
|
570
572
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
571
573
|
#
|
572
|
-
def begin_delete_with_http_info(resource_group_name, container_service_name, custom_headers
|
573
|
-
begin_delete_async(resource_group_name, container_service_name, custom_headers).value!
|
574
|
+
def begin_delete_with_http_info(resource_group_name, container_service_name, custom_headers:nil)
|
575
|
+
begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value!
|
574
576
|
end
|
575
577
|
|
576
578
|
#
|
@@ -588,7 +590,7 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
588
590
|
#
|
589
591
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
590
592
|
#
|
591
|
-
def begin_delete_async(resource_group_name, container_service_name, custom_headers
|
593
|
+
def begin_delete_async(resource_group_name, container_service_name, custom_headers:nil)
|
592
594
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
593
595
|
fail ArgumentError, 'container_service_name is nil' if container_service_name.nil?
|
594
596
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -596,6 +598,7 @@ module Azure::ContainerService::Mgmt::V2016_03_30
|
|
596
598
|
|
597
599
|
|
598
600
|
request_headers = {}
|
601
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
599
602
|
|
600
603
|
# Set Headers
|
601
604
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -21,7 +21,7 @@ require 'ms_rest_azure'
|
|
21
21
|
|
22
22
|
module Azure::ContainerService::Mgmt::V2016_09_30
|
23
23
|
autoload :ContainerServices, '2016-09-30/generated/azure_mgmt_container_service/container_services.rb'
|
24
|
-
autoload :
|
24
|
+
autoload :ComputeManagementClient, '2016-09-30/generated/azure_mgmt_container_service/compute_management_client.rb'
|
25
25
|
|
26
26
|
module Models
|
27
27
|
autoload :ContainerServiceSshPublicKey, '2016-09-30/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb'
|
@@ -7,7 +7,7 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
7
7
|
#
|
8
8
|
# A service client - single point of access to the REST API.
|
9
9
|
#
|
10
|
-
class
|
10
|
+
class ComputeManagementClient < MsRestAzure::AzureServiceClient
|
11
11
|
include MsRestAzure
|
12
12
|
include MsRestAzure::Serialization
|
13
13
|
|
@@ -40,7 +40,7 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
40
40
|
attr_reader :container_services
|
41
41
|
|
42
42
|
#
|
43
|
-
# Creates initializes a new instance of the
|
43
|
+
# Creates initializes a new instance of the ComputeManagementClient class.
|
44
44
|
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
45
45
|
# @param base_url [String] the base URI of the service.
|
46
46
|
# @param options [Array] filters to be applied to the HTTP requests.
|
@@ -106,6 +106,9 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
106
106
|
fail ArgumentError, 'path is nil' if path.nil?
|
107
107
|
|
108
108
|
request_url = options[:base_url] || @base_url
|
109
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
110
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
111
|
+
end
|
109
112
|
|
110
113
|
request_headers = @request_headers
|
111
114
|
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
@@ -122,7 +125,7 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
122
125
|
#
|
123
126
|
def add_telemetry
|
124
127
|
sdk_information = 'azure_mgmt_container_service'
|
125
|
-
sdk_information = "#{sdk_information}/0.
|
128
|
+
sdk_information = "#{sdk_information}/0.16.0"
|
126
129
|
add_user_agent_information(sdk_information)
|
127
130
|
end
|
128
131
|
end
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
module Azure::ContainerService::Mgmt::V2016_09_30
|
7
7
|
#
|
8
|
-
#
|
8
|
+
# Compute Client
|
9
9
|
#
|
10
10
|
class ContainerServices
|
11
11
|
include MsRestAzure
|
@@ -18,7 +18,7 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
18
18
|
@client = client
|
19
19
|
end
|
20
20
|
|
21
|
-
# @return [
|
21
|
+
# @return [ComputeManagementClient] reference to the ComputeManagementClient
|
22
22
|
attr_reader :client
|
23
23
|
|
24
24
|
#
|
@@ -33,8 +33,8 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
33
33
|
#
|
34
34
|
# @return [Array<ContainerService>] operation results.
|
35
35
|
#
|
36
|
-
def list(custom_headers
|
37
|
-
first_page = list_as_lazy(custom_headers)
|
36
|
+
def list(custom_headers:nil)
|
37
|
+
first_page = list_as_lazy(custom_headers:custom_headers)
|
38
38
|
first_page.get_all_items
|
39
39
|
end
|
40
40
|
|
@@ -50,8 +50,8 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
50
50
|
#
|
51
51
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
52
52
|
#
|
53
|
-
def list_with_http_info(custom_headers
|
54
|
-
list_async(custom_headers).value!
|
53
|
+
def list_with_http_info(custom_headers:nil)
|
54
|
+
list_async(custom_headers:custom_headers).value!
|
55
55
|
end
|
56
56
|
|
57
57
|
#
|
@@ -66,12 +66,13 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
66
66
|
#
|
67
67
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
68
68
|
#
|
69
|
-
def list_async(custom_headers
|
69
|
+
def list_async(custom_headers:nil)
|
70
70
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
71
71
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
72
72
|
|
73
73
|
|
74
74
|
request_headers = {}
|
75
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
75
76
|
|
76
77
|
# Set Headers
|
77
78
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -132,8 +133,8 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
132
133
|
#
|
133
134
|
# @return [ContainerService] operation results.
|
134
135
|
#
|
135
|
-
def create_or_update(resource_group_name, container_service_name, parameters, custom_headers
|
136
|
-
response = create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value!
|
136
|
+
def create_or_update(resource_group_name, container_service_name, parameters, custom_headers:nil)
|
137
|
+
response = create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value!
|
137
138
|
response.body unless response.nil?
|
138
139
|
end
|
139
140
|
|
@@ -149,9 +150,9 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
149
150
|
# @return [Concurrent::Promise] promise which provides async access to http
|
150
151
|
# response.
|
151
152
|
#
|
152
|
-
def create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers
|
153
|
+
def create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:nil)
|
153
154
|
# Send request
|
154
|
-
promise = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers)
|
155
|
+
promise = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers)
|
155
156
|
|
156
157
|
promise = promise.then do |response|
|
157
158
|
# Defining deserialization method.
|
@@ -183,8 +184,8 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
183
184
|
#
|
184
185
|
# @return [ContainerService] operation results.
|
185
186
|
#
|
186
|
-
def get(resource_group_name, container_service_name, custom_headers
|
187
|
-
response = get_async(resource_group_name, container_service_name, custom_headers).value!
|
187
|
+
def get(resource_group_name, container_service_name, custom_headers:nil)
|
188
|
+
response = get_async(resource_group_name, container_service_name, custom_headers:custom_headers).value!
|
188
189
|
response.body unless response.nil?
|
189
190
|
end
|
190
191
|
|
@@ -204,8 +205,8 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
204
205
|
#
|
205
206
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
206
207
|
#
|
207
|
-
def get_with_http_info(resource_group_name, container_service_name, custom_headers
|
208
|
-
get_async(resource_group_name, container_service_name, custom_headers).value!
|
208
|
+
def get_with_http_info(resource_group_name, container_service_name, custom_headers:nil)
|
209
|
+
get_async(resource_group_name, container_service_name, custom_headers:custom_headers).value!
|
209
210
|
end
|
210
211
|
|
211
212
|
#
|
@@ -224,7 +225,7 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
224
225
|
#
|
225
226
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
226
227
|
#
|
227
|
-
def get_async(resource_group_name, container_service_name, custom_headers
|
228
|
+
def get_async(resource_group_name, container_service_name, custom_headers:nil)
|
228
229
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
229
230
|
fail ArgumentError, 'container_service_name is nil' if container_service_name.nil?
|
230
231
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -232,6 +233,7 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
232
233
|
|
233
234
|
|
234
235
|
request_headers = {}
|
236
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
235
237
|
|
236
238
|
# Set Headers
|
237
239
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -291,8 +293,8 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
291
293
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
292
294
|
# will be added to the HTTP request.
|
293
295
|
#
|
294
|
-
def delete(resource_group_name, container_service_name, custom_headers
|
295
|
-
response = delete_async(resource_group_name, container_service_name, custom_headers).value!
|
296
|
+
def delete(resource_group_name, container_service_name, custom_headers:nil)
|
297
|
+
response = delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value!
|
296
298
|
nil
|
297
299
|
end
|
298
300
|
|
@@ -306,9 +308,9 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
306
308
|
# @return [Concurrent::Promise] promise which provides async access to http
|
307
309
|
# response.
|
308
310
|
#
|
309
|
-
def delete_async(resource_group_name, container_service_name, custom_headers
|
311
|
+
def delete_async(resource_group_name, container_service_name, custom_headers:nil)
|
310
312
|
# Send request
|
311
|
-
promise = begin_delete_async(resource_group_name, container_service_name, custom_headers)
|
313
|
+
promise = begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers)
|
312
314
|
|
313
315
|
promise = promise.then do |response|
|
314
316
|
# Defining deserialization method.
|
@@ -336,8 +338,8 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
336
338
|
#
|
337
339
|
# @return [Array<ContainerService>] operation results.
|
338
340
|
#
|
339
|
-
def list_by_resource_group(resource_group_name, custom_headers
|
340
|
-
first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers)
|
341
|
+
def list_by_resource_group(resource_group_name, custom_headers:nil)
|
342
|
+
first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers)
|
341
343
|
first_page.get_all_items
|
342
344
|
end
|
343
345
|
|
@@ -355,8 +357,8 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
355
357
|
#
|
356
358
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
357
359
|
#
|
358
|
-
def list_by_resource_group_with_http_info(resource_group_name, custom_headers
|
359
|
-
list_by_resource_group_async(resource_group_name, custom_headers).value!
|
360
|
+
def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil)
|
361
|
+
list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
|
360
362
|
end
|
361
363
|
|
362
364
|
#
|
@@ -373,13 +375,14 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
373
375
|
#
|
374
376
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
375
377
|
#
|
376
|
-
def list_by_resource_group_async(resource_group_name, custom_headers
|
378
|
+
def list_by_resource_group_async(resource_group_name, custom_headers:nil)
|
377
379
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
378
380
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
379
381
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
380
382
|
|
381
383
|
|
382
384
|
request_headers = {}
|
385
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
383
386
|
|
384
387
|
# Set Headers
|
385
388
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -440,8 +443,8 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
440
443
|
#
|
441
444
|
# @return [ContainerService] operation results.
|
442
445
|
#
|
443
|
-
def begin_create_or_update(resource_group_name, container_service_name, parameters, custom_headers
|
444
|
-
response = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value!
|
446
|
+
def begin_create_or_update(resource_group_name, container_service_name, parameters, custom_headers:nil)
|
447
|
+
response = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value!
|
445
448
|
response.body unless response.nil?
|
446
449
|
end
|
447
450
|
|
@@ -461,8 +464,8 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
461
464
|
#
|
462
465
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
463
466
|
#
|
464
|
-
def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers
|
465
|
-
begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value!
|
467
|
+
def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers:nil)
|
468
|
+
begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value!
|
466
469
|
end
|
467
470
|
|
468
471
|
#
|
@@ -481,7 +484,7 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
481
484
|
#
|
482
485
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
483
486
|
#
|
484
|
-
def begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers
|
487
|
+
def begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:nil)
|
485
488
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
486
489
|
fail ArgumentError, 'container_service_name is nil' if container_service_name.nil?
|
487
490
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
@@ -490,13 +493,12 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
490
493
|
|
491
494
|
|
492
495
|
request_headers = {}
|
496
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
493
497
|
|
494
498
|
# Set Headers
|
495
499
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
496
500
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
497
501
|
|
498
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
499
|
-
|
500
502
|
# Serialize Request
|
501
503
|
request_mapper = Azure::ContainerService::Mgmt::V2016_09_30::Models::ContainerService.mapper()
|
502
504
|
request_content = @client.serialize(request_mapper, parameters)
|
@@ -579,8 +581,8 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
579
581
|
# will be added to the HTTP request.
|
580
582
|
#
|
581
583
|
#
|
582
|
-
def begin_delete(resource_group_name, container_service_name, custom_headers
|
583
|
-
response = begin_delete_async(resource_group_name, container_service_name, custom_headers).value!
|
584
|
+
def begin_delete(resource_group_name, container_service_name, custom_headers:nil)
|
585
|
+
response = begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value!
|
584
586
|
nil
|
585
587
|
end
|
586
588
|
|
@@ -601,8 +603,8 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
601
603
|
#
|
602
604
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
603
605
|
#
|
604
|
-
def begin_delete_with_http_info(resource_group_name, container_service_name, custom_headers
|
605
|
-
begin_delete_async(resource_group_name, container_service_name, custom_headers).value!
|
606
|
+
def begin_delete_with_http_info(resource_group_name, container_service_name, custom_headers:nil)
|
607
|
+
begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value!
|
606
608
|
end
|
607
609
|
|
608
610
|
#
|
@@ -622,7 +624,7 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
622
624
|
#
|
623
625
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
624
626
|
#
|
625
|
-
def begin_delete_async(resource_group_name, container_service_name, custom_headers
|
627
|
+
def begin_delete_async(resource_group_name, container_service_name, custom_headers:nil)
|
626
628
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
627
629
|
fail ArgumentError, 'container_service_name is nil' if container_service_name.nil?
|
628
630
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -630,6 +632,7 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
630
632
|
|
631
633
|
|
632
634
|
request_headers = {}
|
635
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
633
636
|
|
634
637
|
# Set Headers
|
635
638
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -678,8 +681,8 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
678
681
|
#
|
679
682
|
# @return [ContainerServiceListResult] operation results.
|
680
683
|
#
|
681
|
-
def list_next(next_page_link, custom_headers
|
682
|
-
response = list_next_async(next_page_link, custom_headers).value!
|
684
|
+
def list_next(next_page_link, custom_headers:nil)
|
685
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
683
686
|
response.body unless response.nil?
|
684
687
|
end
|
685
688
|
|
@@ -697,8 +700,8 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
697
700
|
#
|
698
701
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
699
702
|
#
|
700
|
-
def list_next_with_http_info(next_page_link, custom_headers
|
701
|
-
list_next_async(next_page_link, custom_headers).value!
|
703
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
704
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
702
705
|
end
|
703
706
|
|
704
707
|
#
|
@@ -715,11 +718,12 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
715
718
|
#
|
716
719
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
717
720
|
#
|
718
|
-
def list_next_async(next_page_link, custom_headers
|
721
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
719
722
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
720
723
|
|
721
724
|
|
722
725
|
request_headers = {}
|
726
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
723
727
|
|
724
728
|
# Set Headers
|
725
729
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -778,8 +782,8 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
778
782
|
#
|
779
783
|
# @return [ContainerServiceListResult] operation results.
|
780
784
|
#
|
781
|
-
def list_by_resource_group_next(next_page_link, custom_headers
|
782
|
-
response = list_by_resource_group_next_async(next_page_link, custom_headers).value!
|
785
|
+
def list_by_resource_group_next(next_page_link, custom_headers:nil)
|
786
|
+
response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
783
787
|
response.body unless response.nil?
|
784
788
|
end
|
785
789
|
|
@@ -798,8 +802,8 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
798
802
|
#
|
799
803
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
800
804
|
#
|
801
|
-
def list_by_resource_group_next_with_http_info(next_page_link, custom_headers
|
802
|
-
list_by_resource_group_next_async(next_page_link, custom_headers).value!
|
805
|
+
def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
|
806
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
803
807
|
end
|
804
808
|
|
805
809
|
#
|
@@ -817,11 +821,12 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
817
821
|
#
|
818
822
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
819
823
|
#
|
820
|
-
def list_by_resource_group_next_async(next_page_link, custom_headers
|
824
|
+
def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
|
821
825
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
822
826
|
|
823
827
|
|
824
828
|
request_headers = {}
|
829
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
825
830
|
|
826
831
|
# Set Headers
|
827
832
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -878,12 +883,12 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
878
883
|
# @return [ContainerServiceListResult] which provide lazy access to pages of
|
879
884
|
# the response.
|
880
885
|
#
|
881
|
-
def list_as_lazy(custom_headers
|
882
|
-
response = list_async(custom_headers).value!
|
886
|
+
def list_as_lazy(custom_headers:nil)
|
887
|
+
response = list_async(custom_headers:custom_headers).value!
|
883
888
|
unless response.nil?
|
884
889
|
page = response.body
|
885
890
|
page.next_method = Proc.new do |next_page_link|
|
886
|
-
list_next_async(next_page_link, custom_headers)
|
891
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
887
892
|
end
|
888
893
|
page
|
889
894
|
end
|
@@ -904,12 +909,12 @@ module Azure::ContainerService::Mgmt::V2016_09_30
|
|
904
909
|
# @return [ContainerServiceListResult] which provide lazy access to pages of
|
905
910
|
# the response.
|
906
911
|
#
|
907
|
-
def list_by_resource_group_as_lazy(resource_group_name, custom_headers
|
908
|
-
response = list_by_resource_group_async(resource_group_name, custom_headers).value!
|
912
|
+
def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil)
|
913
|
+
response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
|
909
914
|
unless response.nil?
|
910
915
|
page = response.body
|
911
916
|
page.next_method = Proc.new do |next_page_link|
|
912
|
-
list_by_resource_group_next_async(next_page_link, custom_headers)
|
917
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
|
913
918
|
end
|
914
919
|
page
|
915
920
|
end
|
@@ -106,6 +106,9 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
106
106
|
fail ArgumentError, 'path is nil' if path.nil?
|
107
107
|
|
108
108
|
request_url = options[:base_url] || @base_url
|
109
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
110
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
111
|
+
end
|
109
112
|
|
110
113
|
request_headers = @request_headers
|
111
114
|
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
@@ -122,7 +125,7 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
122
125
|
#
|
123
126
|
def add_telemetry
|
124
127
|
sdk_information = 'azure_mgmt_container_service'
|
125
|
-
sdk_information = "#{sdk_information}/0.
|
128
|
+
sdk_information = "#{sdk_information}/0.16.0"
|
126
129
|
add_user_agent_information(sdk_information)
|
127
130
|
end
|
128
131
|
end
|
@@ -33,8 +33,8 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
33
33
|
#
|
34
34
|
# @return [Array<ContainerService>] operation results.
|
35
35
|
#
|
36
|
-
def list(custom_headers
|
37
|
-
first_page = list_as_lazy(custom_headers)
|
36
|
+
def list(custom_headers:nil)
|
37
|
+
first_page = list_as_lazy(custom_headers:custom_headers)
|
38
38
|
first_page.get_all_items
|
39
39
|
end
|
40
40
|
|
@@ -50,8 +50,8 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
50
50
|
#
|
51
51
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
52
52
|
#
|
53
|
-
def list_with_http_info(custom_headers
|
54
|
-
list_async(custom_headers).value!
|
53
|
+
def list_with_http_info(custom_headers:nil)
|
54
|
+
list_async(custom_headers:custom_headers).value!
|
55
55
|
end
|
56
56
|
|
57
57
|
#
|
@@ -66,12 +66,13 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
66
66
|
#
|
67
67
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
68
68
|
#
|
69
|
-
def list_async(custom_headers
|
69
|
+
def list_async(custom_headers:nil)
|
70
70
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
71
71
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
72
72
|
|
73
73
|
|
74
74
|
request_headers = {}
|
75
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
75
76
|
|
76
77
|
# Set Headers
|
77
78
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -132,8 +133,8 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
132
133
|
#
|
133
134
|
# @return [ContainerService] operation results.
|
134
135
|
#
|
135
|
-
def create_or_update(resource_group_name, container_service_name, parameters, custom_headers
|
136
|
-
response = create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value!
|
136
|
+
def create_or_update(resource_group_name, container_service_name, parameters, custom_headers:nil)
|
137
|
+
response = create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value!
|
137
138
|
response.body unless response.nil?
|
138
139
|
end
|
139
140
|
|
@@ -149,9 +150,9 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
149
150
|
# @return [Concurrent::Promise] promise which provides async access to http
|
150
151
|
# response.
|
151
152
|
#
|
152
|
-
def create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers
|
153
|
+
def create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:nil)
|
153
154
|
# Send request
|
154
|
-
promise = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers)
|
155
|
+
promise = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers)
|
155
156
|
|
156
157
|
promise = promise.then do |response|
|
157
158
|
# Defining deserialization method.
|
@@ -183,8 +184,8 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
183
184
|
#
|
184
185
|
# @return [ContainerService] operation results.
|
185
186
|
#
|
186
|
-
def get(resource_group_name, container_service_name, custom_headers
|
187
|
-
response = get_async(resource_group_name, container_service_name, custom_headers).value!
|
187
|
+
def get(resource_group_name, container_service_name, custom_headers:nil)
|
188
|
+
response = get_async(resource_group_name, container_service_name, custom_headers:custom_headers).value!
|
188
189
|
response.body unless response.nil?
|
189
190
|
end
|
190
191
|
|
@@ -204,8 +205,8 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
204
205
|
#
|
205
206
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
206
207
|
#
|
207
|
-
def get_with_http_info(resource_group_name, container_service_name, custom_headers
|
208
|
-
get_async(resource_group_name, container_service_name, custom_headers).value!
|
208
|
+
def get_with_http_info(resource_group_name, container_service_name, custom_headers:nil)
|
209
|
+
get_async(resource_group_name, container_service_name, custom_headers:custom_headers).value!
|
209
210
|
end
|
210
211
|
|
211
212
|
#
|
@@ -224,7 +225,7 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
224
225
|
#
|
225
226
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
226
227
|
#
|
227
|
-
def get_async(resource_group_name, container_service_name, custom_headers
|
228
|
+
def get_async(resource_group_name, container_service_name, custom_headers:nil)
|
228
229
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
229
230
|
fail ArgumentError, 'container_service_name is nil' if container_service_name.nil?
|
230
231
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -232,6 +233,7 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
232
233
|
|
233
234
|
|
234
235
|
request_headers = {}
|
236
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
235
237
|
|
236
238
|
# Set Headers
|
237
239
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -291,8 +293,8 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
291
293
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
292
294
|
# will be added to the HTTP request.
|
293
295
|
#
|
294
|
-
def delete(resource_group_name, container_service_name, custom_headers
|
295
|
-
response = delete_async(resource_group_name, container_service_name, custom_headers).value!
|
296
|
+
def delete(resource_group_name, container_service_name, custom_headers:nil)
|
297
|
+
response = delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value!
|
296
298
|
nil
|
297
299
|
end
|
298
300
|
|
@@ -306,9 +308,9 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
306
308
|
# @return [Concurrent::Promise] promise which provides async access to http
|
307
309
|
# response.
|
308
310
|
#
|
309
|
-
def delete_async(resource_group_name, container_service_name, custom_headers
|
311
|
+
def delete_async(resource_group_name, container_service_name, custom_headers:nil)
|
310
312
|
# Send request
|
311
|
-
promise = begin_delete_async(resource_group_name, container_service_name, custom_headers)
|
313
|
+
promise = begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers)
|
312
314
|
|
313
315
|
promise = promise.then do |response|
|
314
316
|
# Defining deserialization method.
|
@@ -336,8 +338,8 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
336
338
|
#
|
337
339
|
# @return [Array<ContainerService>] operation results.
|
338
340
|
#
|
339
|
-
def list_by_resource_group(resource_group_name, custom_headers
|
340
|
-
first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers)
|
341
|
+
def list_by_resource_group(resource_group_name, custom_headers:nil)
|
342
|
+
first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers)
|
341
343
|
first_page.get_all_items
|
342
344
|
end
|
343
345
|
|
@@ -355,8 +357,8 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
355
357
|
#
|
356
358
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
357
359
|
#
|
358
|
-
def list_by_resource_group_with_http_info(resource_group_name, custom_headers
|
359
|
-
list_by_resource_group_async(resource_group_name, custom_headers).value!
|
360
|
+
def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil)
|
361
|
+
list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
|
360
362
|
end
|
361
363
|
|
362
364
|
#
|
@@ -373,13 +375,14 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
373
375
|
#
|
374
376
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
375
377
|
#
|
376
|
-
def list_by_resource_group_async(resource_group_name, custom_headers
|
378
|
+
def list_by_resource_group_async(resource_group_name, custom_headers:nil)
|
377
379
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
378
380
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
379
381
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
380
382
|
|
381
383
|
|
382
384
|
request_headers = {}
|
385
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
383
386
|
|
384
387
|
# Set Headers
|
385
388
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -440,8 +443,8 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
440
443
|
#
|
441
444
|
# @return [ContainerService] operation results.
|
442
445
|
#
|
443
|
-
def begin_create_or_update(resource_group_name, container_service_name, parameters, custom_headers
|
444
|
-
response = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value!
|
446
|
+
def begin_create_or_update(resource_group_name, container_service_name, parameters, custom_headers:nil)
|
447
|
+
response = begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value!
|
445
448
|
response.body unless response.nil?
|
446
449
|
end
|
447
450
|
|
@@ -461,8 +464,8 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
461
464
|
#
|
462
465
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
463
466
|
#
|
464
|
-
def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers
|
465
|
-
begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers).value!
|
467
|
+
def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers:nil)
|
468
|
+
begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value!
|
466
469
|
end
|
467
470
|
|
468
471
|
#
|
@@ -481,7 +484,7 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
481
484
|
#
|
482
485
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
483
486
|
#
|
484
|
-
def begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers
|
487
|
+
def begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:nil)
|
485
488
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
486
489
|
fail ArgumentError, 'container_service_name is nil' if container_service_name.nil?
|
487
490
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
@@ -490,13 +493,12 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
490
493
|
|
491
494
|
|
492
495
|
request_headers = {}
|
496
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
493
497
|
|
494
498
|
# Set Headers
|
495
499
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
496
500
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
497
501
|
|
498
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
499
|
-
|
500
502
|
# Serialize Request
|
501
503
|
request_mapper = Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerService.mapper()
|
502
504
|
request_content = @client.serialize(request_mapper, parameters)
|
@@ -579,8 +581,8 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
579
581
|
# will be added to the HTTP request.
|
580
582
|
#
|
581
583
|
#
|
582
|
-
def begin_delete(resource_group_name, container_service_name, custom_headers
|
583
|
-
response = begin_delete_async(resource_group_name, container_service_name, custom_headers).value!
|
584
|
+
def begin_delete(resource_group_name, container_service_name, custom_headers:nil)
|
585
|
+
response = begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value!
|
584
586
|
nil
|
585
587
|
end
|
586
588
|
|
@@ -601,8 +603,8 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
601
603
|
#
|
602
604
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
603
605
|
#
|
604
|
-
def begin_delete_with_http_info(resource_group_name, container_service_name, custom_headers
|
605
|
-
begin_delete_async(resource_group_name, container_service_name, custom_headers).value!
|
606
|
+
def begin_delete_with_http_info(resource_group_name, container_service_name, custom_headers:nil)
|
607
|
+
begin_delete_async(resource_group_name, container_service_name, custom_headers:custom_headers).value!
|
606
608
|
end
|
607
609
|
|
608
610
|
#
|
@@ -622,7 +624,7 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
622
624
|
#
|
623
625
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
624
626
|
#
|
625
|
-
def begin_delete_async(resource_group_name, container_service_name, custom_headers
|
627
|
+
def begin_delete_async(resource_group_name, container_service_name, custom_headers:nil)
|
626
628
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
627
629
|
fail ArgumentError, 'container_service_name is nil' if container_service_name.nil?
|
628
630
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -630,6 +632,7 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
630
632
|
|
631
633
|
|
632
634
|
request_headers = {}
|
635
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
633
636
|
|
634
637
|
# Set Headers
|
635
638
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -678,8 +681,8 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
678
681
|
#
|
679
682
|
# @return [ContainerServiceListResult] operation results.
|
680
683
|
#
|
681
|
-
def list_next(next_page_link, custom_headers
|
682
|
-
response = list_next_async(next_page_link, custom_headers).value!
|
684
|
+
def list_next(next_page_link, custom_headers:nil)
|
685
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
683
686
|
response.body unless response.nil?
|
684
687
|
end
|
685
688
|
|
@@ -697,8 +700,8 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
697
700
|
#
|
698
701
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
699
702
|
#
|
700
|
-
def list_next_with_http_info(next_page_link, custom_headers
|
701
|
-
list_next_async(next_page_link, custom_headers).value!
|
703
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
704
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
702
705
|
end
|
703
706
|
|
704
707
|
#
|
@@ -715,11 +718,12 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
715
718
|
#
|
716
719
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
717
720
|
#
|
718
|
-
def list_next_async(next_page_link, custom_headers
|
721
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
719
722
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
720
723
|
|
721
724
|
|
722
725
|
request_headers = {}
|
726
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
723
727
|
|
724
728
|
# Set Headers
|
725
729
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -778,8 +782,8 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
778
782
|
#
|
779
783
|
# @return [ContainerServiceListResult] operation results.
|
780
784
|
#
|
781
|
-
def list_by_resource_group_next(next_page_link, custom_headers
|
782
|
-
response = list_by_resource_group_next_async(next_page_link, custom_headers).value!
|
785
|
+
def list_by_resource_group_next(next_page_link, custom_headers:nil)
|
786
|
+
response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
783
787
|
response.body unless response.nil?
|
784
788
|
end
|
785
789
|
|
@@ -798,8 +802,8 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
798
802
|
#
|
799
803
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
800
804
|
#
|
801
|
-
def list_by_resource_group_next_with_http_info(next_page_link, custom_headers
|
802
|
-
list_by_resource_group_next_async(next_page_link, custom_headers).value!
|
805
|
+
def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
|
806
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
803
807
|
end
|
804
808
|
|
805
809
|
#
|
@@ -817,11 +821,12 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
817
821
|
#
|
818
822
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
819
823
|
#
|
820
|
-
def list_by_resource_group_next_async(next_page_link, custom_headers
|
824
|
+
def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
|
821
825
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
822
826
|
|
823
827
|
|
824
828
|
request_headers = {}
|
829
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
825
830
|
|
826
831
|
# Set Headers
|
827
832
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -878,12 +883,12 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
878
883
|
# @return [ContainerServiceListResult] which provide lazy access to pages of
|
879
884
|
# the response.
|
880
885
|
#
|
881
|
-
def list_as_lazy(custom_headers
|
882
|
-
response = list_async(custom_headers).value!
|
886
|
+
def list_as_lazy(custom_headers:nil)
|
887
|
+
response = list_async(custom_headers:custom_headers).value!
|
883
888
|
unless response.nil?
|
884
889
|
page = response.body
|
885
890
|
page.next_method = Proc.new do |next_page_link|
|
886
|
-
list_next_async(next_page_link, custom_headers)
|
891
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
887
892
|
end
|
888
893
|
page
|
889
894
|
end
|
@@ -904,12 +909,12 @@ module Azure::ContainerService::Mgmt::V2017_01_31
|
|
904
909
|
# @return [ContainerServiceListResult] which provide lazy access to pages of
|
905
910
|
# the response.
|
906
911
|
#
|
907
|
-
def list_by_resource_group_as_lazy(resource_group_name, custom_headers
|
908
|
-
response = list_by_resource_group_async(resource_group_name, custom_headers).value!
|
912
|
+
def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil)
|
913
|
+
response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
|
909
914
|
unless response.nil?
|
910
915
|
page = response.body
|
911
916
|
page.next_method = Proc.new do |next_page_link|
|
912
|
-
list_by_resource_group_next_async(next_page_link, custom_headers)
|
917
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
|
913
918
|
end
|
914
919
|
page
|
915
920
|
end
|
@@ -5,17 +5,36 @@
|
|
5
5
|
require 'profiles/latest/containerservice_module_definition'
|
6
6
|
require 'profiles/latest/modules/containerservice_profile_module'
|
7
7
|
|
8
|
-
module Azure::ContainerService::Profiles::Latest
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
8
|
+
module Azure::ContainerService::Profiles::Latest
|
9
|
+
module Mgmt
|
10
|
+
#
|
11
|
+
# Client class for the Latest profile SDK.
|
12
|
+
#
|
13
|
+
class Client < ContainerServiceManagementClass
|
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_container_service'
|
6
6
|
|
7
|
-
module Azure::ContainerService::Profiles::Latest
|
7
|
+
module Azure::ContainerService::Profiles::Latest
|
8
|
+
module Mgmt
|
8
9
|
ContainerServices = Azure::ContainerService::Mgmt::V2017_01_31::ContainerServices
|
9
10
|
|
10
11
|
module Models
|
@@ -27,9 +28,9 @@ module Azure::ContainerService::Profiles::Latest::Mgmt
|
|
27
28
|
end
|
28
29
|
|
29
30
|
#
|
30
|
-
#
|
31
|
+
# ContainerServiceManagementClass
|
31
32
|
#
|
32
|
-
class
|
33
|
+
class ContainerServiceManagementClass
|
33
34
|
attr_reader :container_services, :configurable, :base_url, :options, :model_classes
|
34
35
|
|
35
36
|
def initialize(options = {})
|
@@ -41,66 +42,84 @@ module Azure::ContainerService::Profiles::Latest::Mgmt
|
|
41
42
|
|
42
43
|
reset!(options)
|
43
44
|
|
44
|
-
@configurable
|
45
|
+
@configurable = self
|
46
|
+
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
47
|
+
@options = options[:options].nil? ? nil:options[:options]
|
45
48
|
|
46
|
-
client_0 = Azure::ContainerService::Mgmt::V2017_01_31::ComputeManagementClient.new(configurable.credentials, base_url, options)
|
47
|
-
if(client_0.respond_to?(:subscription_id))
|
48
|
-
client_0.subscription_id = configurable.subscription_id
|
49
|
+
@client_0 = Azure::ContainerService::Mgmt::V2017_01_31::ComputeManagementClient.new(configurable.credentials, base_url, options)
|
50
|
+
if(@client_0.respond_to?(:subscription_id))
|
51
|
+
@client_0.subscription_id = configurable.subscription_id
|
49
52
|
end
|
50
|
-
@
|
53
|
+
add_telemetry(@client_0)
|
54
|
+
@container_services = @client_0.container_services
|
51
55
|
|
52
56
|
@model_classes = ModelClasses.new
|
53
57
|
end
|
54
58
|
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
def container_service_service_principal_profile
|
66
|
-
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceServicePrincipalProfile
|
67
|
-
end
|
68
|
-
def container_service_linux_profile
|
69
|
-
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceLinuxProfile
|
70
|
-
end
|
71
|
-
def container_service_master_profile
|
72
|
-
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceMasterProfile
|
73
|
-
end
|
74
|
-
def container_service_vmdiagnostics
|
75
|
-
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceVMDiagnostics
|
76
|
-
end
|
77
|
-
def container_service_windows_profile
|
78
|
-
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceWindowsProfile
|
79
|
-
end
|
80
|
-
def container_service_diagnostics_profile
|
81
|
-
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceDiagnosticsProfile
|
82
|
-
end
|
83
|
-
def container_service_orchestrator_profile
|
84
|
-
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceOrchestratorProfile
|
85
|
-
end
|
86
|
-
def container_service_agent_pool_profile
|
87
|
-
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceAgentPoolProfile
|
88
|
-
end
|
89
|
-
def container_service_custom_profile
|
90
|
-
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceCustomProfile
|
91
|
-
end
|
92
|
-
def container_service_list_result
|
93
|
-
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceListResult
|
94
|
-
end
|
95
|
-
def container_service
|
96
|
-
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerService
|
97
|
-
end
|
98
|
-
def container_service_orchestrator_types
|
99
|
-
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceOrchestratorTypes
|
100
|
-
end
|
101
|
-
def container_service_vmsize_types
|
102
|
-
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceVMSizeTypes
|
59
|
+
def add_telemetry(client)
|
60
|
+
profile_information = 'Profiles/Latest/ContainerService/Mgmt'
|
61
|
+
client.add_user_agent_information(profile_information)
|
62
|
+
end
|
63
|
+
|
64
|
+
def method_missing(method, *args)
|
65
|
+
if @client_0.respond_to?method
|
66
|
+
@client_0.send(method, *args)
|
67
|
+
else
|
68
|
+
super
|
103
69
|
end
|
104
70
|
end
|
71
|
+
|
72
|
+
end
|
73
|
+
|
74
|
+
class ModelClasses
|
75
|
+
def container_service_ssh_public_key
|
76
|
+
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceSshPublicKey
|
77
|
+
end
|
78
|
+
def resource
|
79
|
+
Azure::ContainerService::Mgmt::V2017_01_31::Models::Resource
|
80
|
+
end
|
81
|
+
def container_service_ssh_configuration
|
82
|
+
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceSshConfiguration
|
83
|
+
end
|
84
|
+
def container_service_service_principal_profile
|
85
|
+
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceServicePrincipalProfile
|
86
|
+
end
|
87
|
+
def container_service_linux_profile
|
88
|
+
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceLinuxProfile
|
89
|
+
end
|
90
|
+
def container_service_master_profile
|
91
|
+
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceMasterProfile
|
92
|
+
end
|
93
|
+
def container_service_vmdiagnostics
|
94
|
+
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceVMDiagnostics
|
95
|
+
end
|
96
|
+
def container_service_windows_profile
|
97
|
+
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceWindowsProfile
|
98
|
+
end
|
99
|
+
def container_service_diagnostics_profile
|
100
|
+
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceDiagnosticsProfile
|
101
|
+
end
|
102
|
+
def container_service_orchestrator_profile
|
103
|
+
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceOrchestratorProfile
|
104
|
+
end
|
105
|
+
def container_service_agent_pool_profile
|
106
|
+
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceAgentPoolProfile
|
107
|
+
end
|
108
|
+
def container_service_custom_profile
|
109
|
+
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceCustomProfile
|
110
|
+
end
|
111
|
+
def container_service_list_result
|
112
|
+
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceListResult
|
113
|
+
end
|
114
|
+
def container_service
|
115
|
+
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerService
|
116
|
+
end
|
117
|
+
def container_service_orchestrator_types
|
118
|
+
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceOrchestratorTypes
|
119
|
+
end
|
120
|
+
def container_service_vmsize_types
|
121
|
+
Azure::ContainerService::Mgmt::V2017_01_31::Models::ContainerServiceVMSizeTypes
|
122
|
+
end
|
105
123
|
end
|
124
|
+
end
|
106
125
|
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_container_service
|
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
|
@@ -106,7 +106,7 @@ files:
|
|
106
106
|
- lib/2016-03-30/generated/azure_mgmt_container_service/models/resource.rb
|
107
107
|
- lib/2016-03-30/generated/azure_mgmt_container_service/module_definition.rb
|
108
108
|
- lib/2016-09-30/generated/azure_mgmt_container_service.rb
|
109
|
-
- lib/2016-09-30/generated/azure_mgmt_container_service/
|
109
|
+
- lib/2016-09-30/generated/azure_mgmt_container_service/compute_management_client.rb
|
110
110
|
- lib/2016-09-30/generated/azure_mgmt_container_service/container_services.rb
|
111
111
|
- lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service.rb
|
112
112
|
- lib/2016-09-30/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb
|