azure_mgmt_stor_simple8000_series 0.15.2 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/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
@@ -30,8 +30,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
30
30
|
#
|
31
31
|
# @return [Array<AvailableProviderOperation>] operation results.
|
32
32
|
#
|
33
|
-
def list(custom_headers
|
34
|
-
first_page = list_as_lazy(custom_headers)
|
33
|
+
def list(custom_headers:nil)
|
34
|
+
first_page = list_as_lazy(custom_headers:custom_headers)
|
35
35
|
first_page.get_all_items
|
36
36
|
end
|
37
37
|
|
@@ -44,8 +44,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
44
44
|
#
|
45
45
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
46
46
|
#
|
47
|
-
def list_with_http_info(custom_headers
|
48
|
-
list_async(custom_headers).value!
|
47
|
+
def list_with_http_info(custom_headers:nil)
|
48
|
+
list_async(custom_headers:custom_headers).value!
|
49
49
|
end
|
50
50
|
|
51
51
|
#
|
@@ -57,11 +57,12 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
57
57
|
#
|
58
58
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
59
59
|
#
|
60
|
-
def list_async(custom_headers
|
60
|
+
def list_async(custom_headers:nil)
|
61
61
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
62
62
|
|
63
63
|
|
64
64
|
request_headers = {}
|
65
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
65
66
|
|
66
67
|
# Set Headers
|
67
68
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -116,8 +117,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
116
117
|
#
|
117
118
|
# @return [AvailableProviderOperationList] operation results.
|
118
119
|
#
|
119
|
-
def list_next(next_page_link, custom_headers
|
120
|
-
response = list_next_async(next_page_link, custom_headers).value!
|
120
|
+
def list_next(next_page_link, custom_headers:nil)
|
121
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
121
122
|
response.body unless response.nil?
|
122
123
|
end
|
123
124
|
|
@@ -132,8 +133,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
132
133
|
#
|
133
134
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
134
135
|
#
|
135
|
-
def list_next_with_http_info(next_page_link, custom_headers
|
136
|
-
list_next_async(next_page_link, custom_headers).value!
|
136
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
137
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
137
138
|
end
|
138
139
|
|
139
140
|
#
|
@@ -147,11 +148,12 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
147
148
|
#
|
148
149
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
149
150
|
#
|
150
|
-
def list_next_async(next_page_link, custom_headers
|
151
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
151
152
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
152
153
|
|
153
154
|
|
154
155
|
request_headers = {}
|
156
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
155
157
|
|
156
158
|
# Set Headers
|
157
159
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -205,12 +207,12 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
205
207
|
# @return [AvailableProviderOperationList] which provide lazy access to pages
|
206
208
|
# of the response.
|
207
209
|
#
|
208
|
-
def list_as_lazy(custom_headers
|
209
|
-
response = list_async(custom_headers).value!
|
210
|
+
def list_as_lazy(custom_headers:nil)
|
211
|
+
response = list_async(custom_headers:custom_headers).value!
|
210
212
|
unless response.nil?
|
211
213
|
page = response.body
|
212
214
|
page.next_method = Proc.new do |next_page_link|
|
213
|
-
list_next_async(next_page_link, custom_headers)
|
215
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
214
216
|
end
|
215
217
|
page
|
216
218
|
end
|
@@ -164,6 +164,9 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
164
164
|
fail ArgumentError, 'path is nil' if path.nil?
|
165
165
|
|
166
166
|
request_url = options[:base_url] || @base_url
|
167
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
168
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
169
|
+
end
|
167
170
|
|
168
171
|
request_headers = @request_headers
|
169
172
|
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
@@ -180,7 +183,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
180
183
|
#
|
181
184
|
def add_telemetry
|
182
185
|
sdk_information = 'azure_mgmt_stor_simple8000_series'
|
183
|
-
sdk_information = "#{sdk_information}/0.
|
186
|
+
sdk_information = "#{sdk_information}/0.16.0"
|
184
187
|
add_user_agent_information(sdk_information)
|
185
188
|
end
|
186
189
|
end
|
data/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/storage_account_credentials.rb
CHANGED
@@ -31,8 +31,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
31
31
|
#
|
32
32
|
# @return [StorageAccountCredentialList] 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 [StorageAccountCredential] operation results.
|
128
129
|
#
|
129
|
-
def get(storage_account_credential_name, resource_group_name, manager_name, custom_headers
|
130
|
-
response = get_async(storage_account_credential_name, resource_group_name, manager_name, custom_headers).value!
|
130
|
+
def get(storage_account_credential_name, resource_group_name, manager_name, custom_headers:nil)
|
131
|
+
response = get_async(storage_account_credential_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(storage_account_credential_name, resource_group_name, manager_name, custom_headers
|
147
|
-
get_async(storage_account_credential_name, resource_group_name, manager_name, custom_headers).value!
|
147
|
+
def get_with_http_info(storage_account_credential_name, resource_group_name, manager_name, custom_headers:nil)
|
148
|
+
get_async(storage_account_credential_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(storage_account_credential_name, resource_group_name, manager_name, custom_headers
|
163
|
+
def get_async(storage_account_credential_name, resource_group_name, manager_name, custom_headers:nil)
|
163
164
|
fail ArgumentError, 'storage_account_credential_name is nil' if storage_account_credential_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 [StorageAccountCredential] operation results.
|
230
232
|
#
|
231
|
-
def create_or_update(storage_account_credential_name, parameters, resource_group_name, manager_name, custom_headers
|
232
|
-
response = create_or_update_async(storage_account_credential_name, parameters, resource_group_name, manager_name, custom_headers).value!
|
233
|
+
def create_or_update(storage_account_credential_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
234
|
+
response = create_or_update_async(storage_account_credential_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(storage_account_credential_name, parameters, resource_group_name, manager_name, custom_headers
|
251
|
+
def create_or_update_async(storage_account_credential_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
250
252
|
# Send request
|
251
|
-
promise = begin_create_or_update_async(storage_account_credential_name, parameters, resource_group_name, manager_name, custom_headers)
|
253
|
+
promise = begin_create_or_update_async(storage_account_credential_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(storage_account_credential_name, resource_group_name, manager_name, custom_headers
|
278
|
-
response = delete_async(storage_account_credential_name, resource_group_name, manager_name, custom_headers).value!
|
279
|
+
def delete(storage_account_credential_name, resource_group_name, manager_name, custom_headers:nil)
|
280
|
+
response = delete_async(storage_account_credential_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(storage_account_credential_name, resource_group_name, manager_name, custom_headers
|
295
|
+
def delete_async(storage_account_credential_name, resource_group_name, manager_name, custom_headers:nil)
|
294
296
|
# Send request
|
295
|
-
promise = begin_delete_async(storage_account_credential_name, resource_group_name, manager_name, custom_headers)
|
297
|
+
promise = begin_delete_async(storage_account_credential_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 [StorageAccountCredential] operation results.
|
322
324
|
#
|
323
|
-
def begin_create_or_update(storage_account_credential_name, parameters, resource_group_name, manager_name, custom_headers
|
324
|
-
response = begin_create_or_update_async(storage_account_credential_name, parameters, resource_group_name, manager_name, custom_headers).value!
|
325
|
+
def begin_create_or_update(storage_account_credential_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
326
|
+
response = begin_create_or_update_async(storage_account_credential_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(storage_account_credential_name, parameters, resource_group_name, manager_name, custom_headers
|
343
|
-
begin_create_or_update_async(storage_account_credential_name, parameters, resource_group_name, manager_name, custom_headers).value!
|
344
|
+
def begin_create_or_update_with_http_info(storage_account_credential_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
345
|
+
begin_create_or_update_async(storage_account_credential_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(storage_account_credential_name, parameters, resource_group_name, manager_name, custom_headers
|
362
|
+
def begin_create_or_update_async(storage_account_credential_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
361
363
|
fail ArgumentError, 'storage_account_credential_name is nil' if storage_account_credential_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::StorageAccountCredential.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(storage_account_credential_name, resource_group_name, manager_name, custom_headers
|
437
|
-
response = begin_delete_async(storage_account_credential_name, resource_group_name, manager_name, custom_headers).value!
|
437
|
+
def begin_delete(storage_account_credential_name, resource_group_name, manager_name, custom_headers:nil)
|
438
|
+
response = begin_delete_async(storage_account_credential_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(storage_account_credential_name, resource_group_name, manager_name, custom_headers
|
454
|
-
begin_delete_async(storage_account_credential_name, resource_group_name, manager_name, custom_headers).value!
|
454
|
+
def begin_delete_with_http_info(storage_account_credential_name, resource_group_name, manager_name, custom_headers:nil)
|
455
|
+
begin_delete_async(storage_account_credential_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(storage_account_credential_name, resource_group_name, manager_name, custom_headers
|
470
|
+
def begin_delete_async(storage_account_credential_name, resource_group_name, manager_name, custom_headers:nil)
|
470
471
|
fail ArgumentError, 'storage_account_credential_name is nil' if storage_account_credential_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 [VolumeContainerList] 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 [VolumeContainer] operation results.
|
132
133
|
#
|
133
|
-
def get(device_name, volume_container_name, resource_group_name, manager_name, custom_headers
|
134
|
-
response = get_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers).value!
|
134
|
+
def get(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:nil)
|
135
|
+
response = get_async(device_name, volume_container_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, volume_container_name, resource_group_name, manager_name, custom_headers
|
151
|
-
get_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers).value!
|
151
|
+
def get_with_http_info(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:nil)
|
152
|
+
get_async(device_name, volume_container_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, volume_container_name, resource_group_name, manager_name, custom_headers
|
167
|
+
def get_async(device_name, volume_container_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, 'volume_container_name is nil' if volume_container_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 [VolumeContainer] operation results.
|
235
237
|
#
|
236
|
-
def create_or_update(device_name, volume_container_name, parameters, resource_group_name, manager_name, custom_headers
|
237
|
-
response = create_or_update_async(device_name, volume_container_name, parameters, resource_group_name, manager_name, custom_headers).value!
|
238
|
+
def create_or_update(device_name, volume_container_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
239
|
+
response = create_or_update_async(device_name, volume_container_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, volume_container_name, parameters, resource_group_name, manager_name, custom_headers
|
256
|
+
def create_or_update_async(device_name, volume_container_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
255
257
|
# Send request
|
256
|
-
promise = begin_create_or_update_async(device_name, volume_container_name, parameters, resource_group_name, manager_name, custom_headers)
|
258
|
+
promise = begin_create_or_update_async(device_name, volume_container_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, volume_container_name, resource_group_name, manager_name, custom_headers
|
283
|
-
response = delete_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers).value!
|
284
|
+
def delete(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:nil)
|
285
|
+
response = delete_async(device_name, volume_container_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, volume_container_name, resource_group_name, manager_name, custom_headers
|
300
|
+
def delete_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:nil)
|
299
301
|
# Send request
|
300
|
-
promise = begin_delete_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers)
|
302
|
+
promise = begin_delete_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:custom_headers)
|
301
303
|
|
302
304
|
promise = promise.then do |response|
|
303
305
|
# Defining deserialization method.
|
@@ -324,8 +326,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
324
326
|
#
|
325
327
|
# @return [MetricList] operation results.
|
326
328
|
#
|
327
|
-
def list_metrics(device_name, volume_container_name, resource_group_name, manager_name, filter, custom_headers
|
328
|
-
response = list_metrics_async(device_name, volume_container_name, resource_group_name, manager_name, filter, custom_headers).value!
|
329
|
+
def list_metrics(device_name, volume_container_name, resource_group_name, manager_name, filter, custom_headers:nil)
|
330
|
+
response = list_metrics_async(device_name, volume_container_name, resource_group_name, manager_name, filter, custom_headers:custom_headers).value!
|
329
331
|
response.body unless response.nil?
|
330
332
|
end
|
331
333
|
|
@@ -342,8 +344,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
342
344
|
#
|
343
345
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
344
346
|
#
|
345
|
-
def list_metrics_with_http_info(device_name, volume_container_name, resource_group_name, manager_name, filter, custom_headers
|
346
|
-
list_metrics_async(device_name, volume_container_name, resource_group_name, manager_name, filter, custom_headers).value!
|
347
|
+
def list_metrics_with_http_info(device_name, volume_container_name, resource_group_name, manager_name, filter, custom_headers:nil)
|
348
|
+
list_metrics_async(device_name, volume_container_name, resource_group_name, manager_name, filter, custom_headers:custom_headers).value!
|
347
349
|
end
|
348
350
|
|
349
351
|
#
|
@@ -359,7 +361,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
359
361
|
#
|
360
362
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
361
363
|
#
|
362
|
-
def list_metrics_async(device_name, volume_container_name, resource_group_name, manager_name, filter, custom_headers
|
364
|
+
def list_metrics_async(device_name, volume_container_name, resource_group_name, manager_name, filter, custom_headers:nil)
|
363
365
|
fail ArgumentError, 'device_name is nil' if device_name.nil?
|
364
366
|
fail ArgumentError, 'volume_container_name is nil' if volume_container_name.nil?
|
365
367
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -372,6 +374,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
372
374
|
|
373
375
|
|
374
376
|
request_headers = {}
|
377
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
375
378
|
|
376
379
|
# Set Headers
|
377
380
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -429,8 +432,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
429
432
|
#
|
430
433
|
# @return [MetricDefinitionList] operation results.
|
431
434
|
#
|
432
|
-
def list_metric_definition(device_name, volume_container_name, resource_group_name, manager_name, custom_headers
|
433
|
-
response = list_metric_definition_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers).value!
|
435
|
+
def list_metric_definition(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:nil)
|
436
|
+
response = list_metric_definition_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
434
437
|
response.body unless response.nil?
|
435
438
|
end
|
436
439
|
|
@@ -446,8 +449,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
446
449
|
#
|
447
450
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
448
451
|
#
|
449
|
-
def list_metric_definition_with_http_info(device_name, volume_container_name, resource_group_name, manager_name, custom_headers
|
450
|
-
list_metric_definition_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers).value!
|
452
|
+
def list_metric_definition_with_http_info(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:nil)
|
453
|
+
list_metric_definition_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
451
454
|
end
|
452
455
|
|
453
456
|
#
|
@@ -462,7 +465,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
462
465
|
#
|
463
466
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
464
467
|
#
|
465
|
-
def list_metric_definition_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers
|
468
|
+
def list_metric_definition_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:nil)
|
466
469
|
fail ArgumentError, 'device_name is nil' if device_name.nil?
|
467
470
|
fail ArgumentError, 'volume_container_name is nil' if volume_container_name.nil?
|
468
471
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -474,6 +477,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
474
477
|
|
475
478
|
|
476
479
|
request_headers = {}
|
480
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
477
481
|
|
478
482
|
# Set Headers
|
479
483
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -532,8 +536,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
532
536
|
#
|
533
537
|
# @return [VolumeContainer] operation results.
|
534
538
|
#
|
535
|
-
def begin_create_or_update(device_name, volume_container_name, parameters, resource_group_name, manager_name, custom_headers
|
536
|
-
response = begin_create_or_update_async(device_name, volume_container_name, parameters, resource_group_name, manager_name, custom_headers).value!
|
539
|
+
def begin_create_or_update(device_name, volume_container_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
540
|
+
response = begin_create_or_update_async(device_name, volume_container_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
537
541
|
response.body unless response.nil?
|
538
542
|
end
|
539
543
|
|
@@ -551,8 +555,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
551
555
|
#
|
552
556
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
553
557
|
#
|
554
|
-
def begin_create_or_update_with_http_info(device_name, volume_container_name, parameters, resource_group_name, manager_name, custom_headers
|
555
|
-
begin_create_or_update_async(device_name, volume_container_name, parameters, resource_group_name, manager_name, custom_headers).value!
|
558
|
+
def begin_create_or_update_with_http_info(device_name, volume_container_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
559
|
+
begin_create_or_update_async(device_name, volume_container_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
556
560
|
end
|
557
561
|
|
558
562
|
#
|
@@ -569,7 +573,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
569
573
|
#
|
570
574
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
571
575
|
#
|
572
|
-
def begin_create_or_update_async(device_name, volume_container_name, parameters, resource_group_name, manager_name, custom_headers
|
576
|
+
def begin_create_or_update_async(device_name, volume_container_name, parameters, resource_group_name, manager_name, custom_headers:nil)
|
573
577
|
fail ArgumentError, 'device_name is nil' if device_name.nil?
|
574
578
|
fail ArgumentError, 'volume_container_name is nil' if volume_container_name.nil?
|
575
579
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
@@ -582,13 +586,12 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
582
586
|
|
583
587
|
|
584
588
|
request_headers = {}
|
589
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
585
590
|
|
586
591
|
# Set Headers
|
587
592
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
588
593
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
589
594
|
|
590
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
591
|
-
|
592
595
|
# Serialize Request
|
593
596
|
request_mapper = Azure::StorSimple8000Series::Mgmt::V2017_06_01::Models::VolumeContainer.mapper()
|
594
597
|
request_content = @client.serialize(request_mapper, parameters)
|
@@ -646,8 +649,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
646
649
|
# will be added to the HTTP request.
|
647
650
|
#
|
648
651
|
#
|
649
|
-
def begin_delete(device_name, volume_container_name, resource_group_name, manager_name, custom_headers
|
650
|
-
response = begin_delete_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers).value!
|
652
|
+
def begin_delete(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:nil)
|
653
|
+
response = begin_delete_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
651
654
|
nil
|
652
655
|
end
|
653
656
|
|
@@ -663,8 +666,8 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
663
666
|
#
|
664
667
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
665
668
|
#
|
666
|
-
def begin_delete_with_http_info(device_name, volume_container_name, resource_group_name, manager_name, custom_headers
|
667
|
-
begin_delete_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers).value!
|
669
|
+
def begin_delete_with_http_info(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:nil)
|
670
|
+
begin_delete_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
|
668
671
|
end
|
669
672
|
|
670
673
|
#
|
@@ -679,7 +682,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
679
682
|
#
|
680
683
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
681
684
|
#
|
682
|
-
def begin_delete_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers
|
685
|
+
def begin_delete_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:nil)
|
683
686
|
fail ArgumentError, 'device_name is nil' if device_name.nil?
|
684
687
|
fail ArgumentError, 'volume_container_name is nil' if volume_container_name.nil?
|
685
688
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -691,6 +694,7 @@ module Azure::StorSimple8000Series::Mgmt::V2017_06_01
|
|
691
694
|
|
692
695
|
|
693
696
|
request_headers = {}
|
697
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
694
698
|
|
695
699
|
# Set Headers
|
696
700
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|