azure_mgmt_resources 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
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,5 +1,5 @@
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
 
@@ -1,5 +1,5 @@
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
 
@@ -7,6 +7,7 @@ module Azure::ARM::Resources
7
7
  module Models
8
8
  #
9
9
  # Model object.
10
+ #
10
11
  #
11
12
  class HttpMessage
12
13
 
@@ -1,5 +1,5 @@
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
 
@@ -12,10 +12,10 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] The principal id of resource identity.
15
+ # @return [String] The principal ID of resource identity.
16
16
  attr_accessor :principal_id
17
17
 
18
- # @return [String] The tenant id of resource.
18
+ # @return [String] The tenant ID of resource.
19
19
  attr_accessor :tenant_id
20
20
 
21
21
  # @return [ResourceIdentityType] The identity type. Possible values
@@ -1,5 +1,5 @@
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
 
@@ -12,10 +12,10 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] URI referencing the template.
15
+ # @return [String] The URI of the parameters file.
16
16
  attr_accessor :uri
17
17
 
18
- # @return [String] If included it must match the ContentVersion in the
18
+ # @return [String] If included, must match the ContentVersion in the
19
19
  # template.
20
20
  attr_accessor :content_version
21
21
 
@@ -1,5 +1,5 @@
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
 
@@ -1,5 +1,5 @@
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
 
@@ -12,10 +12,10 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] The provider id.
15
+ # @return [String] The provider ID.
16
16
  attr_accessor :id
17
17
 
18
- # @return [String] The namespace of the provider.
18
+ # @return [String] The namespace of the resource provider.
19
19
  attr_accessor :namespace
20
20
 
21
21
  # @return [String] The registration state of the provider.
@@ -40,6 +40,7 @@ module Azure::ARM::Resources
40
40
  model_properties: {
41
41
  id: {
42
42
  required: false,
43
+ read_only: true,
43
44
  serialized_name: 'id',
44
45
  type: {
45
46
  name: 'String'
@@ -54,6 +55,7 @@ module Azure::ARM::Resources
54
55
  },
55
56
  registration_state: {
56
57
  required: false,
58
+ read_only: true,
57
59
  serialized_name: 'registrationState',
58
60
  type: {
59
61
  name: 'String'
@@ -61,6 +63,7 @@ module Azure::ARM::Resources
61
63
  },
62
64
  resource_types: {
63
65
  required: false,
66
+ read_only: true,
64
67
  serialized_name: 'resourceTypes',
65
68
  type: {
66
69
  name: 'Sequence',
@@ -1,5 +1,5 @@
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
 
@@ -12,10 +12,10 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<Provider>] The list of resource providers.
15
+ # @return [Array<Provider>] An array of resource providers.
16
16
  attr_accessor :value
17
17
 
18
- # @return [String] The URL to get the next set of results.
18
+ # @return [String] The URL to use for getting the next set of results.
19
19
  attr_accessor :next_link
20
20
 
21
21
  # return [Proc] with next page method call.
@@ -79,6 +79,7 @@ module Azure::ARM::Resources
79
79
  },
80
80
  next_link: {
81
81
  required: false,
82
+ read_only: true,
82
83
  serialized_name: 'nextLink',
83
84
  type: {
84
85
  name: 'String'
@@ -1,5 +1,5 @@
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
 
@@ -15,15 +15,15 @@ module Azure::ARM::Resources
15
15
  # @return [String] The resource type.
16
16
  attr_accessor :resource_type
17
17
 
18
- # @return [Array<String>] The collection of locations where this
19
- # resource type can be created in.
18
+ # @return [Array<String>] The collection of locations where this resource
19
+ # type can be created.
20
20
  attr_accessor :locations
21
21
 
22
22
  # @return [Array<AliasType>] The aliases that are supported by this
23
23
  # resource type.
24
24
  attr_accessor :aliases
25
25
 
26
- # @return [Array<String>] The api version.
26
+ # @return [Array<String>] The API version.
27
27
  attr_accessor :api_versions
28
28
 
29
29
  # @return [Hash{String => String}] The properties.
@@ -1,5 +1,5 @@
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
 
@@ -15,18 +15,21 @@ module Azure::ARM::Resources
15
15
  # @return [String] The ID of the resource group.
16
16
  attr_accessor :id
17
17
 
18
- # @return [String] The Name of the resource group.
18
+ # @return [String] The name of the resource group.
19
19
  attr_accessor :name
20
20
 
21
21
  # @return [ResourceGroupProperties]
22
22
  attr_accessor :properties
23
23
 
24
24
  # @return [String] The location of the resource group. It cannot be
25
- # changed after the resource group has been created. Has to be one of
26
- # the supported Azure Locations, such as West US, East US, West Europe,
27
- # East Asia, etc.
25
+ # changed after the resource group has been created. It muct be one of
26
+ # the supported Azure locations.
28
27
  attr_accessor :location
29
28
 
29
+ # @return [String] The ID of the resource that manages this resource
30
+ # group.
31
+ attr_accessor :managed_by
32
+
30
33
  # @return [Hash{String => String}] The tags attached to the resource
31
34
  # group.
32
35
  attr_accessor :tags
@@ -74,6 +77,13 @@ module Azure::ARM::Resources
74
77
  name: 'String'
75
78
  }
76
79
  },
80
+ managed_by: {
81
+ required: false,
82
+ serialized_name: 'managedBy',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
77
87
  tags: {
78
88
  required: false,
79
89
  serialized_name: 'tags',
@@ -1,5 +1,5 @@
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
 
@@ -7,6 +7,7 @@ module Azure::ARM::Resources
7
7
  module Models
8
8
  #
9
9
  # Model object.
10
+ #
10
11
  #
11
12
  class ResourceGroupExportResult
12
13
 
@@ -1,5 +1,5 @@
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
 
@@ -1,5 +1,5 @@
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
 
@@ -12,10 +12,10 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<ResourceGroup>] The list of resource groups.
15
+ # @return [Array<ResourceGroup>] An array of resource groups.
16
16
  attr_accessor :value
17
17
 
18
- # @return [String] The URL to get the next set of results.
18
+ # @return [String] The URL to use for getting the next set of results.
19
19
  attr_accessor :next_link
20
20
 
21
21
  # return [Proc] with next page method call.
@@ -78,7 +78,8 @@ module Azure::ARM::Resources
78
78
  }
79
79
  },
80
80
  next_link: {
81
- required: true,
81
+ required: false,
82
+ read_only: true,
82
83
  serialized_name: 'nextLink',
83
84
  type: {
84
85
  name: 'String'
@@ -1,5 +1,5 @@
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
 
@@ -1,5 +1,5 @@
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
 
@@ -1,5 +1,5 @@
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
 
@@ -12,10 +12,10 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<GenericResource>] The list of resources.
15
+ # @return [Array<GenericResource>] An array of resources.
16
16
  attr_accessor :value
17
17
 
18
- # @return [String] The URL to get the next set of results.
18
+ # @return [String] The URL to use for getting the next set of results.
19
19
  attr_accessor :next_link
20
20
 
21
21
  # return [Proc] with next page method call.
@@ -78,7 +78,8 @@ module Azure::ARM::Resources
78
78
  }
79
79
  },
80
80
  next_link: {
81
- required: true,
81
+ required: false,
82
+ read_only: true,
82
83
  serialized_name: 'nextLink',
83
84
  type: {
84
85
  name: 'String'
@@ -1,5 +1,5 @@
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
 
@@ -7,15 +7,16 @@ module Azure::ARM::Resources
7
7
  module Models
8
8
  #
9
9
  # Model object.
10
+ #
10
11
  #
11
12
  class ResourceManagementErrorWithDetails
12
13
 
13
14
  include MsRestAzure
14
15
 
15
- # @return [String] The error code returned from the server.
16
+ # @return [String] The error code returned when exporting the template.
16
17
  attr_accessor :code
17
18
 
18
- # @return [String] The error message returned from the server.
19
+ # @return [String] The error message describing the export error.
19
20
  attr_accessor :message
20
21
 
21
22
  # @return [String] The target of the error.
@@ -38,14 +39,16 @@ module Azure::ARM::Resources
38
39
  class_name: 'ResourceManagementErrorWithDetails',
39
40
  model_properties: {
40
41
  code: {
41
- required: true,
42
+ required: false,
43
+ read_only: true,
42
44
  serialized_name: 'code',
43
45
  type: {
44
46
  name: 'String'
45
47
  }
46
48
  },
47
49
  message: {
48
- required: true,
50
+ required: false,
51
+ read_only: true,
49
52
  serialized_name: 'message',
50
53
  type: {
51
54
  name: 'String'
@@ -53,6 +56,7 @@ module Azure::ARM::Resources
53
56
  },
54
57
  target: {
55
58
  required: false,
59
+ read_only: true,
56
60
  serialized_name: 'target',
57
61
  type: {
58
62
  name: 'String'
@@ -60,6 +64,7 @@ module Azure::ARM::Resources
60
64
  },
61
65
  details: {
62
66
  required: false,
67
+ read_only: true,
63
68
  serialized_name: 'details',
64
69
  type: {
65
70
  name: 'Sequence',
@@ -1,5 +1,5 @@
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
 
@@ -1,5 +1,5 @@
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
 
@@ -12,7 +12,7 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<String>] The ids of the resources.
15
+ # @return [Array<String>] The IDs of the resources.
16
16
  attr_accessor :resources
17
17
 
18
18
  # @return [String] The target resource group.
@@ -1,33 +1,33 @@
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
  module Models
8
8
  #
9
- # Sku for the resource.
9
+ # SKU for the resource.
10
10
  #
11
11
  class Sku
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] The sku name.
15
+ # @return [String] The SKU name.
16
16
  attr_accessor :name
17
17
 
18
- # @return [String] The sku tier.
18
+ # @return [String] The SKU tier.
19
19
  attr_accessor :tier
20
20
 
21
- # @return [String] The sku size.
21
+ # @return [String] The SKU size.
22
22
  attr_accessor :size
23
23
 
24
- # @return [String] The sku family.
24
+ # @return [String] The SKU family.
25
25
  attr_accessor :family
26
26
 
27
- # @return [String] The sku model.
27
+ # @return [String] The SKU model.
28
28
  attr_accessor :model
29
29
 
30
- # @return [Integer] The sku capacity.
30
+ # @return [Integer] The SKU capacity.
31
31
  attr_accessor :capacity
32
32
 
33
33
 
@@ -1,5 +1,5 @@
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