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.
- checksums.yaml +4 -4
- data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/access_control_records.rb +32 -30
- data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/alerts.rb +27 -27
- data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/backup_policies.rb +42 -39
- data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/backup_schedules.rb +32 -30
- data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/backups.rb +45 -42
- data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/bandwidth_settings.rb +32 -30
- data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/cloud_appliances.rb +16 -16
- data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/device_settings.rb +74 -73
- data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/devices.rb +114 -107
- data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/hardware_component_groups.rb +16 -16
- data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/jobs.rb +46 -40
- data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/managers.rb +108 -98
- data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/operations.rb +15 -13
- data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/stor_simple8000series_management_client.rb +4 -1
- data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/storage_account_credentials.rb +32 -30
- data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/volume_containers.rb +44 -40
- data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/volumes.rb +50 -45
- data/lib/profiles/latest/modules/storsimple8000series_profile_module.rb +520 -501
- data/lib/profiles/latest/storsimple8000series_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/storsimple8000series_module_definition.rb +0 -1
- 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: c128960097d9407a590782dff34e83925311474f
|
4
|
+
data.tar.gz: 041d09debb1fed147251147815dfbe2c2d057b26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ba1b381d96012e545478b5c6340e0ebdd9502fcb7aad4a99384ed5b32eb6256d4225c31101cdfbe2b55dfa8af0bf4e3033119286646c760066a0d68d15c0fb5
|
7
|
+
data.tar.gz: e4e67fb2f0f66630a7d51b3b8a3ed0c6e9e5e4608c350262cdd388870028e2be96a093e68881d7e4a5b70b4a441bf0701a44c98a49c578b1f19c063f658d7394
|
@@ -31,8 +31,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
31
31
|
#
|
32
32
|
# @return [AccessControlRecordList] operation results.
|
33
33
|
#
|
34
|
-
def list_by_manager(resource_group_name, manager_name, custom_headers
|
35
|
-
response = list_by_manager_async(resource_group_name, manager_name, custom_headers).value!
|
34
|
+
def list_by_manager(resource_group_name, manager_name, custom_headers:nil)
|
35
|
+
response = list_by_manager_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
|
36
36
|
response.body unless response.nil?
|
37
37
|
end
|
38
38
|
|
@@ -46,8 +46,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
46
46
|
#
|
47
47
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
48
48
|
#
|
49
|
-
def list_by_manager_with_http_info(resource_group_name, manager_name, custom_headers
|
50
|
-
list_by_manager_async(resource_group_name, manager_name, custom_headers).value!
|
49
|
+
def list_by_manager_with_http_info(resource_group_name, manager_name, custom_headers:nil)
|
50
|
+
list_by_manager_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
|
51
51
|
end
|
52
52
|
|
53
53
|
#
|
@@ -60,7 +60,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
60
60
|
#
|
61
61
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
62
62
|
#
|
63
|
-
def list_by_manager_async(resource_group_name, manager_name, custom_headers
|
63
|
+
def list_by_manager_async(resource_group_name, manager_name, custom_headers:nil)
|
64
64
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
65
65
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
66
66
|
fail ArgumentError, 'manager_name is nil' if manager_name.nil?
|
@@ -70,6 +70,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
70
70
|
|
71
71
|
|
72
72
|
request_headers = {}
|
73
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
73
74
|
|
74
75
|
# Set Headers
|
75
76
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -126,8 +127,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
126
127
|
#
|
127
128
|
# @return [AccessControlRecord] operation results.
|
128
129
|
#
|
129
|
-
def get(access_control_record_name, resource_group_name, manager_name, custom_headers
|
130
|
-
response = get_async(access_control_record_name, resource_group_name, manager_name, custom_headers).value!
|
130
|
+
def get(access_control_record_name, resource_group_name, manager_name, custom_headers:nil)
|
131
|
+
response = get_async(access_control_record_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
131
132
|
response.body unless response.nil?
|
132
133
|
end
|
133
134
|
|
@@ -143,8 +144,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
143
144
|
#
|
144
145
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
145
146
|
#
|
146
|
-
def get_with_http_info(access_control_record_name, resource_group_name, manager_name, custom_headers
|
147
|
-
get_async(access_control_record_name, resource_group_name, manager_name, custom_headers).value!
|
147
|
+
def get_with_http_info(access_control_record_name, resource_group_name, manager_name, custom_headers:nil)
|
148
|
+
get_async(access_control_record_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
148
149
|
end
|
149
150
|
|
150
151
|
#
|
@@ -159,7 +160,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
159
160
|
#
|
160
161
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
161
162
|
#
|
162
|
-
def get_async(access_control_record_name, resource_group_name, manager_name, custom_headers
|
163
|
+
def get_async(access_control_record_name, resource_group_name, manager_name, custom_headers:nil)
|
163
164
|
fail ArgumentError, 'access_control_record_name is nil' if access_control_record_name.nil?
|
164
165
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
165
166
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -170,6 +171,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
170
171
|
|
171
172
|
|
172
173
|
request_headers = {}
|
174
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
173
175
|
|
174
176
|
# Set Headers
|
175
177
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -228,8 +230,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
228
230
|
#
|
229
231
|
# @return [AccessControlRecord] operation results.
|
230
232
|
#
|
231
|
-
def create_or_update(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers
|
232
|
-
response = create_or_update_async(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers).value!
|
233
|
+
def create_or_update(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
234
|
+
response = create_or_update_async(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
233
235
|
response.body unless response.nil?
|
234
236
|
end
|
235
237
|
|
@@ -246,9 +248,9 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
246
248
|
# @return [Concurrent::Promise] promise which provides async access to http
|
247
249
|
# response.
|
248
250
|
#
|
249
|
-
def create_or_update_async(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers
|
251
|
+
def create_or_update_async(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
250
252
|
# Send request
|
251
|
-
promise = begin_create_or_update_async(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers)
|
253
|
+
promise = begin_create_or_update_async(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers)
|
252
254
|
|
253
255
|
promise = promise.then do |response|
|
254
256
|
# Defining deserialization method.
|
@@ -274,8 +276,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
274
276
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
275
277
|
# will be added to the HTTP request.
|
276
278
|
#
|
277
|
-
def delete(access_control_record_name, resource_group_name, manager_name, custom_headers
|
278
|
-
response = delete_async(access_control_record_name, resource_group_name, manager_name, custom_headers).value!
|
279
|
+
def delete(access_control_record_name, resource_group_name, manager_name, custom_headers:nil)
|
280
|
+
response = delete_async(access_control_record_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
279
281
|
nil
|
280
282
|
end
|
281
283
|
|
@@ -290,9 +292,9 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
290
292
|
# @return [Concurrent::Promise] promise which provides async access to http
|
291
293
|
# response.
|
292
294
|
#
|
293
|
-
def delete_async(access_control_record_name, resource_group_name, manager_name, custom_headers
|
295
|
+
def delete_async(access_control_record_name, resource_group_name, manager_name, custom_headers:nil)
|
294
296
|
# Send request
|
295
|
-
promise = begin_delete_async(access_control_record_name, resource_group_name, manager_name, custom_headers)
|
297
|
+
promise = begin_delete_async(access_control_record_name, resource_group_name, manager_name, custom_headers:custom_headers)
|
296
298
|
|
297
299
|
promise = promise.then do |response|
|
298
300
|
# Defining deserialization method.
|
@@ -320,8 +322,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
320
322
|
#
|
321
323
|
# @return [AccessControlRecord] operation results.
|
322
324
|
#
|
323
|
-
def begin_create_or_update(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers
|
324
|
-
response = begin_create_or_update_async(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers).value!
|
325
|
+
def begin_create_or_update(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
326
|
+
response = begin_create_or_update_async(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
325
327
|
response.body unless response.nil?
|
326
328
|
end
|
327
329
|
|
@@ -339,8 +341,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
339
341
|
#
|
340
342
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
341
343
|
#
|
342
|
-
def begin_create_or_update_with_http_info(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers
|
343
|
-
begin_create_or_update_async(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers).value!
|
344
|
+
def begin_create_or_update_with_http_info(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
345
|
+
begin_create_or_update_async(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
344
346
|
end
|
345
347
|
|
346
348
|
#
|
@@ -357,7 +359,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
357
359
|
#
|
358
360
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
359
361
|
#
|
360
|
-
def begin_create_or_update_async(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers
|
362
|
+
def begin_create_or_update_async(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
361
363
|
fail ArgumentError, 'access_control_record_name is nil' if access_control_record_name.nil?
|
362
364
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
363
365
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -369,13 +371,12 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
369
371
|
|
370
372
|
|
371
373
|
request_headers = {}
|
374
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
372
375
|
|
373
376
|
# Set Headers
|
374
377
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
375
378
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
376
379
|
|
377
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
378
|
-
|
379
380
|
# Serialize Request
|
380
381
|
request_mapper = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::AccessControlRecord.mapper()
|
381
382
|
request_content = @client.serialize(request_mapper, parameters)
|
@@ -433,8 +434,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
433
434
|
# will be added to the HTTP request.
|
434
435
|
#
|
435
436
|
#
|
436
|
-
def begin_delete(access_control_record_name, resource_group_name, manager_name, custom_headers
|
437
|
-
response = begin_delete_async(access_control_record_name, resource_group_name, manager_name, custom_headers).value!
|
437
|
+
def begin_delete(access_control_record_name, resource_group_name, manager_name, custom_headers:nil)
|
438
|
+
response = begin_delete_async(access_control_record_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
438
439
|
nil
|
439
440
|
end
|
440
441
|
|
@@ -450,8 +451,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
450
451
|
#
|
451
452
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
452
453
|
#
|
453
|
-
def begin_delete_with_http_info(access_control_record_name, resource_group_name, manager_name, custom_headers
|
454
|
-
begin_delete_async(access_control_record_name, resource_group_name, manager_name, custom_headers).value!
|
454
|
+
def begin_delete_with_http_info(access_control_record_name, resource_group_name, manager_name, custom_headers:nil)
|
455
|
+
begin_delete_async(access_control_record_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
455
456
|
end
|
456
457
|
|
457
458
|
#
|
@@ -466,7 +467,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
466
467
|
#
|
467
468
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
468
469
|
#
|
469
|
-
def begin_delete_async(access_control_record_name, resource_group_name, manager_name, custom_headers
|
470
|
+
def begin_delete_async(access_control_record_name, resource_group_name, manager_name, custom_headers:nil)
|
470
471
|
fail ArgumentError, 'access_control_record_name is nil' if access_control_record_name.nil?
|
471
472
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
472
473
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -477,6 +478,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
477
478
|
|
478
479
|
|
479
480
|
request_headers = {}
|
481
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
480
482
|
|
481
483
|
# Set Headers
|
482
484
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -32,8 +32,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
32
32
|
#
|
33
33
|
# @return [Array<Alert>] operation results.
|
34
34
|
#
|
35
|
-
def list_by_manager(resource_group_name, manager_name, filter
|
36
|
-
first_page = list_by_manager_as_lazy(resource_group_name, manager_name, filter, custom_headers)
|
35
|
+
def list_by_manager(resource_group_name, manager_name, filter:nil, custom_headers:nil)
|
36
|
+
first_page = list_by_manager_as_lazy(resource_group_name, manager_name, filter:filter, custom_headers:custom_headers)
|
37
37
|
first_page.get_all_items
|
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_manager_with_http_info(resource_group_name, manager_name, filter
|
52
|
-
list_by_manager_async(resource_group_name, manager_name, filter, custom_headers).value!
|
51
|
+
def list_by_manager_with_http_info(resource_group_name, manager_name, filter:nil, custom_headers:nil)
|
52
|
+
list_by_manager_async(resource_group_name, manager_name, filter:filter, 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_manager_async(resource_group_name, manager_name, filter
|
66
|
+
def list_by_manager_async(resource_group_name, manager_name, filter:nil, custom_headers:nil)
|
67
67
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
68
68
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
69
69
|
fail ArgumentError, 'manager_name is nil' if manager_name.nil?
|
@@ -73,6 +73,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
73
73
|
|
74
74
|
|
75
75
|
request_headers = {}
|
76
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
76
77
|
|
77
78
|
# Set Headers
|
78
79
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -128,8 +129,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
128
129
|
# will be added to the HTTP request.
|
129
130
|
#
|
130
131
|
#
|
131
|
-
def clear(parameters, resource_group_name, manager_name, custom_headers
|
132
|
-
response = clear_async(parameters, resource_group_name, manager_name, custom_headers).value!
|
132
|
+
def clear(parameters, resource_group_name, manager_name, custom_headers:nil)
|
133
|
+
response = clear_async(parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
133
134
|
nil
|
134
135
|
end
|
135
136
|
|
@@ -144,8 +145,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
144
145
|
#
|
145
146
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
146
147
|
#
|
147
|
-
def clear_with_http_info(parameters, resource_group_name, manager_name, custom_headers
|
148
|
-
clear_async(parameters, resource_group_name, manager_name, custom_headers).value!
|
148
|
+
def clear_with_http_info(parameters, resource_group_name, manager_name, custom_headers:nil)
|
149
|
+
clear_async(parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
149
150
|
end
|
150
151
|
|
151
152
|
#
|
@@ -159,7 +160,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
159
160
|
#
|
160
161
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
161
162
|
#
|
162
|
-
def clear_async(parameters, resource_group_name, manager_name, custom_headers
|
163
|
+
def clear_async(parameters, resource_group_name, manager_name, custom_headers:nil)
|
163
164
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
164
165
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
165
166
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
@@ -170,13 +171,12 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
170
171
|
|
171
172
|
|
172
173
|
request_headers = {}
|
174
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
173
175
|
|
174
176
|
# Set Headers
|
175
177
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
176
178
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
177
179
|
|
178
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
179
|
-
|
180
180
|
# Serialize Request
|
181
181
|
request_mapper = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::ClearAlertRequest.mapper()
|
182
182
|
request_content = @client.serialize(request_mapper, parameters)
|
@@ -225,8 +225,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
225
225
|
# will be added to the HTTP request.
|
226
226
|
#
|
227
227
|
#
|
228
|
-
def send_test_email(device_name, parameters, resource_group_name, manager_name, custom_headers
|
229
|
-
response = send_test_email_async(device_name, parameters, resource_group_name, manager_name, custom_headers).value!
|
228
|
+
def send_test_email(device_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
229
|
+
response = send_test_email_async(device_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
230
230
|
nil
|
231
231
|
end
|
232
232
|
|
@@ -243,8 +243,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
243
243
|
#
|
244
244
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
245
245
|
#
|
246
|
-
def send_test_email_with_http_info(device_name, parameters, resource_group_name, manager_name, custom_headers
|
247
|
-
send_test_email_async(device_name, parameters, resource_group_name, manager_name, custom_headers).value!
|
246
|
+
def send_test_email_with_http_info(device_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
247
|
+
send_test_email_async(device_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
248
248
|
end
|
249
249
|
|
250
250
|
#
|
@@ -260,7 +260,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
260
260
|
#
|
261
261
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
262
262
|
#
|
263
|
-
def send_test_email_async(device_name, parameters, resource_group_name, manager_name, custom_headers
|
263
|
+
def send_test_email_async(device_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
264
264
|
fail ArgumentError, 'device_name is nil' if device_name.nil?
|
265
265
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
266
266
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -272,13 +272,12 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
272
272
|
|
273
273
|
|
274
274
|
request_headers = {}
|
275
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
275
276
|
|
276
277
|
# Set Headers
|
277
278
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
278
279
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
279
280
|
|
280
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
281
|
-
|
282
281
|
# Serialize Request
|
283
282
|
request_mapper = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::SendTestAlertEmailRequest.mapper()
|
284
283
|
request_content = @client.serialize(request_mapper, parameters)
|
@@ -325,8 +324,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
325
324
|
#
|
326
325
|
# @return [AlertList] operation results.
|
327
326
|
#
|
328
|
-
def list_by_manager_next(next_page_link, custom_headers
|
329
|
-
response = list_by_manager_next_async(next_page_link, custom_headers).value!
|
327
|
+
def list_by_manager_next(next_page_link, custom_headers:nil)
|
328
|
+
response = list_by_manager_next_async(next_page_link, custom_headers:custom_headers).value!
|
330
329
|
response.body unless response.nil?
|
331
330
|
end
|
332
331
|
|
@@ -340,8 +339,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
340
339
|
#
|
341
340
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
342
341
|
#
|
343
|
-
def list_by_manager_next_with_http_info(next_page_link, custom_headers
|
344
|
-
list_by_manager_next_async(next_page_link, custom_headers).value!
|
342
|
+
def list_by_manager_next_with_http_info(next_page_link, custom_headers:nil)
|
343
|
+
list_by_manager_next_async(next_page_link, custom_headers:custom_headers).value!
|
345
344
|
end
|
346
345
|
|
347
346
|
#
|
@@ -354,11 +353,12 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
354
353
|
#
|
355
354
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
356
355
|
#
|
357
|
-
def list_by_manager_next_async(next_page_link, custom_headers
|
356
|
+
def list_by_manager_next_async(next_page_link, custom_headers:nil)
|
358
357
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
359
358
|
|
360
359
|
|
361
360
|
request_headers = {}
|
361
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
362
362
|
|
363
363
|
# Set Headers
|
364
364
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -413,12 +413,12 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
413
413
|
#
|
414
414
|
# @return [AlertList] which provide lazy access to pages of the response.
|
415
415
|
#
|
416
|
-
def list_by_manager_as_lazy(resource_group_name, manager_name, filter
|
417
|
-
response = list_by_manager_async(resource_group_name, manager_name, filter, custom_headers).value!
|
416
|
+
def list_by_manager_as_lazy(resource_group_name, manager_name, filter:nil, custom_headers:nil)
|
417
|
+
response = list_by_manager_async(resource_group_name, manager_name, filter:filter, custom_headers:custom_headers).value!
|
418
418
|
unless response.nil?
|
419
419
|
page = response.body
|
420
420
|
page.next_method = Proc.new do |next_page_link|
|
421
|
-
list_by_manager_next_async(next_page_link, custom_headers)
|
421
|
+
list_by_manager_next_async(next_page_link, custom_headers:custom_headers)
|
422
422
|
end
|
423
423
|
page
|
424
424
|
end
|
@@ -32,8 +32,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
32
32
|
#
|
33
33
|
# @return [BackupPolicyList] operation results.
|
34
34
|
#
|
35
|
-
def list_by_device(device_name, resource_group_name, manager_name, custom_headers
|
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
|
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
|
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
|
@@ -130,8 +131,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
130
131
|
#
|
131
132
|
# @return [BackupPolicy] operation results.
|
132
133
|
#
|
133
|
-
def get(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers
|
134
|
-
response = get_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers).value!
|
134
|
+
def get(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:nil)
|
135
|
+
response = get_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
135
136
|
response.body unless response.nil?
|
136
137
|
end
|
137
138
|
|
@@ -147,8 +148,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
147
148
|
#
|
148
149
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
149
150
|
#
|
150
|
-
def get_with_http_info(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers
|
151
|
-
get_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers).value!
|
151
|
+
def get_with_http_info(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:nil)
|
152
|
+
get_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
152
153
|
end
|
153
154
|
|
154
155
|
#
|
@@ -163,7 +164,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
163
164
|
#
|
164
165
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
165
166
|
#
|
166
|
-
def get_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers
|
167
|
+
def get_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:nil)
|
167
168
|
fail ArgumentError, 'device_name is nil' if device_name.nil?
|
168
169
|
fail ArgumentError, 'backup_policy_name is nil' if backup_policy_name.nil?
|
169
170
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -175,6 +176,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
175
176
|
|
176
177
|
|
177
178
|
request_headers = {}
|
179
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
178
180
|
|
179
181
|
# Set Headers
|
180
182
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -233,8 +235,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
233
235
|
#
|
234
236
|
# @return [BackupPolicy] operation results.
|
235
237
|
#
|
236
|
-
def create_or_update(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers
|
237
|
-
response = create_or_update_async(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers).value!
|
238
|
+
def create_or_update(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
239
|
+
response = create_or_update_async(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
238
240
|
response.body unless response.nil?
|
239
241
|
end
|
240
242
|
|
@@ -251,9 +253,9 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
251
253
|
# @return [Concurrent::Promise] promise which provides async access to http
|
252
254
|
# response.
|
253
255
|
#
|
254
|
-
def create_or_update_async(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers
|
256
|
+
def create_or_update_async(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
255
257
|
# Send request
|
256
|
-
promise = begin_create_or_update_async(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers)
|
258
|
+
promise = begin_create_or_update_async(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers)
|
257
259
|
|
258
260
|
promise = promise.then do |response|
|
259
261
|
# Defining deserialization method.
|
@@ -279,8 +281,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
279
281
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
280
282
|
# will be added to the HTTP request.
|
281
283
|
#
|
282
|
-
def delete(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers
|
283
|
-
response = delete_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers).value!
|
284
|
+
def delete(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:nil)
|
285
|
+
response = delete_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
284
286
|
nil
|
285
287
|
end
|
286
288
|
|
@@ -295,9 +297,9 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
295
297
|
# @return [Concurrent::Promise] promise which provides async access to http
|
296
298
|
# response.
|
297
299
|
#
|
298
|
-
def delete_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers
|
300
|
+
def delete_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:nil)
|
299
301
|
# Send request
|
300
|
-
promise = begin_delete_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers)
|
302
|
+
promise = begin_delete_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:custom_headers)
|
301
303
|
|
302
304
|
promise = promise.then do |response|
|
303
305
|
# Defining deserialization method.
|
@@ -323,8 +325,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
323
325
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
324
326
|
# will be added to the HTTP request.
|
325
327
|
#
|
326
|
-
def backup_now(device_name, backup_policy_name, backup_type, resource_group_name, manager_name, custom_headers
|
327
|
-
response = backup_now_async(device_name, backup_policy_name, backup_type, resource_group_name, manager_name, custom_headers).value!
|
328
|
+
def backup_now(device_name, backup_policy_name, backup_type, resource_group_name, manager_name, custom_headers:nil)
|
329
|
+
response = backup_now_async(device_name, backup_policy_name, backup_type, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
328
330
|
nil
|
329
331
|
end
|
330
332
|
|
@@ -341,9 +343,9 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
341
343
|
# @return [Concurrent::Promise] promise which provides async access to http
|
342
344
|
# response.
|
343
345
|
#
|
344
|
-
def backup_now_async(device_name, backup_policy_name, backup_type, resource_group_name, manager_name, custom_headers
|
346
|
+
def backup_now_async(device_name, backup_policy_name, backup_type, resource_group_name, manager_name, custom_headers:nil)
|
345
347
|
# Send request
|
346
|
-
promise = begin_backup_now_async(device_name, backup_policy_name, backup_type, resource_group_name, manager_name, custom_headers)
|
348
|
+
promise = begin_backup_now_async(device_name, backup_policy_name, backup_type, resource_group_name, manager_name, custom_headers:custom_headers)
|
347
349
|
|
348
350
|
promise = promise.then do |response|
|
349
351
|
# Defining deserialization method.
|
@@ -371,8 +373,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
371
373
|
#
|
372
374
|
# @return [BackupPolicy] operation results.
|
373
375
|
#
|
374
|
-
def begin_create_or_update(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers
|
375
|
-
response = begin_create_or_update_async(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers).value!
|
376
|
+
def begin_create_or_update(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
377
|
+
response = begin_create_or_update_async(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
376
378
|
response.body unless response.nil?
|
377
379
|
end
|
378
380
|
|
@@ -390,8 +392,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
390
392
|
#
|
391
393
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
392
394
|
#
|
393
|
-
def begin_create_or_update_with_http_info(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers
|
394
|
-
begin_create_or_update_async(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers).value!
|
395
|
+
def begin_create_or_update_with_http_info(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
396
|
+
begin_create_or_update_async(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
395
397
|
end
|
396
398
|
|
397
399
|
#
|
@@ -408,7 +410,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
408
410
|
#
|
409
411
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
410
412
|
#
|
411
|
-
def begin_create_or_update_async(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers
|
413
|
+
def begin_create_or_update_async(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
412
414
|
fail ArgumentError, 'device_name is nil' if device_name.nil?
|
413
415
|
fail ArgumentError, 'backup_policy_name is nil' if backup_policy_name.nil?
|
414
416
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
@@ -421,13 +423,12 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
421
423
|
|
422
424
|
|
423
425
|
request_headers = {}
|
426
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
424
427
|
|
425
428
|
# Set Headers
|
426
429
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
427
430
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
428
431
|
|
429
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
430
|
-
|
431
432
|
# Serialize Request
|
432
433
|
request_mapper = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::BackupPolicy.mapper()
|
433
434
|
request_content = @client.serialize(request_mapper, parameters)
|
@@ -485,8 +486,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
485
486
|
# will be added to the HTTP request.
|
486
487
|
#
|
487
488
|
#
|
488
|
-
def begin_delete(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers
|
489
|
-
response = begin_delete_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers).value!
|
489
|
+
def begin_delete(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:nil)
|
490
|
+
response = begin_delete_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
490
491
|
nil
|
491
492
|
end
|
492
493
|
|
@@ -502,8 +503,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
502
503
|
#
|
503
504
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
504
505
|
#
|
505
|
-
def begin_delete_with_http_info(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers
|
506
|
-
begin_delete_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers).value!
|
506
|
+
def begin_delete_with_http_info(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:nil)
|
507
|
+
begin_delete_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
507
508
|
end
|
508
509
|
|
509
510
|
#
|
@@ -518,7 +519,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
518
519
|
#
|
519
520
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
520
521
|
#
|
521
|
-
def begin_delete_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers
|
522
|
+
def begin_delete_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:nil)
|
522
523
|
fail ArgumentError, 'device_name is nil' if device_name.nil?
|
523
524
|
fail ArgumentError, 'backup_policy_name is nil' if backup_policy_name.nil?
|
524
525
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -530,6 +531,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
530
531
|
|
531
532
|
|
532
533
|
request_headers = {}
|
534
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
533
535
|
|
534
536
|
# Set Headers
|
535
537
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -577,8 +579,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
577
579
|
# will be added to the HTTP request.
|
578
580
|
#
|
579
581
|
#
|
580
|
-
def begin_backup_now(device_name, backup_policy_name, backup_type, resource_group_name, manager_name, custom_headers
|
581
|
-
response = begin_backup_now_async(device_name, backup_policy_name, backup_type, resource_group_name, manager_name, custom_headers).value!
|
582
|
+
def begin_backup_now(device_name, backup_policy_name, backup_type, resource_group_name, manager_name, custom_headers:nil)
|
583
|
+
response = begin_backup_now_async(device_name, backup_policy_name, backup_type, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
582
584
|
nil
|
583
585
|
end
|
584
586
|
|
@@ -596,8 +598,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
596
598
|
#
|
597
599
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
598
600
|
#
|
599
|
-
def begin_backup_now_with_http_info(device_name, backup_policy_name, backup_type, resource_group_name, manager_name, custom_headers
|
600
|
-
begin_backup_now_async(device_name, backup_policy_name, backup_type, resource_group_name, manager_name, custom_headers).value!
|
601
|
+
def begin_backup_now_with_http_info(device_name, backup_policy_name, backup_type, resource_group_name, manager_name, custom_headers:nil)
|
602
|
+
begin_backup_now_async(device_name, backup_policy_name, backup_type, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
601
603
|
end
|
602
604
|
|
603
605
|
#
|
@@ -614,7 +616,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
614
616
|
#
|
615
617
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
616
618
|
#
|
617
|
-
def begin_backup_now_async(device_name, backup_policy_name, backup_type, resource_group_name, manager_name, custom_headers
|
619
|
+
def begin_backup_now_async(device_name, backup_policy_name, backup_type, resource_group_name, manager_name, custom_headers:nil)
|
618
620
|
fail ArgumentError, 'device_name is nil' if device_name.nil?
|
619
621
|
fail ArgumentError, 'backup_policy_name is nil' if backup_policy_name.nil?
|
620
622
|
fail ArgumentError, 'backup_type is nil' if backup_type.nil?
|
@@ -627,6 +629,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
627
629
|
|
628
630
|
|
629
631
|
request_headers = {}
|
632
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
630
633
|
|
631
634
|
# Set Headers
|
632
635
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|