azure_mgmt_devtestlabs 0.17.3 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/arm_templates.rb +6 -0
  3. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/artifact_sources.rb +12 -0
  4. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/artifacts.rb +8 -0
  5. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/costs.rb +4 -0
  6. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/custom_images.rb +10 -0
  7. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb +1 -1
  8. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/disks.rb +14 -0
  9. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/environments.rb +10 -0
  10. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/formulas.rb +10 -0
  11. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/gallery_images.rb +4 -0
  12. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/global_schedules.rb +20 -0
  13. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/labs.rb +28 -0
  14. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/notification_channels.rb +14 -0
  15. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/operations.rb +2 -0
  16. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/policies.rb +12 -0
  17. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/policy_sets.rb +2 -0
  18. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/provider_operations.rb +4 -0
  19. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/schedules.rb +18 -0
  20. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/secrets.rb +10 -0
  21. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/service_runners.rb +10 -0
  22. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/users.rb +12 -0
  23. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_machine_schedules.rb +14 -0
  24. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_machines.rb +26 -0
  25. data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_networks.rb +12 -0
  26. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs.rb +59 -60
  27. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/arm_templates.rb +9 -3
  28. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/artifact_sources.rb +18 -3
  29. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/artifacts.rb +8 -0
  30. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/costs.rb +4 -0
  31. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/custom_images.rb +15 -3
  32. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb +1 -1
  33. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/disks.rb +19 -3
  34. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/environments.rb +15 -3
  35. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/formulas.rb +19 -7
  36. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/gallery_images.rb +4 -0
  37. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/global_schedules.rb +23 -3
  38. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/labs.rb +33 -3
  39. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options.rb +2 -2
  40. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options_fragment.rb +2 -2
  41. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_storage_type_info.rb +1 -1
  42. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/data_disk_storage_type_info_fragment.rb +1 -1
  43. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/disk.rb +2 -2
  44. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/disk_fragment.rb +2 -2
  45. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab.rb +4 -3
  46. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_fragment.rb +1 -1
  47. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb +1 -1
  48. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter.rb +1 -1
  49. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter_fragment.rb +1 -1
  50. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_fragment.rb +1 -1
  51. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/storage_type.rb +1 -0
  52. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/virtual_machine_creation_source.rb +1 -0
  53. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/notification_channels.rb +38 -21
  54. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/operations.rb +2 -0
  55. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/policies.rb +15 -3
  56. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/policy_sets.rb +2 -0
  57. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/provider_operations.rb +4 -0
  58. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/schedules.rb +21 -3
  59. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/secrets.rb +15 -3
  60. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/service_fabric_schedules.rb +38 -24
  61. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/service_fabrics.rb +57 -36
  62. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/service_runners.rb +9 -229
  63. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/users.rb +15 -3
  64. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/virtual_machine_schedules.rb +17 -3
  65. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/virtual_machines.rb +48 -7
  66. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/virtual_networks.rb +18 -3
  67. data/lib/azure_mgmt_devtestlabs.rb +1 -1
  68. data/lib/profiles/latest/modules/devtestlabs_profile_module.rb +179 -183
  69. data/lib/version.rb +1 -1
  70. metadata +5 -6
  71. data/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/service_runner_list.rb +0 -98
@@ -21,116 +21,6 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
21
21
  # @return [DevTestLabsClient] reference to the DevTestLabsClient
22
22
  attr_reader :client
23
23
 
24
- #
25
- # List service runners in a given lab.
26
- #
27
- # @param resource_group_name [String] The name of the resource group.
28
- # @param lab_name [String] The name of the lab.
29
- # @param filter [String] The filter to apply to the operation. Example:
30
- # '$filter=contains(name,'myName')
31
- # @param top [Integer] The maximum number of resources to return from the
32
- # operation. Example: '$top=10'
33
- # @param orderby [String] The ordering expression for the results, using OData
34
- # notation. Example: '$orderby=name desc'
35
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
36
- # will be added to the HTTP request.
37
- #
38
- # @return [Array<ServiceRunner>] operation results.
39
- #
40
- def list(resource_group_name, lab_name, filter:nil, top:nil, orderby:nil, custom_headers:nil)
41
- first_page = list_as_lazy(resource_group_name, lab_name, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers)
42
- first_page.get_all_items
43
- end
44
-
45
- #
46
- # List service runners in a given lab.
47
- #
48
- # @param resource_group_name [String] The name of the resource group.
49
- # @param lab_name [String] The name of the lab.
50
- # @param filter [String] The filter to apply to the operation. Example:
51
- # '$filter=contains(name,'myName')
52
- # @param top [Integer] The maximum number of resources to return from the
53
- # operation. Example: '$top=10'
54
- # @param orderby [String] The ordering expression for the results, using OData
55
- # notation. Example: '$orderby=name desc'
56
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
57
- # will be added to the HTTP request.
58
- #
59
- # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
60
- #
61
- def list_with_http_info(resource_group_name, lab_name, filter:nil, top:nil, orderby:nil, custom_headers:nil)
62
- list_async(resource_group_name, lab_name, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value!
63
- end
64
-
65
- #
66
- # List service runners in a given lab.
67
- #
68
- # @param resource_group_name [String] The name of the resource group.
69
- # @param lab_name [String] The name of the lab.
70
- # @param filter [String] The filter to apply to the operation. Example:
71
- # '$filter=contains(name,'myName')
72
- # @param top [Integer] The maximum number of resources to return from the
73
- # operation. Example: '$top=10'
74
- # @param orderby [String] The ordering expression for the results, using OData
75
- # notation. Example: '$orderby=name desc'
76
- # @param [Hash{String => String}] A hash of custom headers that will be added
77
- # to the HTTP request.
78
- #
79
- # @return [Concurrent::Promise] Promise object which holds the HTTP response.
80
- #
81
- def list_async(resource_group_name, lab_name, filter:nil, top:nil, orderby:nil, custom_headers:nil)
82
- fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
83
- fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
84
- fail ArgumentError, 'lab_name is nil' if lab_name.nil?
85
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
86
-
87
-
88
- request_headers = {}
89
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
90
-
91
- # Set Headers
92
- request_headers['x-ms-client-request-id'] = SecureRandom.uuid
93
- request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
94
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners'
95
-
96
- request_url = @base_url || @client.base_url
97
-
98
- options = {
99
- middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
100
- path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'labName' => lab_name},
101
- query_params: {'$filter' => filter,'$top' => top,'$orderby' => orderby,'api-version' => @client.api_version},
102
- headers: request_headers.merge(custom_headers || {}),
103
- base_url: request_url
104
- }
105
- promise = @client.make_request_async(:get, path_template, options)
106
-
107
- promise = promise.then do |result|
108
- http_response = result.response
109
- status_code = http_response.status
110
- response_content = http_response.body
111
- unless status_code == 200
112
- error_model = JSON.load(response_content)
113
- fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
114
- end
115
-
116
- result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
117
- # Deserialize Response
118
- if status_code == 200
119
- begin
120
- parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
121
- result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::ServiceRunnerList.mapper()
122
- result.body = @client.deserialize(result_mapper, parsed_response)
123
- rescue Exception => e
124
- fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
125
- end
126
- end
127
-
128
- result
129
- end
130
-
131
- promise.execute
132
- end
133
-
134
24
  #
135
25
  # Get service runner.
136
26
  #
@@ -210,6 +100,8 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
210
100
  end
211
101
 
212
102
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
103
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
104
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
213
105
  # Deserialize Response
214
106
  if status_code == 200
215
107
  begin
@@ -228,7 +120,7 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
228
120
  end
229
121
 
230
122
  #
231
- # Create or replace an existing Service runner.
123
+ # Create or replace an existing service runner.
232
124
  #
233
125
  # @param resource_group_name [String] The name of the resource group.
234
126
  # @param lab_name [String] The name of the lab.
@@ -246,7 +138,7 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
246
138
  end
247
139
 
248
140
  #
249
- # Create or replace an existing Service runner.
141
+ # Create or replace an existing service runner.
250
142
  #
251
143
  # @param resource_group_name [String] The name of the resource group.
252
144
  # @param lab_name [String] The name of the lab.
@@ -263,7 +155,7 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
263
155
  end
264
156
 
265
157
  #
266
- # Create or replace an existing Service runner.
158
+ # Create or replace an existing service runner.
267
159
  #
268
160
  # @param resource_group_name [String] The name of the resource group.
269
161
  # @param lab_name [String] The name of the lab.
@@ -320,6 +212,8 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
320
212
  end
321
213
 
322
214
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
215
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
216
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
323
217
  # Deserialize Response
324
218
  if status_code == 200
325
219
  begin
@@ -425,6 +319,8 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
425
319
  end
426
320
 
427
321
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
322
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
323
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
428
324
 
429
325
  result
430
326
  end
@@ -432,121 +328,5 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
432
328
  promise.execute
433
329
  end
434
330
 
435
- #
436
- # List service runners in a given lab.
437
- #
438
- # @param next_page_link [String] The NextLink from the previous successful call
439
- # to List operation.
440
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
441
- # will be added to the HTTP request.
442
- #
443
- # @return [ServiceRunnerList] operation results.
444
- #
445
- def list_next(next_page_link, custom_headers:nil)
446
- response = list_next_async(next_page_link, custom_headers:custom_headers).value!
447
- response.body unless response.nil?
448
- end
449
-
450
- #
451
- # List service runners in a given lab.
452
- #
453
- # @param next_page_link [String] The NextLink from the previous successful call
454
- # to List operation.
455
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
456
- # will be added to the HTTP request.
457
- #
458
- # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
459
- #
460
- def list_next_with_http_info(next_page_link, custom_headers:nil)
461
- list_next_async(next_page_link, custom_headers:custom_headers).value!
462
- end
463
-
464
- #
465
- # List service runners in a given lab.
466
- #
467
- # @param next_page_link [String] The NextLink from the previous successful call
468
- # to List operation.
469
- # @param [Hash{String => String}] A hash of custom headers that will be added
470
- # to the HTTP request.
471
- #
472
- # @return [Concurrent::Promise] Promise object which holds the HTTP response.
473
- #
474
- def list_next_async(next_page_link, custom_headers:nil)
475
- fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
476
-
477
-
478
- request_headers = {}
479
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
480
-
481
- # Set Headers
482
- request_headers['x-ms-client-request-id'] = SecureRandom.uuid
483
- request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
484
- path_template = '{nextLink}'
485
-
486
- request_url = @base_url || @client.base_url
487
-
488
- options = {
489
- middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
490
- skip_encoding_path_params: {'nextLink' => next_page_link},
491
- headers: request_headers.merge(custom_headers || {}),
492
- base_url: request_url
493
- }
494
- promise = @client.make_request_async(:get, path_template, options)
495
-
496
- promise = promise.then do |result|
497
- http_response = result.response
498
- status_code = http_response.status
499
- response_content = http_response.body
500
- unless status_code == 200
501
- error_model = JSON.load(response_content)
502
- fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
503
- end
504
-
505
- result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
506
- # Deserialize Response
507
- if status_code == 200
508
- begin
509
- parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
510
- result_mapper = Azure::DevTestLabs::Mgmt::V2018_09_15::Models::ServiceRunnerList.mapper()
511
- result.body = @client.deserialize(result_mapper, parsed_response)
512
- rescue Exception => e
513
- fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
514
- end
515
- end
516
-
517
- result
518
- end
519
-
520
- promise.execute
521
- end
522
-
523
- #
524
- # List service runners in a given lab.
525
- #
526
- # @param resource_group_name [String] The name of the resource group.
527
- # @param lab_name [String] The name of the lab.
528
- # @param filter [String] The filter to apply to the operation. Example:
529
- # '$filter=contains(name,'myName')
530
- # @param top [Integer] The maximum number of resources to return from the
531
- # operation. Example: '$top=10'
532
- # @param orderby [String] The ordering expression for the results, using OData
533
- # notation. Example: '$orderby=name desc'
534
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
535
- # will be added to the HTTP request.
536
- #
537
- # @return [ServiceRunnerList] which provide lazy access to pages of the
538
- # response.
539
- #
540
- def list_as_lazy(resource_group_name, lab_name, filter:nil, top:nil, orderby:nil, custom_headers:nil)
541
- response = list_async(resource_group_name, lab_name, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value!
542
- unless response.nil?
543
- page = response.body
544
- page.next_method = Proc.new do |next_page_link|
545
- list_next_async(next_page_link, custom_headers:custom_headers)
546
- end
547
- page
548
- end
549
- end
550
-
551
331
  end
552
332
  end
@@ -120,6 +120,8 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
120
120
  end
121
121
 
122
122
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
123
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
124
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
123
125
  # Deserialize Response
124
126
  if status_code == 200
125
127
  begin
@@ -222,6 +224,8 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
222
224
  end
223
225
 
224
226
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
227
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
228
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
225
229
  # Deserialize Response
226
230
  if status_code == 200
227
231
  begin
@@ -327,7 +331,7 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
327
331
  end
328
332
 
329
333
  #
330
- # Modify properties of user profiles.
334
+ # Allows modifying tags of user profiles. All other properties will be ignored.
331
335
  #
332
336
  # @param resource_group_name [String] The name of the resource group.
333
337
  # @param lab_name [String] The name of the lab.
@@ -344,7 +348,7 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
344
348
  end
345
349
 
346
350
  #
347
- # Modify properties of user profiles.
351
+ # Allows modifying tags of user profiles. All other properties will be ignored.
348
352
  #
349
353
  # @param resource_group_name [String] The name of the resource group.
350
354
  # @param lab_name [String] The name of the lab.
@@ -360,7 +364,7 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
360
364
  end
361
365
 
362
366
  #
363
- # Modify properties of user profiles.
367
+ # Allows modifying tags of user profiles. All other properties will be ignored.
364
368
  #
365
369
  # @param resource_group_name [String] The name of the resource group.
366
370
  # @param lab_name [String] The name of the lab.
@@ -416,6 +420,8 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
416
420
  end
417
421
 
418
422
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
423
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
424
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
419
425
  # Deserialize Response
420
426
  if status_code == 200
421
427
  begin
@@ -526,6 +532,8 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
526
532
  end
527
533
 
528
534
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
535
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
536
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
529
537
  # Deserialize Response
530
538
  if status_code == 200
531
539
  begin
@@ -631,6 +639,8 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
631
639
  end
632
640
 
633
641
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
642
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
643
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
634
644
 
635
645
  result
636
646
  end
@@ -709,6 +719,8 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
709
719
  end
710
720
 
711
721
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
722
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
723
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
712
724
  # Deserialize Response
713
725
  if status_code == 200
714
726
  begin
@@ -124,6 +124,8 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
124
124
  end
125
125
 
126
126
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
127
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
128
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
127
129
  # Deserialize Response
128
130
  if status_code == 200
129
131
  begin
@@ -230,6 +232,8 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
230
232
  end
231
233
 
232
234
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
235
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
236
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
233
237
  # Deserialize Response
234
238
  if status_code == 200
235
239
  begin
@@ -341,6 +345,8 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
341
345
  end
342
346
 
343
347
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
348
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
349
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
344
350
  # Deserialize Response
345
351
  if status_code == 200
346
352
  begin
@@ -450,6 +456,8 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
450
456
  end
451
457
 
452
458
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
459
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
460
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
453
461
 
454
462
  result
455
463
  end
@@ -458,7 +466,7 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
458
466
  end
459
467
 
460
468
  #
461
- # Modify properties of schedules.
469
+ # Allows modifying tags of schedules. All other properties will be ignored.
462
470
  #
463
471
  # @param resource_group_name [String] The name of the resource group.
464
472
  # @param lab_name [String] The name of the lab.
@@ -476,7 +484,7 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
476
484
  end
477
485
 
478
486
  #
479
- # Modify properties of schedules.
487
+ # Allows modifying tags of schedules. All other properties will be ignored.
480
488
  #
481
489
  # @param resource_group_name [String] The name of the resource group.
482
490
  # @param lab_name [String] The name of the lab.
@@ -493,7 +501,7 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
493
501
  end
494
502
 
495
503
  #
496
- # Modify properties of schedules.
504
+ # Allows modifying tags of schedules. All other properties will be ignored.
497
505
  #
498
506
  # @param resource_group_name [String] The name of the resource group.
499
507
  # @param lab_name [String] The name of the lab.
@@ -551,6 +559,8 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
551
559
  end
552
560
 
553
561
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
562
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
563
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
554
564
  # Deserialize Response
555
565
  if status_code == 200
556
566
  begin
@@ -692,6 +702,8 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
692
702
  end
693
703
 
694
704
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
705
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
706
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
695
707
 
696
708
  result
697
709
  end
@@ -770,6 +782,8 @@ module Azure::DevTestLabs::Mgmt::V2018_09_15
770
782
  end
771
783
 
772
784
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
785
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
786
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
773
787
  # Deserialize Response
774
788
  if status_code == 200
775
789
  begin