azure_mgmt_resources_management 0.15.1 → 0.17.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/management_groups.rb +21 -18
  3. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/management_groups_api.rb +10 -8
  4. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/error_details.rb +4 -0
  5. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/error_response.rb +2 -0
  6. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group.rb +7 -0
  7. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_child_info.rb +5 -0
  8. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_details_properties.rb +6 -0
  9. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_info.rb +6 -0
  10. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_list_result.rb +5 -1
  11. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_recursive_child_info.rb +7 -0
  12. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_with_children.rb +9 -0
  13. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/management_group_with_hierarchy.rb +9 -0
  14. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/operation.rb +3 -0
  15. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/operation_display.rb +4 -0
  16. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/operation_list_result.rb +5 -1
  17. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/models/parent_group_info.rb +3 -0
  18. data/lib/2017-08-31-preview/generated/azure_mgmt_resources_management/operations.rb +15 -13
  19. data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management.rb +42 -0
  20. data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/management_group_subscriptions.rb +209 -0
  21. data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/management_groups.rb +698 -0
  22. data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/management_groups_api.rb +137 -0
  23. data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_request.rb +59 -0
  24. data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/error_details.rb +57 -0
  25. data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/error_response.rb +47 -0
  26. data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/management_group.rb +130 -0
  27. data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/management_group_child_info.rb +91 -0
  28. data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/management_group_details.rb +81 -0
  29. data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/management_group_info.rb +98 -0
  30. data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/management_group_list_result.rb +99 -0
  31. data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/operation.rb +59 -0
  32. data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/operation_display.rb +83 -0
  33. data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/operation_list_result.rb +103 -0
  34. data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/models/parent_group_info.rb +59 -0
  35. data/lib/{2017-08-31-preview/generated/azure_mgmt_resources_management/version.rb → 2017-11-01-preview/generated/azure_mgmt_resources_management/module_definition.rb} +4 -3
  36. data/lib/2017-11-01-preview/generated/azure_mgmt_resources_management/operations.rb +219 -0
  37. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management.rb +56 -0
  38. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/entities.rb +257 -0
  39. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/management_group_subscriptions.rb +209 -0
  40. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/management_groups.rb +793 -0
  41. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/management_groups_api.rb +254 -0
  42. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/check_name_availability_request.rb +60 -0
  43. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/check_name_availability_result.rb +83 -0
  44. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_child_info.rb +131 -0
  45. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_details.rb +84 -0
  46. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_request.rb +153 -0
  47. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/create_parent_group_info.rb +72 -0
  48. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/entity_hierarchy_item.rb +118 -0
  49. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/entity_info.rb +121 -0
  50. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/entity_list_result.rb +99 -0
  51. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/entity_parent_group_info.rb +48 -0
  52. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/error_details.rb +69 -0
  53. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/error_response.rb +47 -0
  54. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/management_group.rb +150 -0
  55. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/management_group_child_info.rb +125 -0
  56. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/management_group_details.rb +81 -0
  57. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/management_group_info.rb +98 -0
  58. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/management_group_list_result.rb +99 -0
  59. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/operation.rb +59 -0
  60. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/operation_display_properties.rb +83 -0
  61. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/operation_list_result.rb +103 -0
  62. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/operation_results.rb +86 -0
  63. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/parent_group_info.rb +70 -0
  64. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/patch_management_group_request.rb +59 -0
  65. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/reason.rb +16 -0
  66. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/models/type.rb +15 -0
  67. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/module_definition.rb +9 -0
  68. data/lib/2018-01-01-preview/generated/azure_mgmt_resources_management/operations.rb +219 -0
  69. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management.rb +58 -0
  70. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/entities.rb +381 -0
  71. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/management_group_subscriptions.rb +202 -0
  72. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/management_groups.rb +799 -0
  73. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/management_groups_api.rb +401 -0
  74. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/check_name_availability_request.rb +60 -0
  75. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/check_name_availability_result.rb +83 -0
  76. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_child_info.rb +131 -0
  77. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_details.rb +84 -0
  78. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/create_management_group_request.rb +153 -0
  79. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/create_parent_group_info.rb +72 -0
  80. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/entity_hierarchy_item.rb +118 -0
  81. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/entity_info.rb +210 -0
  82. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/entity_list_result.rb +111 -0
  83. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/entity_parent_group_info.rb +48 -0
  84. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/error_details.rb +69 -0
  85. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/error_response.rb +47 -0
  86. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/management_group.rb +150 -0
  87. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/management_group_child_info.rb +125 -0
  88. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/management_group_details.rb +81 -0
  89. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/management_group_info.rb +98 -0
  90. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/management_group_list_result.rb +99 -0
  91. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/operation.rb +59 -0
  92. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/operation_display_properties.rb +83 -0
  93. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/operation_list_result.rb +103 -0
  94. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/operation_results.rb +86 -0
  95. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/parent_group_info.rb +70 -0
  96. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/patch_management_group_request.rb +59 -0
  97. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/reason.rb +16 -0
  98. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/status.rb +20 -0
  99. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/tenant_backfill_status_result.rb +63 -0
  100. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/models/type.rb +15 -0
  101. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/module_definition.rb +9 -0
  102. data/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/operations.rb +218 -0
  103. data/lib/azure_mgmt_resources_management.rb +3 -0
  104. data/lib/profiles/latest/modules/resourcesmanagement_profile_module.rb +144 -69
  105. data/lib/profiles/latest/resourcesmanagement_latest_profile_client.rb +28 -11
  106. data/lib/profiles/latest/resourcesmanagement_module_definition.rb +0 -1
  107. data/lib/version.rb +1 -1
  108. metadata +95 -9
  109. data/lib/profiles/common/configurable.rb +0 -86
  110. data/lib/profiles/common/default.rb +0 -57
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 8699ea88e6fab9295de79d7f98f8ae4fa06ecdc7
4
- data.tar.gz: 54d43b1f499692602412d085ab4599d7a298c289
2
+ SHA256:
3
+ metadata.gz: 800d604a10dfd747327c22082d57d3f39e626b2d8d11dde59738ecac3d3fcfc3
4
+ data.tar.gz: ed41cc50c8dad7b5a931073ba7b3318bf0003267c360c7e8f2bff444b5ec100f
5
5
  SHA512:
6
- metadata.gz: 2340b2e5bcd3a3003f423f05eee50e29cf467ee513b49b98709cf52db0fc634e07c2706d5839a8b77fa8b110fcfbf5fee513e21e39d1adb36cc5a3d3439d80b5
7
- data.tar.gz: 2995a77c6a56a90380a6001397046d473cb7ee4d6d750ccb32282b0f62157cdc4aec754d9fa1f05a6c72764fb908b0bc7af878008e5b37bdde514dbfe1908cba
6
+ metadata.gz: c9e320c79e09f966923ab2beaa03ea48037c5f0255c77b2c724da560dfadc890474be7d74d9f0f5f95aa6f02bda868a8136a42853de34f9c3525e31c6829cb5b
7
+ data.tar.gz: b73941f2a0facfb9c7b02380d9952a67f3d3d4349f87929b0b499861444b1aeae1cc254a3c01596bc85fdcbc8d80410f35fcaf3263b18fd175ba58ac45ab4a78
@@ -40,8 +40,8 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
40
40
  #
41
41
  # @return [Array<ManagementGroupInfo>] operation results.
42
42
  #
43
- def list(skiptoken = nil, custom_headers = nil)
44
- first_page = list_as_lazy(skiptoken, custom_headers)
43
+ def list(skiptoken:nil, custom_headers:nil)
44
+ first_page = list_as_lazy(skiptoken:skiptoken, custom_headers:custom_headers)
45
45
  first_page.get_all_items
46
46
  end
47
47
 
@@ -60,8 +60,8 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
60
60
  #
61
61
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
62
62
  #
63
- def list_with_http_info(skiptoken = nil, custom_headers = nil)
64
- list_async(skiptoken, custom_headers).value!
63
+ def list_with_http_info(skiptoken:nil, custom_headers:nil)
64
+ list_async(skiptoken:skiptoken, custom_headers:custom_headers).value!
65
65
  end
66
66
 
67
67
  #
@@ -79,11 +79,12 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
79
79
  #
80
80
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
81
81
  #
82
- def list_async(skiptoken = nil, custom_headers = nil)
82
+ def list_async(skiptoken:nil, custom_headers:nil)
83
83
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
84
84
 
85
85
 
86
86
  request_headers = {}
87
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
87
88
 
88
89
  # Set Headers
89
90
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -141,8 +142,8 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
141
142
  #
142
143
  # @return [ManagementGroupWithHierarchy] operation results.
143
144
  #
144
- def get(expand = nil, recurse = nil, custom_headers = nil)
145
- response = get_async(expand, recurse, custom_headers).value!
145
+ def get(expand:nil, recurse:nil, custom_headers:nil)
146
+ response = get_async(expand:expand, recurse:recurse, custom_headers:custom_headers).value!
146
147
  response.body unless response.nil?
147
148
  end
148
149
 
@@ -160,8 +161,8 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
160
161
  #
161
162
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
162
163
  #
163
- def get_with_http_info(expand = nil, recurse = nil, custom_headers = nil)
164
- get_async(expand, recurse, custom_headers).value!
164
+ def get_with_http_info(expand:nil, recurse:nil, custom_headers:nil)
165
+ get_async(expand:expand, recurse:recurse, custom_headers:custom_headers).value!
165
166
  end
166
167
 
167
168
  #
@@ -178,12 +179,13 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
178
179
  #
179
180
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
180
181
  #
181
- def get_async(expand = nil, recurse = nil, custom_headers = nil)
182
+ def get_async(expand:nil, recurse:nil, custom_headers:nil)
182
183
  fail ArgumentError, '@client.group_id is nil' if @client.group_id.nil?
183
184
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
184
185
 
185
186
 
186
187
  request_headers = {}
188
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
187
189
 
188
190
  # Set Headers
189
191
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -239,8 +241,8 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
239
241
  #
240
242
  # @return [ManagementGroupListResult] operation results.
241
243
  #
242
- def list_next(next_page_link, custom_headers = nil)
243
- response = list_next_async(next_page_link, custom_headers).value!
244
+ def list_next(next_page_link, custom_headers:nil)
245
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
244
246
  response.body unless response.nil?
245
247
  end
246
248
 
@@ -255,8 +257,8 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
255
257
  #
256
258
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
257
259
  #
258
- def list_next_with_http_info(next_page_link, custom_headers = nil)
259
- list_next_async(next_page_link, custom_headers).value!
260
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
261
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
260
262
  end
261
263
 
262
264
  #
@@ -270,11 +272,12 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
270
272
  #
271
273
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
272
274
  #
273
- def list_next_async(next_page_link, custom_headers = nil)
275
+ def list_next_async(next_page_link, custom_headers:nil)
274
276
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
275
277
 
276
278
 
277
279
  request_headers = {}
280
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
278
281
 
279
282
  # Set Headers
280
283
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -334,12 +337,12 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
334
337
  # @return [ManagementGroupListResult] which provide lazy access to pages of the
335
338
  # response.
336
339
  #
337
- def list_as_lazy(skiptoken = nil, custom_headers = nil)
338
- response = list_async(skiptoken, custom_headers).value!
340
+ def list_as_lazy(skiptoken:nil, custom_headers:nil)
341
+ response = list_async(skiptoken:skiptoken, custom_headers:custom_headers).value!
339
342
  unless response.nil?
340
343
  page = response.body
341
344
  page.next_method = Proc.new do |next_page_link|
342
- list_next_async(next_page_link, custom_headers)
345
+ list_next_async(next_page_link, custom_headers:custom_headers)
343
346
  end
344
347
  page
345
348
  end
@@ -24,15 +24,16 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
24
24
  # The current version is 2017-08-31-preview.
25
25
  attr_reader :api_version
26
26
 
27
- # @return [String] Gets or sets the preferred language for the response.
27
+ # @return [String] The preferred language for the response.
28
28
  attr_accessor :accept_language
29
29
 
30
- # @return [Integer] Gets or sets the retry timeout in seconds for Long
31
- # Running Operations. Default value is 30.
30
+ # @return [Integer] The retry timeout in seconds for Long Running
31
+ # Operations. Default value is 30.
32
32
  attr_accessor :long_running_operation_retry_timeout
33
33
 
34
- # @return [Boolean] When set to true a unique x-ms-client-request-id value
35
- # is generated and included in each request. Default is true.
34
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
35
+ # generated. When set to true a unique x-ms-client-request-id value is
36
+ # generated and included in each request. Default is true.
36
37
  attr_accessor :generate_client_request_id
37
38
 
38
39
  # @return [ManagementGroups] management_groups
@@ -109,6 +110,9 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
109
110
  fail ArgumentError, 'path is nil' if path.nil?
110
111
 
111
112
  request_url = options[:base_url] || @base_url
113
+ if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
114
+ @request_headers['Content-Type'] = options[:headers]['Content-Type']
115
+ end
112
116
 
113
117
  request_headers = @request_headers
114
118
  request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
@@ -125,9 +129,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
125
129
  #
126
130
  def add_telemetry
127
131
  sdk_information = 'azure_mgmt_resources_management'
128
- if defined? Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::VERSION
129
- sdk_information = "#{sdk_information}/#{Azure::ResourcesManagement::Mgmt::V2017_08_31_preview::VERSION}"
130
- end
132
+ sdk_information = "#{sdk_information}/0.17.2"
131
133
  add_user_agent_information(sdk_information)
132
134
  end
133
135
  end
@@ -28,6 +28,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
28
28
  #
29
29
  def self.mapper()
30
30
  {
31
+ client_side_validation: true,
31
32
  required: false,
32
33
  serialized_name: 'ErrorDetails',
33
34
  type: {
@@ -35,6 +36,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
35
36
  class_name: 'ErrorDetails',
36
37
  model_properties: {
37
38
  code: {
39
+ client_side_validation: true,
38
40
  required: false,
39
41
  serialized_name: 'code',
40
42
  type: {
@@ -42,6 +44,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
42
44
  }
43
45
  },
44
46
  message: {
47
+ client_side_validation: true,
45
48
  required: false,
46
49
  serialized_name: 'message',
47
50
  type: {
@@ -49,6 +52,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
49
52
  }
50
53
  },
51
54
  target: {
55
+ client_side_validation: true,
52
56
  required: false,
53
57
  serialized_name: 'target',
54
58
  type: {
@@ -22,6 +22,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'ErrorResponse',
27
28
  type: {
@@ -29,6 +30,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
29
30
  class_name: 'ErrorResponse',
30
31
  model_properties: {
31
32
  error: {
33
+ client_side_validation: true,
32
34
  required: false,
33
35
  serialized_name: 'error',
34
36
  type: {
@@ -41,6 +41,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
41
41
  #
42
42
  def self.mapper()
43
43
  {
44
+ client_side_validation: true,
44
45
  required: false,
45
46
  serialized_name: 'ManagementGroup',
46
47
  type: {
@@ -48,6 +49,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
48
49
  class_name: 'ManagementGroup',
49
50
  model_properties: {
50
51
  id: {
52
+ client_side_validation: true,
51
53
  required: false,
52
54
  read_only: true,
53
55
  serialized_name: 'id',
@@ -56,6 +58,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
56
58
  }
57
59
  },
58
60
  type: {
61
+ client_side_validation: true,
59
62
  required: false,
60
63
  read_only: true,
61
64
  serialized_name: 'type',
@@ -64,6 +67,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
64
67
  }
65
68
  },
66
69
  name: {
70
+ client_side_validation: true,
67
71
  required: false,
68
72
  read_only: true,
69
73
  serialized_name: 'name',
@@ -72,6 +76,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
72
76
  }
73
77
  },
74
78
  tenant_id: {
79
+ client_side_validation: true,
75
80
  required: false,
76
81
  serialized_name: 'properties.tenantId',
77
82
  type: {
@@ -79,6 +84,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
79
84
  }
80
85
  },
81
86
  display_name: {
87
+ client_side_validation: true,
82
88
  required: false,
83
89
  serialized_name: 'properties.displayName',
84
90
  type: {
@@ -86,6 +92,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
86
92
  }
87
93
  },
88
94
  details: {
95
+ client_side_validation: true,
89
96
  required: false,
90
97
  serialized_name: 'properties.details',
91
98
  type: {
@@ -35,6 +35,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
35
35
  #
36
36
  def self.mapper()
37
37
  {
38
+ client_side_validation: true,
38
39
  required: false,
39
40
  serialized_name: 'ManagementGroupChildInfo',
40
41
  type: {
@@ -42,6 +43,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
42
43
  class_name: 'ManagementGroupChildInfo',
43
44
  model_properties: {
44
45
  child_type: {
46
+ client_side_validation: true,
45
47
  required: false,
46
48
  serialized_name: 'childType',
47
49
  type: {
@@ -49,6 +51,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
49
51
  }
50
52
  },
51
53
  child_id: {
54
+ client_side_validation: true,
52
55
  required: false,
53
56
  serialized_name: 'childId',
54
57
  type: {
@@ -56,6 +59,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
56
59
  }
57
60
  },
58
61
  display_name: {
62
+ client_side_validation: true,
59
63
  required: false,
60
64
  serialized_name: 'displayName',
61
65
  type: {
@@ -63,6 +67,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
63
67
  }
64
68
  },
65
69
  tenant_id: {
70
+ client_side_validation: true,
66
71
  required: false,
67
72
  serialized_name: 'tenantId',
68
73
  type: {
@@ -36,6 +36,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
36
36
  #
37
37
  def self.mapper()
38
38
  {
39
+ client_side_validation: true,
39
40
  required: false,
40
41
  serialized_name: 'ManagementGroupDetailsProperties',
41
42
  type: {
@@ -43,6 +44,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
43
44
  class_name: 'ManagementGroupDetailsProperties',
44
45
  model_properties: {
45
46
  version: {
47
+ client_side_validation: true,
46
48
  required: false,
47
49
  serialized_name: 'version',
48
50
  type: {
@@ -50,6 +52,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
50
52
  }
51
53
  },
52
54
  updated_time: {
55
+ client_side_validation: true,
53
56
  required: false,
54
57
  serialized_name: 'updatedTime',
55
58
  type: {
@@ -57,6 +60,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
57
60
  }
58
61
  },
59
62
  updated_by: {
63
+ client_side_validation: true,
60
64
  required: false,
61
65
  serialized_name: 'updatedBy',
62
66
  type: {
@@ -64,6 +68,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
64
68
  }
65
69
  },
66
70
  parent: {
71
+ client_side_validation: true,
67
72
  required: false,
68
73
  serialized_name: 'parent',
69
74
  type: {
@@ -72,6 +77,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
72
77
  }
73
78
  },
74
79
  management_group_type: {
80
+ client_side_validation: true,
75
81
  required: false,
76
82
  serialized_name: 'managementGroupType',
77
83
  type: {
@@ -38,6 +38,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
38
38
  #
39
39
  def self.mapper()
40
40
  {
41
+ client_side_validation: true,
41
42
  required: false,
42
43
  serialized_name: 'ManagementGroupInfo',
43
44
  type: {
@@ -45,6 +46,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
45
46
  class_name: 'ManagementGroupInfo',
46
47
  model_properties: {
47
48
  id: {
49
+ client_side_validation: true,
48
50
  required: false,
49
51
  read_only: true,
50
52
  serialized_name: 'id',
@@ -53,6 +55,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
53
55
  }
54
56
  },
55
57
  type: {
58
+ client_side_validation: true,
56
59
  required: false,
57
60
  read_only: true,
58
61
  serialized_name: 'type',
@@ -61,6 +64,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
61
64
  }
62
65
  },
63
66
  name: {
67
+ client_side_validation: true,
64
68
  required: false,
65
69
  read_only: true,
66
70
  serialized_name: 'name',
@@ -69,6 +73,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
69
73
  }
70
74
  },
71
75
  tenant_id: {
76
+ client_side_validation: true,
72
77
  required: false,
73
78
  serialized_name: 'properties.tenantId',
74
79
  type: {
@@ -76,6 +81,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
76
81
  }
77
82
  },
78
83
  display_name: {
84
+ client_side_validation: true,
79
85
  required: false,
80
86
  serialized_name: 'properties.displayName',
81
87
  type: {
@@ -30,7 +30,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
30
30
  def get_all_items
31
31
  items = @value
32
32
  page = self
33
- while page.next_link != nil do
33
+ while page.next_link != nil && !page.next_link.strip.empty? do
34
34
  page = page.get_next_page
35
35
  items.concat(page.value)
36
36
  end
@@ -57,6 +57,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
57
57
  #
58
58
  def self.mapper()
59
59
  {
60
+ client_side_validation: true,
60
61
  required: false,
61
62
  serialized_name: 'ManagementGroupListResult',
62
63
  type: {
@@ -64,11 +65,13 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
64
65
  class_name: 'ManagementGroupListResult',
65
66
  model_properties: {
66
67
  value: {
68
+ client_side_validation: true,
67
69
  required: false,
68
70
  serialized_name: 'value',
69
71
  type: {
70
72
  name: 'Sequence',
71
73
  element: {
74
+ client_side_validation: true,
72
75
  required: false,
73
76
  serialized_name: 'ManagementGroupInfoElementType',
74
77
  type: {
@@ -79,6 +82,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
79
82
  }
80
83
  },
81
84
  next_link: {
85
+ client_side_validation: true,
82
86
  required: false,
83
87
  read_only: true,
84
88
  serialized_name: 'nextLink',
@@ -39,6 +39,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
39
39
  #
40
40
  def self.mapper()
41
41
  {
42
+ client_side_validation: true,
42
43
  required: false,
43
44
  serialized_name: 'ManagementGroupRecursiveChildInfo',
44
45
  type: {
@@ -46,6 +47,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
46
47
  class_name: 'ManagementGroupRecursiveChildInfo',
47
48
  model_properties: {
48
49
  child_type: {
50
+ client_side_validation: true,
49
51
  required: false,
50
52
  serialized_name: 'childType',
51
53
  type: {
@@ -53,6 +55,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
53
55
  }
54
56
  },
55
57
  child_id: {
58
+ client_side_validation: true,
56
59
  required: false,
57
60
  serialized_name: 'childId',
58
61
  type: {
@@ -60,6 +63,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
60
63
  }
61
64
  },
62
65
  display_name: {
66
+ client_side_validation: true,
63
67
  required: false,
64
68
  serialized_name: 'displayName',
65
69
  type: {
@@ -67,6 +71,7 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
67
71
  }
68
72
  },
69
73
  tenant_id: {
74
+ client_side_validation: true,
70
75
  required: false,
71
76
  serialized_name: 'tenantId',
72
77
  type: {
@@ -74,11 +79,13 @@ module Azure::ResourcesManagement::Mgmt::V2017_08_31_preview
74
79
  }
75
80
  },
76
81
  children: {
82
+ client_side_validation: true,
77
83
  required: false,
78
84
  serialized_name: 'children',
79
85
  type: {
80
86
  name: 'Sequence',
81
87
  element: {
88
+ client_side_validation: true,
82
89
  required: false,
83
90
  serialized_name: 'ManagementGroupRecursiveChildInfoElementType',
84
91
  type: {