azure_mgmt_stor_simple8000_series 0.15.2 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/access_control_records.rb +32 -30
  3. data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/alerts.rb +27 -27
  4. data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/backup_policies.rb +42 -39
  5. data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/backup_schedules.rb +32 -30
  6. data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/backups.rb +45 -42
  7. data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/bandwidth_settings.rb +32 -30
  8. data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/cloud_appliances.rb +16 -16
  9. data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/device_settings.rb +74 -73
  10. data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/devices.rb +114 -107
  11. data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/hardware_component_groups.rb +16 -16
  12. data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/jobs.rb +46 -40
  13. data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/managers.rb +108 -98
  14. data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/operations.rb +15 -13
  15. data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/stor_simple8000series_management_client.rb +4 -1
  16. data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/storage_account_credentials.rb +32 -30
  17. data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/volume_containers.rb +44 -40
  18. data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/volumes.rb +50 -45
  19. data/lib/profiles/latest/modules/storsimple8000series_profile_module.rb +520 -501
  20. data/lib/profiles/latest/storsimple8000series_latest_profile_client.rb +28 -9
  21. data/lib/profiles/latest/storsimple8000series_module_definition.rb +0 -1
  22. data/lib/version.rb +1 -1
  23. metadata +3 -3
@@ -32,8 +32,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
32
32
  #
33
33
  # @return [HardwareComponentGroupList] operation results.
34
34
  #
35
- def list_by_device(device_name, resource_group_name, manager_name, custom_headers = nil)
36
- response = list_by_device_async(device_name, resource_group_name, manager_name, custom_headers).value!
35
+ def list_by_device(device_name, resource_group_name, manager_name, custom_headers:nil)
36
+ response = list_by_device_async(device_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
37
37
  response.body unless response.nil?
38
38
  end
39
39
 
@@ -48,8 +48,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
48
48
  #
49
49
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
50
50
  #
51
- def list_by_device_with_http_info(device_name, resource_group_name, manager_name, custom_headers = nil)
52
- list_by_device_async(device_name, resource_group_name, manager_name, custom_headers).value!
51
+ def list_by_device_with_http_info(device_name, resource_group_name, manager_name, custom_headers:nil)
52
+ list_by_device_async(device_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
53
53
  end
54
54
 
55
55
  #
@@ -63,7 +63,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
63
63
  #
64
64
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
65
65
  #
66
- def list_by_device_async(device_name, resource_group_name, manager_name, custom_headers = nil)
66
+ def list_by_device_async(device_name, resource_group_name, manager_name, custom_headers:nil)
67
67
  fail ArgumentError, 'device_name is nil' if device_name.nil?
68
68
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
69
69
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -74,6 +74,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
74
74
 
75
75
 
76
76
  request_headers = {}
77
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
77
78
 
78
79
  # Set Headers
79
80
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -131,8 +132,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
131
132
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
132
133
  # will be added to the HTTP request.
133
134
  #
134
- def change_controller_power_state(device_name, hardware_component_group_name, parameters, resource_group_name, manager_name, custom_headers = nil)
135
- response = change_controller_power_state_async(device_name, hardware_component_group_name, parameters, resource_group_name, manager_name, custom_headers).value!
135
+ def change_controller_power_state(device_name, hardware_component_group_name, parameters, resource_group_name, manager_name, custom_headers:nil)
136
+ response = change_controller_power_state_async(device_name, hardware_component_group_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
136
137
  nil
137
138
  end
138
139
 
@@ -150,9 +151,9 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
150
151
  # @return [Concurrent::Promise] promise which provides async access to http
151
152
  # response.
152
153
  #
153
- def change_controller_power_state_async(device_name, hardware_component_group_name, parameters, resource_group_name, manager_name, custom_headers = nil)
154
+ def change_controller_power_state_async(device_name, hardware_component_group_name, parameters, resource_group_name, manager_name, custom_headers:nil)
154
155
  # Send request
155
- promise = begin_change_controller_power_state_async(device_name, hardware_component_group_name, parameters, resource_group_name, manager_name, custom_headers)
156
+ promise = begin_change_controller_power_state_async(device_name, hardware_component_group_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers)
156
157
 
157
158
  promise = promise.then do |response|
158
159
  # Defining deserialization method.
@@ -180,8 +181,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
180
181
  # will be added to the HTTP request.
181
182
  #
182
183
  #
183
- def begin_change_controller_power_state(device_name, hardware_component_group_name, parameters, resource_group_name, manager_name, custom_headers = nil)
184
- response = begin_change_controller_power_state_async(device_name, hardware_component_group_name, parameters, resource_group_name, manager_name, custom_headers).value!
184
+ def begin_change_controller_power_state(device_name, hardware_component_group_name, parameters, resource_group_name, manager_name, custom_headers:nil)
185
+ response = begin_change_controller_power_state_async(device_name, hardware_component_group_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
185
186
  nil
186
187
  end
187
188
 
@@ -200,8 +201,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
200
201
  #
201
202
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
202
203
  #
203
- def begin_change_controller_power_state_with_http_info(device_name, hardware_component_group_name, parameters, resource_group_name, manager_name, custom_headers = nil)
204
- begin_change_controller_power_state_async(device_name, hardware_component_group_name, parameters, resource_group_name, manager_name, custom_headers).value!
204
+ def begin_change_controller_power_state_with_http_info(device_name, hardware_component_group_name, parameters, resource_group_name, manager_name, custom_headers:nil)
205
+ begin_change_controller_power_state_async(device_name, hardware_component_group_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
205
206
  end
206
207
 
207
208
  #
@@ -219,7 +220,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
219
220
  #
220
221
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
221
222
  #
222
- def begin_change_controller_power_state_async(device_name, hardware_component_group_name, parameters, resource_group_name, manager_name, custom_headers = nil)
223
+ def begin_change_controller_power_state_async(device_name, hardware_component_group_name, parameters, resource_group_name, manager_name, custom_headers:nil)
223
224
  fail ArgumentError, 'device_name is nil' if device_name.nil?
224
225
  fail ArgumentError, 'hardware_component_group_name is nil' if hardware_component_group_name.nil?
225
226
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -232,13 +233,12 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
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
238
240
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
239
241
 
240
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
241
-
242
242
  # Serialize Request
243
243
  request_mapper = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ControllerPowerStateChangeRequest.mapper()
244
244
  request_content = @client.serialize(request_mapper, parameters)
@@ -34,8 +34,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
34
34
  #
35
35
  # @return [Array<Job>] operation results.
36
36
  #
37
- def list_by_device(device_name, resource_group_name, manager_name, filter = nil, custom_headers = nil)
38
- first_page = list_by_device_as_lazy(device_name, resource_group_name, manager_name, filter, custom_headers)
37
+ def list_by_device(device_name, resource_group_name, manager_name, filter:nil, custom_headers:nil)
38
+ first_page = list_by_device_as_lazy(device_name, resource_group_name, manager_name, filter:filter, custom_headers:custom_headers)
39
39
  first_page.get_all_items
40
40
  end
41
41
 
@@ -52,8 +52,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
52
52
  #
53
53
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
54
54
  #
55
- def list_by_device_with_http_info(device_name, resource_group_name, manager_name, filter = nil, custom_headers = nil)
56
- list_by_device_async(device_name, resource_group_name, manager_name, filter, custom_headers).value!
55
+ def list_by_device_with_http_info(device_name, resource_group_name, manager_name, filter:nil, custom_headers:nil)
56
+ list_by_device_async(device_name, resource_group_name, manager_name, filter:filter, custom_headers:custom_headers).value!
57
57
  end
58
58
 
59
59
  #
@@ -69,7 +69,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
69
69
  #
70
70
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
71
71
  #
72
- def list_by_device_async(device_name, resource_group_name, manager_name, filter = nil, custom_headers = nil)
72
+ def list_by_device_async(device_name, resource_group_name, manager_name, filter:nil, custom_headers:nil)
73
73
  fail ArgumentError, 'device_name is nil' if device_name.nil?
74
74
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
75
75
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -80,6 +80,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
80
80
 
81
81
 
82
82
  request_headers = {}
83
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
83
84
 
84
85
  # Set Headers
85
86
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -137,8 +138,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
137
138
  #
138
139
  # @return [Job] operation results.
139
140
  #
140
- def get(device_name, job_name, resource_group_name, manager_name, custom_headers = nil)
141
- response = get_async(device_name, job_name, resource_group_name, manager_name, custom_headers).value!
141
+ def get(device_name, job_name, resource_group_name, manager_name, custom_headers:nil)
142
+ response = get_async(device_name, job_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
142
143
  response.body unless response.nil?
143
144
  end
144
145
 
@@ -154,8 +155,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
154
155
  #
155
156
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
156
157
  #
157
- def get_with_http_info(device_name, job_name, resource_group_name, manager_name, custom_headers = nil)
158
- get_async(device_name, job_name, resource_group_name, manager_name, custom_headers).value!
158
+ def get_with_http_info(device_name, job_name, resource_group_name, manager_name, custom_headers:nil)
159
+ get_async(device_name, job_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
159
160
  end
160
161
 
161
162
  #
@@ -170,7 +171,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
170
171
  #
171
172
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
172
173
  #
173
- def get_async(device_name, job_name, resource_group_name, manager_name, custom_headers = nil)
174
+ def get_async(device_name, job_name, resource_group_name, manager_name, custom_headers:nil)
174
175
  fail ArgumentError, 'device_name is nil' if device_name.nil?
175
176
  fail ArgumentError, 'job_name is nil' if job_name.nil?
176
177
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -182,6 +183,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
182
183
 
183
184
 
184
185
  request_headers = {}
186
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
185
187
 
186
188
  # Set Headers
187
189
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -236,8 +238,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
236
238
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
237
239
  # will be added to the HTTP request.
238
240
  #
239
- def cancel(device_name, job_name, resource_group_name, manager_name, custom_headers = nil)
240
- response = cancel_async(device_name, job_name, resource_group_name, manager_name, custom_headers).value!
241
+ def cancel(device_name, job_name, resource_group_name, manager_name, custom_headers:nil)
242
+ response = cancel_async(device_name, job_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
241
243
  nil
242
244
  end
243
245
 
@@ -252,9 +254,9 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
252
254
  # @return [Concurrent::Promise] promise which provides async access to http
253
255
  # response.
254
256
  #
255
- def cancel_async(device_name, job_name, resource_group_name, manager_name, custom_headers = nil)
257
+ def cancel_async(device_name, job_name, resource_group_name, manager_name, custom_headers:nil)
256
258
  # Send request
257
- promise = begin_cancel_async(device_name, job_name, resource_group_name, manager_name, custom_headers)
259
+ promise = begin_cancel_async(device_name, job_name, resource_group_name, manager_name, custom_headers:custom_headers)
258
260
 
259
261
  promise = promise.then do |response|
260
262
  # Defining deserialization method.
@@ -280,8 +282,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
280
282
  #
281
283
  # @return [Array<Job>] operation results.
282
284
  #
283
- def list_by_manager(resource_group_name, manager_name, filter = nil, custom_headers = nil)
284
- first_page = list_by_manager_as_lazy(resource_group_name, manager_name, filter, custom_headers)
285
+ def list_by_manager(resource_group_name, manager_name, filter:nil, custom_headers:nil)
286
+ first_page = list_by_manager_as_lazy(resource_group_name, manager_name, filter:filter, custom_headers:custom_headers)
285
287
  first_page.get_all_items
286
288
  end
287
289
 
@@ -297,8 +299,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
297
299
  #
298
300
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
299
301
  #
300
- def list_by_manager_with_http_info(resource_group_name, manager_name, filter = nil, custom_headers = nil)
301
- list_by_manager_async(resource_group_name, manager_name, filter, custom_headers).value!
302
+ def list_by_manager_with_http_info(resource_group_name, manager_name, filter:nil, custom_headers:nil)
303
+ list_by_manager_async(resource_group_name, manager_name, filter:filter, custom_headers:custom_headers).value!
302
304
  end
303
305
 
304
306
  #
@@ -313,7 +315,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
313
315
  #
314
316
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
315
317
  #
316
- def list_by_manager_async(resource_group_name, manager_name, filter = nil, custom_headers = nil)
318
+ def list_by_manager_async(resource_group_name, manager_name, filter:nil, custom_headers:nil)
317
319
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
318
320
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
319
321
  fail ArgumentError, 'manager_name is nil' if manager_name.nil?
@@ -323,6 +325,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
323
325
 
324
326
 
325
327
  request_headers = {}
328
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
326
329
 
327
330
  # Set Headers
328
331
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -379,8 +382,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
379
382
  # will be added to the HTTP request.
380
383
  #
381
384
  #
382
- def begin_cancel(device_name, job_name, resource_group_name, manager_name, custom_headers = nil)
383
- response = begin_cancel_async(device_name, job_name, resource_group_name, manager_name, custom_headers).value!
385
+ def begin_cancel(device_name, job_name, resource_group_name, manager_name, custom_headers:nil)
386
+ response = begin_cancel_async(device_name, job_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
384
387
  nil
385
388
  end
386
389
 
@@ -396,8 +399,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
396
399
  #
397
400
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
398
401
  #
399
- def begin_cancel_with_http_info(device_name, job_name, resource_group_name, manager_name, custom_headers = nil)
400
- begin_cancel_async(device_name, job_name, resource_group_name, manager_name, custom_headers).value!
402
+ def begin_cancel_with_http_info(device_name, job_name, resource_group_name, manager_name, custom_headers:nil)
403
+ begin_cancel_async(device_name, job_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
401
404
  end
402
405
 
403
406
  #
@@ -412,7 +415,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
412
415
  #
413
416
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
414
417
  #
415
- def begin_cancel_async(device_name, job_name, resource_group_name, manager_name, custom_headers = nil)
418
+ def begin_cancel_async(device_name, job_name, resource_group_name, manager_name, custom_headers:nil)
416
419
  fail ArgumentError, 'device_name is nil' if device_name.nil?
417
420
  fail ArgumentError, 'job_name is nil' if job_name.nil?
418
421
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -424,6 +427,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
424
427
 
425
428
 
426
429
  request_headers = {}
430
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
427
431
 
428
432
  # Set Headers
429
433
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -469,8 +473,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
469
473
  #
470
474
  # @return [JobList] operation results.
471
475
  #
472
- def list_by_device_next(next_page_link, custom_headers = nil)
473
- response = list_by_device_next_async(next_page_link, custom_headers).value!
476
+ def list_by_device_next(next_page_link, custom_headers:nil)
477
+ response = list_by_device_next_async(next_page_link, custom_headers:custom_headers).value!
474
478
  response.body unless response.nil?
475
479
  end
476
480
 
@@ -485,8 +489,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
485
489
  #
486
490
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
487
491
  #
488
- def list_by_device_next_with_http_info(next_page_link, custom_headers = nil)
489
- list_by_device_next_async(next_page_link, custom_headers).value!
492
+ def list_by_device_next_with_http_info(next_page_link, custom_headers:nil)
493
+ list_by_device_next_async(next_page_link, custom_headers:custom_headers).value!
490
494
  end
491
495
 
492
496
  #
@@ -500,11 +504,12 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
500
504
  #
501
505
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
502
506
  #
503
- def list_by_device_next_async(next_page_link, custom_headers = nil)
507
+ def list_by_device_next_async(next_page_link, custom_headers:nil)
504
508
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
505
509
 
506
510
 
507
511
  request_headers = {}
512
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
508
513
 
509
514
  # Set Headers
510
515
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -559,8 +564,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
559
564
  #
560
565
  # @return [JobList] operation results.
561
566
  #
562
- def list_by_manager_next(next_page_link, custom_headers = nil)
563
- response = list_by_manager_next_async(next_page_link, custom_headers).value!
567
+ def list_by_manager_next(next_page_link, custom_headers:nil)
568
+ response = list_by_manager_next_async(next_page_link, custom_headers:custom_headers).value!
564
569
  response.body unless response.nil?
565
570
  end
566
571
 
@@ -575,8 +580,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
575
580
  #
576
581
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
577
582
  #
578
- def list_by_manager_next_with_http_info(next_page_link, custom_headers = nil)
579
- list_by_manager_next_async(next_page_link, custom_headers).value!
583
+ def list_by_manager_next_with_http_info(next_page_link, custom_headers:nil)
584
+ list_by_manager_next_async(next_page_link, custom_headers:custom_headers).value!
580
585
  end
581
586
 
582
587
  #
@@ -590,11 +595,12 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
590
595
  #
591
596
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
592
597
  #
593
- def list_by_manager_next_async(next_page_link, custom_headers = nil)
598
+ def list_by_manager_next_async(next_page_link, custom_headers:nil)
594
599
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
595
600
 
596
601
 
597
602
  request_headers = {}
603
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
598
604
 
599
605
  # Set Headers
600
606
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -651,12 +657,12 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
651
657
  #
652
658
  # @return [JobList] which provide lazy access to pages of the response.
653
659
  #
654
- def list_by_device_as_lazy(device_name, resource_group_name, manager_name, filter = nil, custom_headers = nil)
655
- response = list_by_device_async(device_name, resource_group_name, manager_name, filter, custom_headers).value!
660
+ def list_by_device_as_lazy(device_name, resource_group_name, manager_name, filter:nil, custom_headers:nil)
661
+ response = list_by_device_async(device_name, resource_group_name, manager_name, filter:filter, custom_headers:custom_headers).value!
656
662
  unless response.nil?
657
663
  page = response.body
658
664
  page.next_method = Proc.new do |next_page_link|
659
- list_by_device_next_async(next_page_link, custom_headers)
665
+ list_by_device_next_async(next_page_link, custom_headers:custom_headers)
660
666
  end
661
667
  page
662
668
  end
@@ -674,12 +680,12 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
674
680
  #
675
681
  # @return [JobList] which provide lazy access to pages of the response.
676
682
  #
677
- def list_by_manager_as_lazy(resource_group_name, manager_name, filter = nil, custom_headers = nil)
678
- response = list_by_manager_async(resource_group_name, manager_name, filter, custom_headers).value!
683
+ def list_by_manager_as_lazy(resource_group_name, manager_name, filter:nil, custom_headers:nil)
684
+ response = list_by_manager_async(resource_group_name, manager_name, filter:filter, custom_headers:custom_headers).value!
679
685
  unless response.nil?
680
686
  page = response.body
681
687
  page.next_method = Proc.new do |next_page_link|
682
- list_by_manager_next_async(next_page_link, custom_headers)
688
+ list_by_manager_next_async(next_page_link, custom_headers:custom_headers)
683
689
  end
684
690
  page
685
691
  end
@@ -29,8 +29,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
29
29
  #
30
30
  # @return [ManagerList] operation results.
31
31
  #
32
- def list(custom_headers = nil)
33
- response = list_async(custom_headers).value!
32
+ def list(custom_headers:nil)
33
+ response = list_async(custom_headers:custom_headers).value!
34
34
  response.body unless response.nil?
35
35
  end
36
36
 
@@ -42,8 +42,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
42
42
  #
43
43
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
44
44
  #
45
- def list_with_http_info(custom_headers = nil)
46
- list_async(custom_headers).value!
45
+ def list_with_http_info(custom_headers:nil)
46
+ list_async(custom_headers:custom_headers).value!
47
47
  end
48
48
 
49
49
  #
@@ -54,12 +54,13 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
54
54
  #
55
55
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
56
56
  #
57
- def list_async(custom_headers = nil)
57
+ def list_async(custom_headers:nil)
58
58
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
59
59
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
60
60
 
61
61
 
62
62
  request_headers = {}
63
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
63
64
 
64
65
  # Set Headers
65
66
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -113,8 +114,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
113
114
  #
114
115
  # @return [ManagerList] operation results.
115
116
  #
116
- def list_by_resource_group(resource_group_name, custom_headers = nil)
117
- response = list_by_resource_group_async(resource_group_name, custom_headers).value!
117
+ def list_by_resource_group(resource_group_name, custom_headers:nil)
118
+ response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
118
119
  response.body unless response.nil?
119
120
  end
120
121
 
@@ -127,8 +128,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
127
128
  #
128
129
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
129
130
  #
130
- def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil)
131
- list_by_resource_group_async(resource_group_name, custom_headers).value!
131
+ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil)
132
+ list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
132
133
  end
133
134
 
134
135
  #
@@ -140,13 +141,14 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
140
141
  #
141
142
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
142
143
  #
143
- def list_by_resource_group_async(resource_group_name, custom_headers = nil)
144
+ def list_by_resource_group_async(resource_group_name, custom_headers:nil)
144
145
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
145
146
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
146
147
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
147
148
 
148
149
 
149
150
  request_headers = {}
151
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
150
152
 
151
153
  # Set Headers
152
154
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -201,8 +203,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
201
203
  #
202
204
  # @return [Manager] operation results.
203
205
  #
204
- def get(resource_group_name, manager_name, custom_headers = nil)
205
- response = get_async(resource_group_name, manager_name, custom_headers).value!
206
+ def get(resource_group_name, manager_name, custom_headers:nil)
207
+ response = get_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
206
208
  response.body unless response.nil?
207
209
  end
208
210
 
@@ -216,8 +218,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
216
218
  #
217
219
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
218
220
  #
219
- def get_with_http_info(resource_group_name, manager_name, custom_headers = nil)
220
- get_async(resource_group_name, manager_name, custom_headers).value!
221
+ def get_with_http_info(resource_group_name, manager_name, custom_headers:nil)
222
+ get_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
221
223
  end
222
224
 
223
225
  #
@@ -230,7 +232,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
230
232
  #
231
233
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
232
234
  #
233
- def get_async(resource_group_name, manager_name, custom_headers = nil)
235
+ def get_async(resource_group_name, manager_name, custom_headers:nil)
234
236
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
235
237
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
236
238
  fail ArgumentError, 'manager_name is nil' if manager_name.nil?
@@ -240,6 +242,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
240
242
 
241
243
 
242
244
  request_headers = {}
245
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
243
246
 
244
247
  # Set Headers
245
248
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -295,8 +298,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
295
298
  #
296
299
  # @return [Manager] operation results.
297
300
  #
298
- def create_or_update(parameters, resource_group_name, manager_name, custom_headers = nil)
299
- response = create_or_update_async(parameters, resource_group_name, manager_name, custom_headers).value!
301
+ def create_or_update(parameters, resource_group_name, manager_name, custom_headers:nil)
302
+ response = create_or_update_async(parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
300
303
  response.body unless response.nil?
301
304
  end
302
305
 
@@ -311,8 +314,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
311
314
  #
312
315
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
313
316
  #
314
- def create_or_update_with_http_info(parameters, resource_group_name, manager_name, custom_headers = nil)
315
- create_or_update_async(parameters, resource_group_name, manager_name, custom_headers).value!
317
+ def create_or_update_with_http_info(parameters, resource_group_name, manager_name, custom_headers:nil)
318
+ create_or_update_async(parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
316
319
  end
317
320
 
318
321
  #
@@ -326,7 +329,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
326
329
  #
327
330
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
328
331
  #
329
- def create_or_update_async(parameters, resource_group_name, manager_name, custom_headers = nil)
332
+ def create_or_update_async(parameters, resource_group_name, manager_name, custom_headers:nil)
330
333
  fail ArgumentError, 'parameters is nil' if parameters.nil?
331
334
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
332
335
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -337,13 +340,12 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
337
340
 
338
341
 
339
342
  request_headers = {}
343
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
340
344
 
341
345
  # Set Headers
342
346
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
343
347
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
344
348
 
345
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
346
-
347
349
  # Serialize Request
348
350
  request_mapper = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::Manager.mapper()
349
351
  request_content = @client.serialize(request_mapper, parameters)
@@ -409,8 +411,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
409
411
  # will be added to the HTTP request.
410
412
  #
411
413
  #
412
- def delete(resource_group_name, manager_name, custom_headers = nil)
413
- response = delete_async(resource_group_name, manager_name, custom_headers).value!
414
+ def delete(resource_group_name, manager_name, custom_headers:nil)
415
+ response = delete_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
414
416
  nil
415
417
  end
416
418
 
@@ -424,8 +426,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
424
426
  #
425
427
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
426
428
  #
427
- def delete_with_http_info(resource_group_name, manager_name, custom_headers = nil)
428
- delete_async(resource_group_name, manager_name, custom_headers).value!
429
+ def delete_with_http_info(resource_group_name, manager_name, custom_headers:nil)
430
+ delete_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
429
431
  end
430
432
 
431
433
  #
@@ -438,7 +440,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
438
440
  #
439
441
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
440
442
  #
441
- def delete_async(resource_group_name, manager_name, custom_headers = nil)
443
+ def delete_async(resource_group_name, manager_name, custom_headers:nil)
442
444
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
443
445
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
444
446
  fail ArgumentError, 'manager_name is nil' if manager_name.nil?
@@ -448,6 +450,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
448
450
 
449
451
 
450
452
  request_headers = {}
453
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
451
454
 
452
455
  # Set Headers
453
456
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -493,8 +496,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
493
496
  #
494
497
  # @return [Manager] operation results.
495
498
  #
496
- def update(parameters, resource_group_name, manager_name, custom_headers = nil)
497
- response = update_async(parameters, resource_group_name, manager_name, custom_headers).value!
499
+ def update(parameters, resource_group_name, manager_name, custom_headers:nil)
500
+ response = update_async(parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
498
501
  response.body unless response.nil?
499
502
  end
500
503
 
@@ -509,8 +512,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
509
512
  #
510
513
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
511
514
  #
512
- def update_with_http_info(parameters, resource_group_name, manager_name, custom_headers = nil)
513
- update_async(parameters, resource_group_name, manager_name, custom_headers).value!
515
+ def update_with_http_info(parameters, resource_group_name, manager_name, custom_headers:nil)
516
+ update_async(parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
514
517
  end
515
518
 
516
519
  #
@@ -524,7 +527,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
524
527
  #
525
528
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
526
529
  #
527
- def update_async(parameters, resource_group_name, manager_name, custom_headers = nil)
530
+ def update_async(parameters, resource_group_name, manager_name, custom_headers:nil)
528
531
  fail ArgumentError, 'parameters is nil' if parameters.nil?
529
532
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
530
533
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -535,13 +538,12 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
535
538
 
536
539
 
537
540
  request_headers = {}
541
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
538
542
 
539
543
  # Set Headers
540
544
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
541
545
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
542
546
 
543
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
544
-
545
547
  # Serialize Request
546
548
  request_mapper = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerPatch.mapper()
547
549
  request_content = @client.serialize(request_mapper, parameters)
@@ -599,8 +601,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
599
601
  #
600
602
  # @return [PublicKey] operation results.
601
603
  #
602
- def get_device_public_encryption_key(device_name, resource_group_name, manager_name, custom_headers = nil)
603
- response = get_device_public_encryption_key_async(device_name, resource_group_name, manager_name, custom_headers).value!
604
+ def get_device_public_encryption_key(device_name, resource_group_name, manager_name, custom_headers:nil)
605
+ response = get_device_public_encryption_key_async(device_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
604
606
  response.body unless response.nil?
605
607
  end
606
608
 
@@ -615,8 +617,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
615
617
  #
616
618
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
617
619
  #
618
- def get_device_public_encryption_key_with_http_info(device_name, resource_group_name, manager_name, custom_headers = nil)
619
- get_device_public_encryption_key_async(device_name, resource_group_name, manager_name, custom_headers).value!
620
+ def get_device_public_encryption_key_with_http_info(device_name, resource_group_name, manager_name, custom_headers:nil)
621
+ get_device_public_encryption_key_async(device_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
620
622
  end
621
623
 
622
624
  #
@@ -630,7 +632,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
630
632
  #
631
633
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
632
634
  #
633
- def get_device_public_encryption_key_async(device_name, resource_group_name, manager_name, custom_headers = nil)
635
+ def get_device_public_encryption_key_async(device_name, resource_group_name, manager_name, custom_headers:nil)
634
636
  fail ArgumentError, 'device_name is nil' if device_name.nil?
635
637
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
636
638
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -641,6 +643,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
641
643
 
642
644
 
643
645
  request_headers = {}
646
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
644
647
 
645
648
  # Set Headers
646
649
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -695,8 +698,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
695
698
  #
696
699
  # @return [EncryptionSettings] operation results.
697
700
  #
698
- def get_encryption_settings(resource_group_name, manager_name, custom_headers = nil)
699
- response = get_encryption_settings_async(resource_group_name, manager_name, custom_headers).value!
701
+ def get_encryption_settings(resource_group_name, manager_name, custom_headers:nil)
702
+ response = get_encryption_settings_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
700
703
  response.body unless response.nil?
701
704
  end
702
705
 
@@ -710,8 +713,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
710
713
  #
711
714
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
712
715
  #
713
- def get_encryption_settings_with_http_info(resource_group_name, manager_name, custom_headers = nil)
714
- get_encryption_settings_async(resource_group_name, manager_name, custom_headers).value!
716
+ def get_encryption_settings_with_http_info(resource_group_name, manager_name, custom_headers:nil)
717
+ get_encryption_settings_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
715
718
  end
716
719
 
717
720
  #
@@ -724,7 +727,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
724
727
  #
725
728
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
726
729
  #
727
- def get_encryption_settings_async(resource_group_name, manager_name, custom_headers = nil)
730
+ def get_encryption_settings_async(resource_group_name, manager_name, custom_headers:nil)
728
731
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
729
732
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
730
733
  fail ArgumentError, 'manager_name is nil' if manager_name.nil?
@@ -734,6 +737,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
734
737
 
735
738
 
736
739
  request_headers = {}
740
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
737
741
 
738
742
  # Set Headers
739
743
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -788,8 +792,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
788
792
  #
789
793
  # @return [ManagerExtendedInfo] operation results.
790
794
  #
791
- def get_extended_info(resource_group_name, manager_name, custom_headers = nil)
792
- response = get_extended_info_async(resource_group_name, manager_name, custom_headers).value!
795
+ def get_extended_info(resource_group_name, manager_name, custom_headers:nil)
796
+ response = get_extended_info_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
793
797
  response.body unless response.nil?
794
798
  end
795
799
 
@@ -803,8 +807,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
803
807
  #
804
808
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
805
809
  #
806
- def get_extended_info_with_http_info(resource_group_name, manager_name, custom_headers = nil)
807
- get_extended_info_async(resource_group_name, manager_name, custom_headers).value!
810
+ def get_extended_info_with_http_info(resource_group_name, manager_name, custom_headers:nil)
811
+ get_extended_info_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
808
812
  end
809
813
 
810
814
  #
@@ -817,7 +821,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
817
821
  #
818
822
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
819
823
  #
820
- def get_extended_info_async(resource_group_name, manager_name, custom_headers = nil)
824
+ def get_extended_info_async(resource_group_name, manager_name, custom_headers:nil)
821
825
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
822
826
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
823
827
  fail ArgumentError, 'manager_name is nil' if manager_name.nil?
@@ -827,6 +831,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
827
831
 
828
832
 
829
833
  request_headers = {}
834
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
830
835
 
831
836
  # Set Headers
832
837
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -882,8 +887,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
882
887
  #
883
888
  # @return [ManagerExtendedInfo] operation results.
884
889
  #
885
- def create_extended_info(parameters, resource_group_name, manager_name, custom_headers = nil)
886
- response = create_extended_info_async(parameters, resource_group_name, manager_name, custom_headers).value!
890
+ def create_extended_info(parameters, resource_group_name, manager_name, custom_headers:nil)
891
+ response = create_extended_info_async(parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
887
892
  response.body unless response.nil?
888
893
  end
889
894
 
@@ -898,8 +903,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
898
903
  #
899
904
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
900
905
  #
901
- def create_extended_info_with_http_info(parameters, resource_group_name, manager_name, custom_headers = nil)
902
- create_extended_info_async(parameters, resource_group_name, manager_name, custom_headers).value!
906
+ def create_extended_info_with_http_info(parameters, resource_group_name, manager_name, custom_headers:nil)
907
+ create_extended_info_async(parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
903
908
  end
904
909
 
905
910
  #
@@ -913,7 +918,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
913
918
  #
914
919
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
915
920
  #
916
- def create_extended_info_async(parameters, resource_group_name, manager_name, custom_headers = nil)
921
+ def create_extended_info_async(parameters, resource_group_name, manager_name, custom_headers:nil)
917
922
  fail ArgumentError, 'parameters is nil' if parameters.nil?
918
923
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
919
924
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -924,13 +929,12 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
924
929
 
925
930
 
926
931
  request_headers = {}
932
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
927
933
 
928
934
  # Set Headers
929
935
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
930
936
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
931
937
 
932
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
933
-
934
938
  # Serialize Request
935
939
  request_mapper = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerExtendedInfo.mapper()
936
940
  request_content = @client.serialize(request_mapper, parameters)
@@ -986,8 +990,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
986
990
  # will be added to the HTTP request.
987
991
  #
988
992
  #
989
- def delete_extended_info(resource_group_name, manager_name, custom_headers = nil)
990
- response = delete_extended_info_async(resource_group_name, manager_name, custom_headers).value!
993
+ def delete_extended_info(resource_group_name, manager_name, custom_headers:nil)
994
+ response = delete_extended_info_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
991
995
  nil
992
996
  end
993
997
 
@@ -1001,8 +1005,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1001
1005
  #
1002
1006
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1003
1007
  #
1004
- def delete_extended_info_with_http_info(resource_group_name, manager_name, custom_headers = nil)
1005
- delete_extended_info_async(resource_group_name, manager_name, custom_headers).value!
1008
+ def delete_extended_info_with_http_info(resource_group_name, manager_name, custom_headers:nil)
1009
+ delete_extended_info_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
1006
1010
  end
1007
1011
 
1008
1012
  #
@@ -1015,7 +1019,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1015
1019
  #
1016
1020
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1017
1021
  #
1018
- def delete_extended_info_async(resource_group_name, manager_name, custom_headers = nil)
1022
+ def delete_extended_info_async(resource_group_name, manager_name, custom_headers:nil)
1019
1023
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1020
1024
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1021
1025
  fail ArgumentError, 'manager_name is nil' if manager_name.nil?
@@ -1025,6 +1029,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1025
1029
 
1026
1030
 
1027
1031
  request_headers = {}
1032
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1028
1033
 
1029
1034
  # Set Headers
1030
1035
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1071,8 +1076,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1071
1076
  #
1072
1077
  # @return [ManagerExtendedInfo] operation results.
1073
1078
  #
1074
- def update_extended_info(parameters, resource_group_name, manager_name, if_match, custom_headers = nil)
1075
- response = update_extended_info_async(parameters, resource_group_name, manager_name, if_match, custom_headers).value!
1079
+ def update_extended_info(parameters, resource_group_name, manager_name, if_match, custom_headers:nil)
1080
+ response = update_extended_info_async(parameters, resource_group_name, manager_name, if_match, custom_headers:custom_headers).value!
1076
1081
  response.body unless response.nil?
1077
1082
  end
1078
1083
 
@@ -1088,8 +1093,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1088
1093
  #
1089
1094
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1090
1095
  #
1091
- def update_extended_info_with_http_info(parameters, resource_group_name, manager_name, if_match, custom_headers = nil)
1092
- update_extended_info_async(parameters, resource_group_name, manager_name, if_match, custom_headers).value!
1096
+ def update_extended_info_with_http_info(parameters, resource_group_name, manager_name, if_match, custom_headers:nil)
1097
+ update_extended_info_async(parameters, resource_group_name, manager_name, if_match, custom_headers:custom_headers).value!
1093
1098
  end
1094
1099
 
1095
1100
  #
@@ -1104,7 +1109,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1104
1109
  #
1105
1110
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1106
1111
  #
1107
- def update_extended_info_async(parameters, resource_group_name, manager_name, if_match, custom_headers = nil)
1112
+ def update_extended_info_async(parameters, resource_group_name, manager_name, if_match, custom_headers:nil)
1108
1113
  fail ArgumentError, 'parameters is nil' if parameters.nil?
1109
1114
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1110
1115
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -1116,14 +1121,13 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1116
1121
 
1117
1122
 
1118
1123
  request_headers = {}
1124
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1119
1125
 
1120
1126
  # Set Headers
1121
1127
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1122
1128
  request_headers['If-Match'] = if_match unless if_match.nil?
1123
1129
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1124
1130
 
1125
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
1126
-
1127
1131
  # Serialize Request
1128
1132
  request_mapper = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ManagerExtendedInfo.mapper()
1129
1133
  request_content = @client.serialize(request_mapper, parameters)
@@ -1181,8 +1185,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1181
1185
  #
1182
1186
  # @return [FeatureList] operation results.
1183
1187
  #
1184
- def list_feature_support_status(resource_group_name, manager_name, filter = nil, custom_headers = nil)
1185
- response = list_feature_support_status_async(resource_group_name, manager_name, filter, custom_headers).value!
1188
+ def list_feature_support_status(resource_group_name, manager_name, filter:nil, custom_headers:nil)
1189
+ response = list_feature_support_status_async(resource_group_name, manager_name, filter:filter, custom_headers:custom_headers).value!
1186
1190
  response.body unless response.nil?
1187
1191
  end
1188
1192
 
@@ -1197,8 +1201,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1197
1201
  #
1198
1202
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1199
1203
  #
1200
- def list_feature_support_status_with_http_info(resource_group_name, manager_name, filter = nil, custom_headers = nil)
1201
- list_feature_support_status_async(resource_group_name, manager_name, filter, custom_headers).value!
1204
+ def list_feature_support_status_with_http_info(resource_group_name, manager_name, filter:nil, custom_headers:nil)
1205
+ list_feature_support_status_async(resource_group_name, manager_name, filter:filter, custom_headers:custom_headers).value!
1202
1206
  end
1203
1207
 
1204
1208
  #
@@ -1212,7 +1216,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1212
1216
  #
1213
1217
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1214
1218
  #
1215
- def list_feature_support_status_async(resource_group_name, manager_name, filter = nil, custom_headers = nil)
1219
+ def list_feature_support_status_async(resource_group_name, manager_name, filter:nil, custom_headers:nil)
1216
1220
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1217
1221
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1218
1222
  fail ArgumentError, 'manager_name is nil' if manager_name.nil?
@@ -1222,6 +1226,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1222
1226
 
1223
1227
 
1224
1228
  request_headers = {}
1229
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1225
1230
 
1226
1231
  # Set Headers
1227
1232
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1277,8 +1282,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1277
1282
  #
1278
1283
  # @return [Key] operation results.
1279
1284
  #
1280
- def get_activation_key(resource_group_name, manager_name, custom_headers = nil)
1281
- response = get_activation_key_async(resource_group_name, manager_name, custom_headers).value!
1285
+ def get_activation_key(resource_group_name, manager_name, custom_headers:nil)
1286
+ response = get_activation_key_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
1282
1287
  response.body unless response.nil?
1283
1288
  end
1284
1289
 
@@ -1292,8 +1297,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1292
1297
  #
1293
1298
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1294
1299
  #
1295
- def get_activation_key_with_http_info(resource_group_name, manager_name, custom_headers = nil)
1296
- get_activation_key_async(resource_group_name, manager_name, custom_headers).value!
1300
+ def get_activation_key_with_http_info(resource_group_name, manager_name, custom_headers:nil)
1301
+ get_activation_key_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
1297
1302
  end
1298
1303
 
1299
1304
  #
@@ -1306,7 +1311,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1306
1311
  #
1307
1312
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1308
1313
  #
1309
- def get_activation_key_async(resource_group_name, manager_name, custom_headers = nil)
1314
+ def get_activation_key_async(resource_group_name, manager_name, custom_headers:nil)
1310
1315
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1311
1316
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1312
1317
  fail ArgumentError, 'manager_name is nil' if manager_name.nil?
@@ -1316,6 +1321,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1316
1321
 
1317
1322
 
1318
1323
  request_headers = {}
1324
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1319
1325
 
1320
1326
  # Set Headers
1321
1327
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1370,8 +1376,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1370
1376
  #
1371
1377
  # @return [SymmetricEncryptedSecret] operation results.
1372
1378
  #
1373
- def get_public_encryption_key(resource_group_name, manager_name, custom_headers = nil)
1374
- response = get_public_encryption_key_async(resource_group_name, manager_name, custom_headers).value!
1379
+ def get_public_encryption_key(resource_group_name, manager_name, custom_headers:nil)
1380
+ response = get_public_encryption_key_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
1375
1381
  response.body unless response.nil?
1376
1382
  end
1377
1383
 
@@ -1385,8 +1391,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1385
1391
  #
1386
1392
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1387
1393
  #
1388
- def get_public_encryption_key_with_http_info(resource_group_name, manager_name, custom_headers = nil)
1389
- get_public_encryption_key_async(resource_group_name, manager_name, custom_headers).value!
1394
+ def get_public_encryption_key_with_http_info(resource_group_name, manager_name, custom_headers:nil)
1395
+ get_public_encryption_key_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
1390
1396
  end
1391
1397
 
1392
1398
  #
@@ -1399,7 +1405,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1399
1405
  #
1400
1406
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1401
1407
  #
1402
- def get_public_encryption_key_async(resource_group_name, manager_name, custom_headers = nil)
1408
+ def get_public_encryption_key_async(resource_group_name, manager_name, custom_headers:nil)
1403
1409
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1404
1410
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1405
1411
  fail ArgumentError, 'manager_name is nil' if manager_name.nil?
@@ -1409,6 +1415,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1409
1415
 
1410
1416
 
1411
1417
  request_headers = {}
1418
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1412
1419
 
1413
1420
  # Set Headers
1414
1421
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1464,8 +1471,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1464
1471
  #
1465
1472
  # @return [MetricList] operation results.
1466
1473
  #
1467
- def list_metrics(resource_group_name, manager_name, filter, custom_headers = nil)
1468
- response = list_metrics_async(resource_group_name, manager_name, filter, custom_headers).value!
1474
+ def list_metrics(resource_group_name, manager_name, filter, custom_headers:nil)
1475
+ response = list_metrics_async(resource_group_name, manager_name, filter, custom_headers:custom_headers).value!
1469
1476
  response.body unless response.nil?
1470
1477
  end
1471
1478
 
@@ -1480,8 +1487,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1480
1487
  #
1481
1488
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1482
1489
  #
1483
- def list_metrics_with_http_info(resource_group_name, manager_name, filter, custom_headers = nil)
1484
- list_metrics_async(resource_group_name, manager_name, filter, custom_headers).value!
1490
+ def list_metrics_with_http_info(resource_group_name, manager_name, filter, custom_headers:nil)
1491
+ list_metrics_async(resource_group_name, manager_name, filter, custom_headers:custom_headers).value!
1485
1492
  end
1486
1493
 
1487
1494
  #
@@ -1495,7 +1502,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1495
1502
  #
1496
1503
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1497
1504
  #
1498
- def list_metrics_async(resource_group_name, manager_name, filter, custom_headers = nil)
1505
+ def list_metrics_async(resource_group_name, manager_name, filter, custom_headers:nil)
1499
1506
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1500
1507
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1501
1508
  fail ArgumentError, 'manager_name is nil' if manager_name.nil?
@@ -1506,6 +1513,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1506
1513
 
1507
1514
 
1508
1515
  request_headers = {}
1516
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1509
1517
 
1510
1518
  # Set Headers
1511
1519
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1561,8 +1569,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1561
1569
  #
1562
1570
  # @return [MetricDefinitionList] operation results.
1563
1571
  #
1564
- def list_metric_definition(resource_group_name, manager_name, custom_headers = nil)
1565
- response = list_metric_definition_async(resource_group_name, manager_name, custom_headers).value!
1572
+ def list_metric_definition(resource_group_name, manager_name, custom_headers:nil)
1573
+ response = list_metric_definition_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
1566
1574
  response.body unless response.nil?
1567
1575
  end
1568
1576
 
@@ -1576,8 +1584,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1576
1584
  #
1577
1585
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1578
1586
  #
1579
- def list_metric_definition_with_http_info(resource_group_name, manager_name, custom_headers = nil)
1580
- list_metric_definition_async(resource_group_name, manager_name, custom_headers).value!
1587
+ def list_metric_definition_with_http_info(resource_group_name, manager_name, custom_headers:nil)
1588
+ list_metric_definition_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
1581
1589
  end
1582
1590
 
1583
1591
  #
@@ -1590,7 +1598,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1590
1598
  #
1591
1599
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1592
1600
  #
1593
- def list_metric_definition_async(resource_group_name, manager_name, custom_headers = nil)
1601
+ def list_metric_definition_async(resource_group_name, manager_name, custom_headers:nil)
1594
1602
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1595
1603
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1596
1604
  fail ArgumentError, 'manager_name is nil' if manager_name.nil?
@@ -1600,6 +1608,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1600
1608
 
1601
1609
 
1602
1610
  request_headers = {}
1611
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1603
1612
 
1604
1613
  # Set Headers
1605
1614
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1654,8 +1663,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1654
1663
  #
1655
1664
  # @return [Key] operation results.
1656
1665
  #
1657
- def regenerate_activation_key(resource_group_name, manager_name, custom_headers = nil)
1658
- response = regenerate_activation_key_async(resource_group_name, manager_name, custom_headers).value!
1666
+ def regenerate_activation_key(resource_group_name, manager_name, custom_headers:nil)
1667
+ response = regenerate_activation_key_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
1659
1668
  response.body unless response.nil?
1660
1669
  end
1661
1670
 
@@ -1669,8 +1678,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1669
1678
  #
1670
1679
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1671
1680
  #
1672
- def regenerate_activation_key_with_http_info(resource_group_name, manager_name, custom_headers = nil)
1673
- regenerate_activation_key_async(resource_group_name, manager_name, custom_headers).value!
1681
+ def regenerate_activation_key_with_http_info(resource_group_name, manager_name, custom_headers:nil)
1682
+ regenerate_activation_key_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
1674
1683
  end
1675
1684
 
1676
1685
  #
@@ -1683,7 +1692,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1683
1692
  #
1684
1693
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1685
1694
  #
1686
- def regenerate_activation_key_async(resource_group_name, manager_name, custom_headers = nil)
1695
+ def regenerate_activation_key_async(resource_group_name, manager_name, custom_headers:nil)
1687
1696
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1688
1697
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1689
1698
  fail ArgumentError, 'manager_name is nil' if manager_name.nil?
@@ -1693,6 +1702,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
1693
1702
 
1694
1703
 
1695
1704
  request_headers = {}
1705
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1696
1706
 
1697
1707
  # Set Headers
1698
1708
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid