azure_mgmt_resources 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_resources.rb +24 -23
  3. data/lib/generated/azure_mgmt_resources/deployment_operations.rb +9 -10
  4. data/lib/generated/azure_mgmt_resources/deployments.rb +44 -45
  5. data/lib/generated/azure_mgmt_resources/models/alias_path_type.rb +2 -1
  6. data/lib/generated/azure_mgmt_resources/models/alias_type.rb +2 -1
  7. data/lib/generated/azure_mgmt_resources/models/basic_dependency.rb +2 -1
  8. data/lib/generated/azure_mgmt_resources/models/debug_setting.rb +2 -1
  9. data/lib/generated/azure_mgmt_resources/models/dependency.rb +2 -1
  10. data/lib/generated/azure_mgmt_resources/models/deployment.rb +3 -2
  11. data/lib/generated/azure_mgmt_resources/models/deployment_export_result.rb +2 -1
  12. data/lib/generated/azure_mgmt_resources/models/deployment_extended.rb +2 -1
  13. data/lib/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +2 -1
  14. data/lib/generated/azure_mgmt_resources/models/deployment_list_result.rb +2 -1
  15. data/lib/generated/azure_mgmt_resources/models/deployment_mode.rb +1 -1
  16. data/lib/generated/azure_mgmt_resources/models/deployment_operation.rb +2 -1
  17. data/lib/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +2 -1
  18. data/lib/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +2 -1
  19. data/lib/generated/azure_mgmt_resources/models/deployment_properties.rb +2 -1
  20. data/lib/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +2 -1
  21. data/lib/generated/azure_mgmt_resources/models/deployment_validate_result.rb +2 -1
  22. data/lib/generated/azure_mgmt_resources/models/export_template_request.rb +2 -1
  23. data/lib/generated/azure_mgmt_resources/models/generic_resource.rb +2 -1
  24. data/lib/generated/azure_mgmt_resources/models/generic_resource_filter.rb +2 -1
  25. data/lib/generated/azure_mgmt_resources/models/http_message.rb +3 -3
  26. data/lib/generated/azure_mgmt_resources/models/identity.rb +2 -1
  27. data/lib/generated/azure_mgmt_resources/models/parameters_link.rb +2 -1
  28. data/lib/generated/azure_mgmt_resources/models/plan.rb +2 -1
  29. data/lib/generated/azure_mgmt_resources/models/provider.rb +2 -1
  30. data/lib/generated/azure_mgmt_resources/models/provider_list_result.rb +2 -1
  31. data/lib/generated/azure_mgmt_resources/models/provider_resource_type.rb +2 -1
  32. data/lib/generated/azure_mgmt_resources/models/resource_group.rb +2 -1
  33. data/lib/generated/azure_mgmt_resources/models/resource_group_export_result.rb +3 -3
  34. data/lib/generated/azure_mgmt_resources/models/resource_group_filter.rb +2 -1
  35. data/lib/generated/azure_mgmt_resources/models/resource_group_list_result.rb +2 -1
  36. data/lib/generated/azure_mgmt_resources/models/resource_group_patchable.rb +85 -0
  37. data/lib/generated/azure_mgmt_resources/models/resource_group_properties.rb +2 -1
  38. data/lib/generated/azure_mgmt_resources/models/resource_identity_type.rb +1 -1
  39. data/lib/generated/azure_mgmt_resources/models/resource_list_result.rb +2 -1
  40. data/lib/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +3 -3
  41. data/lib/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +2 -1
  42. data/lib/generated/azure_mgmt_resources/models/resources_move_info.rb +2 -1
  43. data/lib/generated/azure_mgmt_resources/models/sku.rb +2 -1
  44. data/lib/generated/azure_mgmt_resources/models/tag_count.rb +2 -1
  45. data/lib/generated/azure_mgmt_resources/models/tag_details.rb +2 -1
  46. data/lib/generated/azure_mgmt_resources/models/tag_value.rb +2 -1
  47. data/lib/generated/azure_mgmt_resources/models/tags_list_result.rb +2 -1
  48. data/lib/generated/azure_mgmt_resources/models/target_resource.rb +2 -1
  49. data/lib/generated/azure_mgmt_resources/models/template_link.rb +2 -1
  50. data/lib/generated/azure_mgmt_resources/module_definition.rb +1 -1
  51. data/lib/generated/azure_mgmt_resources/providers.rb +15 -16
  52. data/lib/generated/azure_mgmt_resources/resource_groups.rb +42 -258
  53. data/lib/generated/azure_mgmt_resources/resource_management_client.rb +6 -6
  54. data/lib/generated/azure_mgmt_resources/resources.rb +252 -38
  55. data/lib/generated/azure_mgmt_resources/tags.rb +18 -19
  56. data/lib/generated/azure_mgmt_resources/version.rb +2 -2
  57. metadata +5 -4
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -8,7 +8,6 @@ module Azure::ARM::Resources
8
8
  # Provides operations for working with resources and resource groups.
9
9
  #
10
10
  class Tags
11
- include Azure::ARM::Resources::Models
12
11
  include MsRestAzure
13
12
 
14
13
  #
@@ -72,7 +71,7 @@ module Azure::ARM::Resources
72
71
  # Set Headers
73
72
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
74
73
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
75
- path_template = '/subscriptions/{subscriptionId}/tagNames/{tagName}/tagValues/{tagValue}'
74
+ path_template = 'subscriptions/{subscriptionId}/tagNames/{tagName}/tagValues/{tagValue}'
76
75
 
77
76
  request_url = @base_url || @client.base_url
78
77
 
@@ -153,7 +152,7 @@ module Azure::ARM::Resources
153
152
  # Set Headers
154
153
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
155
154
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
156
- path_template = '/subscriptions/{subscriptionId}/tagNames/{tagName}/tagValues/{tagValue}'
155
+ path_template = 'subscriptions/{subscriptionId}/tagNames/{tagName}/tagValues/{tagValue}'
157
156
 
158
157
  request_url = @base_url || @client.base_url
159
158
 
@@ -180,8 +179,8 @@ module Azure::ARM::Resources
180
179
  if status_code == 200
181
180
  begin
182
181
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
183
- result_mapper = TagValue.mapper()
184
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
182
+ result_mapper = Azure::ARM::Resources::Models::TagValue.mapper()
183
+ result.body = @client.deserialize(result_mapper, parsed_response)
185
184
  rescue Exception => e
186
185
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
187
186
  end
@@ -190,8 +189,8 @@ module Azure::ARM::Resources
190
189
  if status_code == 201
191
190
  begin
192
191
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
193
- result_mapper = TagValue.mapper()
194
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
192
+ result_mapper = Azure::ARM::Resources::Models::TagValue.mapper()
193
+ result.body = @client.deserialize(result_mapper, parsed_response)
195
194
  rescue Exception => e
196
195
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
197
196
  end
@@ -262,7 +261,7 @@ module Azure::ARM::Resources
262
261
  # Set Headers
263
262
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
264
263
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
265
- path_template = '/subscriptions/{subscriptionId}/tagNames/{tagName}'
264
+ path_template = 'subscriptions/{subscriptionId}/tagNames/{tagName}'
266
265
 
267
266
  request_url = @base_url || @client.base_url
268
267
 
@@ -289,8 +288,8 @@ module Azure::ARM::Resources
289
288
  if status_code == 200
290
289
  begin
291
290
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
292
- result_mapper = TagDetails.mapper()
293
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
291
+ result_mapper = Azure::ARM::Resources::Models::TagDetails.mapper()
292
+ result.body = @client.deserialize(result_mapper, parsed_response)
294
293
  rescue Exception => e
295
294
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
296
295
  end
@@ -299,8 +298,8 @@ module Azure::ARM::Resources
299
298
  if status_code == 201
300
299
  begin
301
300
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
302
- result_mapper = TagDetails.mapper()
303
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
301
+ result_mapper = Azure::ARM::Resources::Models::TagDetails.mapper()
302
+ result.body = @client.deserialize(result_mapper, parsed_response)
304
303
  rescue Exception => e
305
304
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
306
305
  end
@@ -364,7 +363,7 @@ module Azure::ARM::Resources
364
363
  # Set Headers
365
364
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
366
365
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
367
- path_template = '/subscriptions/{subscriptionId}/tagNames/{tagName}'
366
+ path_template = 'subscriptions/{subscriptionId}/tagNames/{tagName}'
368
367
 
369
368
  request_url = @base_url || @client.base_url
370
369
 
@@ -440,7 +439,7 @@ module Azure::ARM::Resources
440
439
  # Set Headers
441
440
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
442
441
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
443
- path_template = '/subscriptions/{subscriptionId}/tagNames'
442
+ path_template = 'subscriptions/{subscriptionId}/tagNames'
444
443
 
445
444
  request_url = @base_url || @client.base_url
446
445
 
@@ -467,8 +466,8 @@ module Azure::ARM::Resources
467
466
  if status_code == 200
468
467
  begin
469
468
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
470
- result_mapper = TagsListResult.mapper()
471
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
469
+ result_mapper = Azure::ARM::Resources::Models::TagsListResult.mapper()
470
+ result.body = @client.deserialize(result_mapper, parsed_response)
472
471
  rescue Exception => e
473
472
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
474
473
  end
@@ -557,8 +556,8 @@ module Azure::ARM::Resources
557
556
  if status_code == 200
558
557
  begin
559
558
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
560
- result_mapper = TagsListResult.mapper()
561
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
559
+ result_mapper = Azure::ARM::Resources::Models::TagsListResult.mapper()
560
+ result.body = @client.deserialize(result_mapper, parsed_response)
562
561
  rescue Exception => e
563
562
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
564
563
  end
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Resources
7
- VERSION = '0.10.0'
7
+ VERSION = '0.11.0'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-06 00:00:00.000000000 Z
11
+ date: 2017-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.7.0
75
+ version: 0.8.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.7.0
82
+ version: 0.8.0
83
83
  description: Microsoft Azure Resource Management Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []
@@ -123,6 +123,7 @@ files:
123
123
  - lib/generated/azure_mgmt_resources/models/resource_group_export_result.rb
124
124
  - lib/generated/azure_mgmt_resources/models/resource_group_filter.rb
125
125
  - lib/generated/azure_mgmt_resources/models/resource_group_list_result.rb
126
+ - lib/generated/azure_mgmt_resources/models/resource_group_patchable.rb
126
127
  - lib/generated/azure_mgmt_resources/models/resource_group_properties.rb
127
128
  - lib/generated/azure_mgmt_resources/models/resource_identity_type.rb
128
129
  - lib/generated/azure_mgmt_resources/models/resource_list_result.rb