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,12 +1,12 @@
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
- # Model object.
9
+ # The type of the paths for alias.
10
10
  #
11
11
  class AliasPathType
12
12
 
@@ -15,7 +15,7 @@ module Azure::ARM::Resources
15
15
  # @return [String] The path of an alias.
16
16
  attr_accessor :path
17
17
 
18
- # @return [Array<String>] The api versions.
18
+ # @return [Array<String>] The API versions.
19
19
  attr_accessor :api_versions
20
20
 
21
21
 
@@ -1,12 +1,12 @@
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
- # Model object.
9
+ # The alias type.
10
10
  #
11
11
  class AliasType
12
12
 
@@ -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,12 +7,20 @@ module Azure::ARM::Resources
7
7
  module Models
8
8
  #
9
9
  # Model object.
10
+ #
10
11
  #
11
12
  class DebugSetting
12
13
 
13
14
  include MsRestAzure
14
15
 
15
- # @return [String] The debug detail level.
16
+ # @return [String] Specifies the type of information to log for
17
+ # debugging. The permitted values are none, requestContent,
18
+ # responseContent, or both requestContent and responseContent separated
19
+ # by a comma. The default is none. When setting this value, carefully
20
+ # consider the type of information you are passing in during deployment.
21
+ # By logging information about the request or response, you could
22
+ # potentially expose sensitive data that is retrieved through the
23
+ # deployment operations.
16
24
  attr_accessor :detail_level
17
25
 
18
26
 
@@ -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,12 +1,12 @@
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
- # Model object.
9
+ # The deployment export result.
10
10
  #
11
11
  class DeploymentExportResult
12
12
 
@@ -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<DeploymentExtended>] The list of deployments.
15
+ # @return [Array<DeploymentExtended>] An array of deployments.
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
 
@@ -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] Full deployment operation id.
15
+ # @return [String] Full deployment operation ID.
16
16
  attr_accessor :id
17
17
 
18
- # @return [String] Deployment operation id.
18
+ # @return [String] Deployment operation ID.
19
19
  attr_accessor :operation_id
20
20
 
21
21
  # @return [DeploymentOperationProperties] Deployment properties.
@@ -36,6 +36,7 @@ module Azure::ARM::Resources
36
36
  model_properties: {
37
37
  id: {
38
38
  required: false,
39
+ read_only: true,
39
40
  serialized_name: 'id',
40
41
  type: {
41
42
  name: 'String'
@@ -43,6 +44,7 @@ module Azure::ARM::Resources
43
44
  },
44
45
  operation_id: {
45
46
  required: false,
47
+ read_only: true,
46
48
  serialized_name: 'operationId',
47
49
  type: {
48
50
  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
 
@@ -51,6 +51,7 @@ module Azure::ARM::Resources
51
51
  model_properties: {
52
52
  provisioning_state: {
53
53
  required: false,
54
+ read_only: true,
54
55
  serialized_name: 'provisioningState',
55
56
  type: {
56
57
  name: 'String'
@@ -58,6 +59,7 @@ module Azure::ARM::Resources
58
59
  },
59
60
  timestamp: {
60
61
  required: false,
62
+ read_only: true,
61
63
  serialized_name: 'timestamp',
62
64
  type: {
63
65
  name: 'DateTime'
@@ -65,6 +67,7 @@ module Azure::ARM::Resources
65
67
  },
66
68
  service_request_id: {
67
69
  required: false,
70
+ read_only: true,
68
71
  serialized_name: 'serviceRequestId',
69
72
  type: {
70
73
  name: 'String'
@@ -72,6 +75,7 @@ module Azure::ARM::Resources
72
75
  },
73
76
  status_code: {
74
77
  required: false,
78
+ read_only: true,
75
79
  serialized_name: 'statusCode',
76
80
  type: {
77
81
  name: 'String'
@@ -79,6 +83,7 @@ module Azure::ARM::Resources
79
83
  },
80
84
  status_message: {
81
85
  required: false,
86
+ read_only: true,
82
87
  serialized_name: 'statusMessage',
83
88
  type: {
84
89
  name: 'Object'
@@ -86,6 +91,7 @@ module Azure::ARM::Resources
86
91
  },
87
92
  target_resource: {
88
93
  required: false,
94
+ read_only: true,
89
95
  serialized_name: 'targetResource',
90
96
  type: {
91
97
  name: 'Composite',
@@ -94,6 +100,7 @@ module Azure::ARM::Resources
94
100
  },
95
101
  request: {
96
102
  required: false,
103
+ read_only: true,
97
104
  serialized_name: 'request',
98
105
  type: {
99
106
  name: 'Composite',
@@ -102,6 +109,7 @@ module Azure::ARM::Resources
102
109
  },
103
110
  response: {
104
111
  required: false,
112
+ read_only: true,
105
113
  serialized_name: 'response',
106
114
  type: {
107
115
  name: 'Composite',
@@ -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<DeploymentOperation>] The list of deployments.
15
+ # @return [Array<DeploymentOperation>] An array of deployment operations.
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
 
@@ -12,23 +12,37 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return The template content. It can be a JObject or a well formed
16
- # JSON string. Use only one of Template or TemplateLink.
15
+ # @return The template content. You use this element when you want to
16
+ # pass the template syntax directly in the request rather than link to an
17
+ # existing template. It can be a JObject or well-formed JSON string. Use
18
+ # either the templateLink property or the template property, but not
19
+ # both.
17
20
  attr_accessor :template
18
21
 
19
- # @return [TemplateLink] The template URI. Use only one of Template or
20
- # TemplateLink.
22
+ # @return [TemplateLink] The URI of the template. Use either the
23
+ # templateLink property or the template property, but not both.
21
24
  attr_accessor :template_link
22
25
 
23
- # @return Deployment parameters. It can be a JObject or a well formed
24
- # JSON string. Use only one of Parameters or ParametersLink.
26
+ # @return Name and value pairs that define the deployment parameters for
27
+ # the template. You use this element when you want to provide the
28
+ # parameter values directly in the request rather than link to an
29
+ # existing parameter file. Use either the parametersLink property or the
30
+ # parameters property, but not both. It can be a JObject or a well formed
31
+ # JSON string.
25
32
  attr_accessor :parameters
26
33
 
27
- # @return [ParametersLink] The parameters URI. Use only one of
28
- # Parameters or ParametersLink.
34
+ # @return [ParametersLink] The URI of parameters file. You use this
35
+ # element to link to an existing parameters file. Use either the
36
+ # parametersLink property or the parameters property, but not both.
29
37
  attr_accessor :parameters_link
30
38
 
31
- # @return [DeploymentMode] The deployment mode. Possible values include:
39
+ # @return [DeploymentMode] The mode that is used to deploy resources.
40
+ # This value can be either Incremental or Complete. In Incremental mode,
41
+ # resources are deployed without deleting existing resources that are not
42
+ # included in the template. In Complete mode, resources are deployed and
43
+ # existing resources in the resource group that are not included in the
44
+ # template are deleted. Be careful when using Complete mode as you may
45
+ # unintentionally delete resources. Possible values include:
32
46
  # 'Incremental', 'Complete'
33
47
  attr_accessor :mode
34
48
 
@@ -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
 
@@ -24,8 +24,8 @@ module Azure::ARM::Resources
24
24
  # @return Key/value pairs that represent deploymentoutput.
25
25
  attr_accessor :outputs
26
26
 
27
- # @return [Array<Provider>] The list of resource providers needed for
28
- # the deployment.
27
+ # @return [Array<Provider>] The list of resource providers needed for the
28
+ # deployment.
29
29
  attr_accessor :providers
30
30
 
31
31
  # @return [Array<Dependency>] The list of deployment dependencies.
@@ -46,8 +46,9 @@ module Azure::ARM::Resources
46
46
  # one of Parameters or ParametersLink.
47
47
  attr_accessor :parameters_link
48
48
 
49
- # @return [DeploymentMode] The deployment mode. Possible values include:
50
- # 'Incremental', 'Complete'
49
+ # @return [DeploymentMode] The deployment mode. Possible values are
50
+ # Incremental and Complete. Possible values include: 'Incremental',
51
+ # 'Complete'
51
52
  attr_accessor :mode
52
53
 
53
54
  # @return [DebugSetting] The debug setting of the deployment.
@@ -68,6 +69,7 @@ module Azure::ARM::Resources
68
69
  model_properties: {
69
70
  provisioning_state: {
70
71
  required: false,
72
+ read_only: true,
71
73
  serialized_name: 'provisioningState',
72
74
  type: {
73
75
  name: 'String'
@@ -75,6 +77,7 @@ module Azure::ARM::Resources
75
77
  },
76
78
  correlation_id: {
77
79
  required: false,
80
+ read_only: true,
78
81
  serialized_name: 'correlationId',
79
82
  type: {
80
83
  name: 'String'
@@ -82,6 +85,7 @@ module Azure::ARM::Resources
82
85
  },
83
86
  timestamp: {
84
87
  required: false,
88
+ read_only: true,
85
89
  serialized_name: 'timestamp',
86
90
  type: {
87
91
  name: 'DateTime'
@@ -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,9 +12,9 @@ module Azure::ARM::Resources
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<String>] The ids of the resources. The only supported
16
- # string currently is '*' (all resources). Future api updates will
17
- # support exporting specific resources.
15
+ # @return [Array<String>] The IDs of the resources. The only supported
16
+ # string currently is '*' (all resources). Future updates will support
17
+ # exporting specific resources.
18
18
  attr_accessor :resources
19
19
 
20
20
  # @return [String] The export template options. Supported values include
@@ -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
 
@@ -21,10 +21,10 @@ module Azure::ARM::Resources
21
21
  # @return [String] The kind of the resource.
22
22
  attr_accessor :kind
23
23
 
24
- # @return [String] Id of the resource that manages this resource.
24
+ # @return [String] ID of the resource that manages this resource.
25
25
  attr_accessor :managed_by
26
26
 
27
- # @return [Sku] The sku of the resource.
27
+ # @return [Sku] The SKU of the resource.
28
28
  attr_accessor :sku
29
29
 
30
30
  # @return [Identity] The identity of the resource.
@@ -68,7 +68,7 @@ module Azure::ARM::Resources
68
68
  }
69
69
  },
70
70
  location: {
71
- required: true,
71
+ required: false,
72
72
  serialized_name: 'location',
73
73
  type: {
74
74
  name: 'String'
@@ -106,6 +106,9 @@ module Azure::ARM::Resources
106
106
  kind: {
107
107
  required: false,
108
108
  serialized_name: 'kind',
109
+ constraints: {
110
+ Pattern: '^[-\w\._,\(\)]+$'
111
+ },
109
112
  type: {
110
113
  name: 'String'
111
114
  }