azure_mgmt_resources 0.7.0 → 0.8.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.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_resources.rb +22 -22
  3. data/lib/generated/azure_mgmt_resources/deployment_operations.rb +54 -50
  4. data/lib/generated/azure_mgmt_resources/deployments.rb +401 -315
  5. data/lib/generated/azure_mgmt_resources/models/alias_path_type.rb +3 -3
  6. data/lib/generated/azure_mgmt_resources/models/alias_type.rb +2 -2
  7. data/lib/generated/azure_mgmt_resources/models/basic_dependency.rb +1 -1
  8. data/lib/generated/azure_mgmt_resources/models/debug_setting.rb +10 -2
  9. data/lib/generated/azure_mgmt_resources/models/dependency.rb +1 -1
  10. data/lib/generated/azure_mgmt_resources/models/deployment.rb +1 -1
  11. data/lib/generated/azure_mgmt_resources/models/deployment_export_result.rb +2 -2
  12. data/lib/generated/azure_mgmt_resources/models/deployment_extended.rb +1 -1
  13. data/lib/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +1 -1
  14. data/lib/generated/azure_mgmt_resources/models/deployment_list_result.rb +4 -3
  15. data/lib/generated/azure_mgmt_resources/models/deployment_mode.rb +1 -1
  16. data/lib/generated/azure_mgmt_resources/models/deployment_operation.rb +5 -3
  17. data/lib/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +9 -1
  18. data/lib/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +4 -3
  19. data/lib/generated/azure_mgmt_resources/models/deployment_properties.rb +24 -10
  20. data/lib/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +9 -5
  21. data/lib/generated/azure_mgmt_resources/models/deployment_validate_result.rb +1 -1
  22. data/lib/generated/azure_mgmt_resources/models/export_template_request.rb +4 -4
  23. data/lib/generated/azure_mgmt_resources/models/generic_resource.rb +7 -4
  24. data/lib/generated/azure_mgmt_resources/models/generic_resource_filter.rb +1 -1
  25. data/lib/generated/azure_mgmt_resources/models/http_message.rb +2 -1
  26. data/lib/generated/azure_mgmt_resources/models/identity.rb +3 -3
  27. data/lib/generated/azure_mgmt_resources/models/parameters_link.rb +3 -3
  28. data/lib/generated/azure_mgmt_resources/models/plan.rb +1 -1
  29. data/lib/generated/azure_mgmt_resources/models/provider.rb +6 -3
  30. data/lib/generated/azure_mgmt_resources/models/provider_list_result.rb +4 -3
  31. data/lib/generated/azure_mgmt_resources/models/provider_resource_type.rb +4 -4
  32. data/lib/generated/azure_mgmt_resources/models/resource_group.rb +15 -5
  33. data/lib/generated/azure_mgmt_resources/models/resource_group_export_result.rb +2 -1
  34. data/lib/generated/azure_mgmt_resources/models/resource_group_filter.rb +1 -1
  35. data/lib/generated/azure_mgmt_resources/models/resource_group_list_result.rb +5 -4
  36. data/lib/generated/azure_mgmt_resources/models/resource_group_properties.rb +1 -1
  37. data/lib/generated/azure_mgmt_resources/models/resource_identity_type.rb +1 -1
  38. data/lib/generated/azure_mgmt_resources/models/resource_list_result.rb +5 -4
  39. data/lib/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +10 -5
  40. data/lib/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +1 -1
  41. data/lib/generated/azure_mgmt_resources/models/resources_move_info.rb +2 -2
  42. data/lib/generated/azure_mgmt_resources/models/sku.rb +8 -8
  43. data/lib/generated/azure_mgmt_resources/models/tag_count.rb +1 -1
  44. data/lib/generated/azure_mgmt_resources/models/tag_details.rb +4 -2
  45. data/lib/generated/azure_mgmt_resources/models/tag_value.rb +1 -1
  46. data/lib/generated/azure_mgmt_resources/models/tags_list_result.rb +5 -4
  47. data/lib/generated/azure_mgmt_resources/models/target_resource.rb +1 -1
  48. data/lib/generated/azure_mgmt_resources/models/template_link.rb +3 -3
  49. data/lib/generated/azure_mgmt_resources/module_definition.rb +1 -1
  50. data/lib/generated/azure_mgmt_resources/providers.rb +88 -80
  51. data/lib/generated/azure_mgmt_resources/resource_groups.rb +247 -228
  52. data/lib/generated/azure_mgmt_resources/resource_management_client.rb +17 -6
  53. data/lib/generated/azure_mgmt_resources/resources.rb +869 -245
  54. data/lib/generated/azure_mgmt_resources/tags.rb +79 -54
  55. data/lib/generated/azure_mgmt_resources/version.rb +2 -2
  56. metadata +4 -4
@@ -1,11 +1,11 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.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
7
  #
8
- # Tags
8
+ # Provides operations for working with resources and resource groups.
9
9
  #
10
10
  class Tags
11
11
  include Azure::ARM::Resources::Models
@@ -23,10 +23,10 @@ module Azure::ARM::Resources
23
23
  attr_reader :client
24
24
 
25
25
  #
26
- # Delete a subscription resource tag value.
26
+ # Deletes a tag value.
27
27
  #
28
28
  # @param tag_name [String] The name of the tag.
29
- # @param tag_value [String] The value of the tag.
29
+ # @param tag_value [String] The value of the tag to delete.
30
30
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
31
31
  # will be added to the HTTP request.
32
32
  #
@@ -37,10 +37,10 @@ module Azure::ARM::Resources
37
37
  end
38
38
 
39
39
  #
40
- # Delete a subscription resource tag value.
40
+ # Deletes a tag value.
41
41
  #
42
42
  # @param tag_name [String] The name of the tag.
43
- # @param tag_value [String] The value of the tag.
43
+ # @param tag_value [String] The value of the tag to delete.
44
44
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
45
45
  # will be added to the HTTP request.
46
46
  #
@@ -51,10 +51,10 @@ module Azure::ARM::Resources
51
51
  end
52
52
 
53
53
  #
54
- # Delete a subscription resource tag value.
54
+ # Deletes a tag value.
55
55
  #
56
56
  # @param tag_name [String] The name of the tag.
57
- # @param tag_value [String] The value of the tag.
57
+ # @param tag_value [String] The value of the tag to delete.
58
58
  # @param [Hash{String => String}] A hash of custom headers that will be added
59
59
  # to the HTTP request.
60
60
  #
@@ -103,10 +103,10 @@ module Azure::ARM::Resources
103
103
  end
104
104
 
105
105
  #
106
- # Create a subscription resource tag value.
106
+ # Creates a tag value. The name of the tag must already exist.
107
107
  #
108
108
  # @param tag_name [String] The name of the tag.
109
- # @param tag_value [String] The value of the tag.
109
+ # @param tag_value [String] The value of the tag to create.
110
110
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
111
111
  # will be added to the HTTP request.
112
112
  #
@@ -118,10 +118,10 @@ module Azure::ARM::Resources
118
118
  end
119
119
 
120
120
  #
121
- # Create a subscription resource tag value.
121
+ # Creates a tag value. The name of the tag must already exist.
122
122
  #
123
123
  # @param tag_name [String] The name of the tag.
124
- # @param tag_value [String] The value of the tag.
124
+ # @param tag_value [String] The value of the tag to create.
125
125
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
126
126
  # will be added to the HTTP request.
127
127
  #
@@ -132,10 +132,10 @@ module Azure::ARM::Resources
132
132
  end
133
133
 
134
134
  #
135
- # Create a subscription resource tag value.
135
+ # Creates a tag value. The name of the tag must already exist.
136
136
  #
137
137
  # @param tag_name [String] The name of the tag.
138
- # @param tag_value [String] The value of the tag.
138
+ # @param tag_value [String] The value of the tag to create.
139
139
  # @param [Hash{String => String}] A hash of custom headers that will be added
140
140
  # to the HTTP request.
141
141
  #
@@ -204,9 +204,13 @@ module Azure::ARM::Resources
204
204
  end
205
205
 
206
206
  #
207
- # Create a subscription resource tag.
207
+ # Creates a tag in the subscription.
208
208
  #
209
- # @param tag_name [String] The name of the tag.
209
+ # The tag name can have a maximum of 512 characters and is case insensitive.
210
+ # Tag names created by Azure have prefixes of microsoft, azure, or windows. You
211
+ # cannot create tags with one of these prefixes.
212
+ #
213
+ # @param tag_name [String] The name of the tag to create.
210
214
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
211
215
  # will be added to the HTTP request.
212
216
  #
@@ -218,9 +222,13 @@ module Azure::ARM::Resources
218
222
  end
219
223
 
220
224
  #
221
- # Create a subscription resource tag.
225
+ # Creates a tag in the subscription.
222
226
  #
223
- # @param tag_name [String] The name of the tag.
227
+ # The tag name can have a maximum of 512 characters and is case insensitive.
228
+ # Tag names created by Azure have prefixes of microsoft, azure, or windows. You
229
+ # cannot create tags with one of these prefixes.
230
+ #
231
+ # @param tag_name [String] The name of the tag to create.
224
232
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
225
233
  # will be added to the HTTP request.
226
234
  #
@@ -231,9 +239,13 @@ module Azure::ARM::Resources
231
239
  end
232
240
 
233
241
  #
234
- # Create a subscription resource tag.
242
+ # Creates a tag in the subscription.
235
243
  #
236
- # @param tag_name [String] The name of the tag.
244
+ # The tag name can have a maximum of 512 characters and is case insensitive.
245
+ # Tag names created by Azure have prefixes of microsoft, azure, or windows. You
246
+ # cannot create tags with one of these prefixes.
247
+ #
248
+ # @param tag_name [String] The name of the tag to create.
237
249
  # @param [Hash{String => String}] A hash of custom headers that will be added
238
250
  # to the HTTP request.
239
251
  #
@@ -301,7 +313,9 @@ module Azure::ARM::Resources
301
313
  end
302
314
 
303
315
  #
304
- # Delete a subscription resource tag.
316
+ # Deletes a tag from the subscription.
317
+ #
318
+ # You must remove all values from a resource tag before you can delete it.
305
319
  #
306
320
  # @param tag_name [String] The name of the tag.
307
321
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -314,7 +328,9 @@ module Azure::ARM::Resources
314
328
  end
315
329
 
316
330
  #
317
- # Delete a subscription resource tag.
331
+ # Deletes a tag from the subscription.
332
+ #
333
+ # You must remove all values from a resource tag before you can delete it.
318
334
  #
319
335
  # @param tag_name [String] The name of the tag.
320
336
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -327,7 +343,9 @@ module Azure::ARM::Resources
327
343
  end
328
344
 
329
345
  #
330
- # Delete a subscription resource tag.
346
+ # Deletes a tag from the subscription.
347
+ #
348
+ # You must remove all values from a resource tag before you can delete it.
331
349
  #
332
350
  # @param tag_name [String] The name of the tag.
333
351
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -377,26 +395,8 @@ module Azure::ARM::Resources
377
395
  end
378
396
 
379
397
  #
380
- # Get a list of subscription resource tags.
381
- #
382
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
383
- # will be added to the HTTP request.
384
- #
385
- # @return [TagsListResult] which provide lazy access to pages of the response.
386
- #
387
- def list_as_lazy(custom_headers = nil)
388
- response = list_async(custom_headers).value!
389
- unless response.nil?
390
- page = response.body
391
- page.next_method = Proc.new do |next_page_link|
392
- list_next_async(next_page_link, custom_headers)
393
- end
394
- page
395
- end
396
- end
397
-
398
- #
399
- # Get a list of subscription resource tags.
398
+ # Gets the names and values of all resource tags that are defined in a
399
+ # subscription.
400
400
  #
401
401
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
402
402
  # will be added to the HTTP request.
@@ -409,7 +409,8 @@ module Azure::ARM::Resources
409
409
  end
410
410
 
411
411
  #
412
- # Get a list of subscription resource tags.
412
+ # Gets the names and values of all resource tags that are defined in a
413
+ # subscription.
413
414
  #
414
415
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
415
416
  # will be added to the HTTP request.
@@ -421,7 +422,8 @@ module Azure::ARM::Resources
421
422
  end
422
423
 
423
424
  #
424
- # Get a list of subscription resource tags.
425
+ # Gets the names and values of all resource tags that are defined in a
426
+ # subscription.
425
427
  #
426
428
  # @param [Hash{String => String}] A hash of custom headers that will be added
427
429
  # to the HTTP request.
@@ -479,10 +481,11 @@ module Azure::ARM::Resources
479
481
  end
480
482
 
481
483
  #
482
- # Get a list of subscription resource tags.
484
+ # Gets the names and values of all resource tags that are defined in a
485
+ # subscription.
483
486
  #
484
- # @param next_page_link [String] The NextLink from the previous successful
485
- # call to List operation.
487
+ # @param next_page_link [String] The NextLink from the previous successful call
488
+ # to List operation.
486
489
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
487
490
  # will be added to the HTTP request.
488
491
  #
@@ -494,10 +497,11 @@ module Azure::ARM::Resources
494
497
  end
495
498
 
496
499
  #
497
- # Get a list of subscription resource tags.
500
+ # Gets the names and values of all resource tags that are defined in a
501
+ # subscription.
498
502
  #
499
- # @param next_page_link [String] The NextLink from the previous successful
500
- # call to List operation.
503
+ # @param next_page_link [String] The NextLink from the previous successful call
504
+ # to List operation.
501
505
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
502
506
  # will be added to the HTTP request.
503
507
  #
@@ -508,10 +512,11 @@ module Azure::ARM::Resources
508
512
  end
509
513
 
510
514
  #
511
- # Get a list of subscription resource tags.
515
+ # Gets the names and values of all resource tags that are defined in a
516
+ # subscription.
512
517
  #
513
- # @param next_page_link [String] The NextLink from the previous successful
514
- # call to List operation.
518
+ # @param next_page_link [String] The NextLink from the previous successful call
519
+ # to List operation.
515
520
  # @param [Hash{String => String}] A hash of custom headers that will be added
516
521
  # to the HTTP request.
517
522
  #
@@ -565,5 +570,25 @@ module Azure::ARM::Resources
565
570
  promise.execute
566
571
  end
567
572
 
573
+ #
574
+ # Gets the names and values of all resource tags that are defined in a
575
+ # subscription.
576
+ #
577
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
578
+ # will be added to the HTTP request.
579
+ #
580
+ # @return [TagsListResult] which provide lazy access to pages of the response.
581
+ #
582
+ def list_as_lazy(custom_headers = nil)
583
+ response = list_async(custom_headers).value!
584
+ unless response.nil?
585
+ page = response.body
586
+ page.next_method = Proc.new do |next_page_link|
587
+ list_next_async(next_page_link, custom_headers)
588
+ end
589
+ page
590
+ end
591
+ end
592
+
568
593
  end
569
594
  end
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.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.7.0'
7
+ VERSION = '0.8.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.7.0
4
+ version: 0.8.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: 2016-10-14 00:00:00.000000000 Z
11
+ date: 2016-11-16 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.6.0
75
+ version: 0.6.2
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.6.0
82
+ version: 0.6.2
83
83
  description: Microsoft Azure Resource Management Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []