azure_mgmt_resources 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +5 -13
  2. data/azure_mgmt_resources.gemspec +4 -4
  3. data/lib/azure_mgmt_resources.rb +3 -73
  4. data/lib/generated/azure_mgmt_resources.rb +77 -0
  5. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/deployment_operations.rb +39 -15
  6. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/deployments.rb +113 -60
  7. data/lib/generated/azure_mgmt_resources/models/alias_path_type.rb +61 -0
  8. data/lib/generated/azure_mgmt_resources/models/alias_type.rb +62 -0
  9. data/lib/generated/azure_mgmt_resources/models/basic_dependency.rb +64 -0
  10. data/lib/generated/azure_mgmt_resources/models/debug_setting.rb +44 -0
  11. data/lib/generated/azure_mgmt_resources/models/dependency.rb +82 -0
  12. data/lib/generated/azure_mgmt_resources/models/deployment.rb +45 -0
  13. data/lib/generated/azure_mgmt_resources/models/deployment_export_result.rb +44 -0
  14. data/lib/generated/azure_mgmt_resources/models/deployment_extended.rb +65 -0
  15. data/lib/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +44 -0
  16. data/lib/generated/azure_mgmt_resources/models/deployment_list_result.rb +93 -0
  17. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/models/deployment_mode.rb +0 -0
  18. data/lib/generated/azure_mgmt_resources/models/deployment_operation.rb +65 -0
  19. data/lib/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +117 -0
  20. data/lib/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +93 -0
  21. data/lib/generated/azure_mgmt_resources/models/deployment_properties.rb +103 -0
  22. data/lib/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +179 -0
  23. data/lib/generated/azure_mgmt_resources/models/deployment_validate_result.rb +57 -0
  24. data/lib/generated/azure_mgmt_resources/models/export_template_request.rb +65 -0
  25. data/lib/generated/azure_mgmt_resources/models/generic_resource.rb +142 -0
  26. data/lib/generated/azure_mgmt_resources/models/generic_resource_filter.rb +64 -0
  27. data/lib/generated/azure_mgmt_resources/models/http_message.rb +44 -0
  28. data/lib/generated/azure_mgmt_resources/models/identity.rb +68 -0
  29. data/lib/generated/azure_mgmt_resources/models/parameters_link.rb +55 -0
  30. data/lib/generated/azure_mgmt_resources/models/plan.rb +74 -0
  31. data/lib/generated/azure_mgmt_resources/models/provider.rb +83 -0
  32. data/lib/generated/azure_mgmt_resources/models/provider_list_result.rb +93 -0
  33. data/lib/generated/azure_mgmt_resources/models/provider_resource_type.rb +115 -0
  34. data/lib/generated/azure_mgmt_resources/models/resource_group.rb +97 -0
  35. data/lib/generated/azure_mgmt_resources/models/resource_group_export_result.rb +55 -0
  36. data/lib/generated/azure_mgmt_resources/models/resource_group_filter.rb +54 -0
  37. data/lib/generated/azure_mgmt_resources/models/resource_group_list_result.rb +93 -0
  38. data/lib/generated/azure_mgmt_resources/models/resource_group_properties.rb +45 -0
  39. data/lib/generated/azure_mgmt_resources/models/resource_identity_type.rb +15 -0
  40. data/lib/generated/azure_mgmt_resources/models/resource_list_result.rb +93 -0
  41. data/lib/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +82 -0
  42. data/lib/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +85 -0
  43. data/lib/generated/azure_mgmt_resources/models/resources_move_info.rb +61 -0
  44. data/lib/generated/azure_mgmt_resources/models/sku.rb +94 -0
  45. data/lib/generated/azure_mgmt_resources/models/tag_count.rb +54 -0
  46. data/lib/generated/azure_mgmt_resources/models/tag_details.rb +83 -0
  47. data/lib/generated/azure_mgmt_resources/models/tag_value.rb +65 -0
  48. data/lib/generated/azure_mgmt_resources/models/tags_list_result.rb +93 -0
  49. data/lib/generated/azure_mgmt_resources/models/target_resource.rb +64 -0
  50. data/lib/generated/azure_mgmt_resources/models/template_link.rb +55 -0
  51. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/module_definition.rb +0 -0
  52. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/providers.rb +70 -34
  53. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/resource_groups.rb +136 -68
  54. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/resource_management_client.rb +8 -12
  55. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/resources.rb +88 -43
  56. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/tags.rb +46 -27
  57. data/lib/{azure_mgmt_resources → generated/azure_mgmt_resources}/version.rb +1 -1
  58. metadata +76 -78
  59. data/lib/azure_mgmt_resources/models/basic_dependency.rb +0 -74
  60. data/lib/azure_mgmt_resources/models/debug_setting.rb +0 -56
  61. data/lib/azure_mgmt_resources/models/dependency.rb +0 -103
  62. data/lib/azure_mgmt_resources/models/deployment.rb +0 -62
  63. data/lib/azure_mgmt_resources/models/deployment_export_result.rb +0 -56
  64. data/lib/azure_mgmt_resources/models/deployment_extended.rb +0 -82
  65. data/lib/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -56
  66. data/lib/azure_mgmt_resources/models/deployment_list_result.rb +0 -86
  67. data/lib/azure_mgmt_resources/models/deployment_operation.rb +0 -81
  68. data/lib/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -141
  69. data/lib/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -86
  70. data/lib/azure_mgmt_resources/models/deployment_properties.rb +0 -131
  71. data/lib/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -231
  72. data/lib/azure_mgmt_resources/models/deployment_validate_result.rb +0 -80
  73. data/lib/azure_mgmt_resources/models/export_template_request.rb +0 -69
  74. data/lib/azure_mgmt_resources/models/generic_resource.rb +0 -101
  75. data/lib/azure_mgmt_resources/models/generic_resource_filter.rb +0 -74
  76. data/lib/azure_mgmt_resources/models/http_message.rb +0 -56
  77. data/lib/azure_mgmt_resources/models/parameters_link.rb +0 -66
  78. data/lib/azure_mgmt_resources/models/plan.rb +0 -83
  79. data/lib/azure_mgmt_resources/models/provider.rb +0 -104
  80. data/lib/azure_mgmt_resources/models/provider_list_result.rb +0 -85
  81. data/lib/azure_mgmt_resources/models/provider_resource_type.rb +0 -86
  82. data/lib/azure_mgmt_resources/models/resource_group.rb +0 -104
  83. data/lib/azure_mgmt_resources/models/resource_group_export_result.rb +0 -71
  84. data/lib/azure_mgmt_resources/models/resource_group_filter.rb +0 -65
  85. data/lib/azure_mgmt_resources/models/resource_group_list_result.rb +0 -87
  86. data/lib/azure_mgmt_resources/models/resource_group_properties.rb +0 -56
  87. data/lib/azure_mgmt_resources/models/resource_list_result.rb +0 -87
  88. data/lib/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -107
  89. data/lib/azure_mgmt_resources/models/resource_provider_operation_definition.rb +0 -72
  90. data/lib/azure_mgmt_resources/models/resource_provider_operation_detail_list_result.rb +0 -78
  91. data/lib/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -93
  92. data/lib/azure_mgmt_resources/models/resources_move_info.rb +0 -65
  93. data/lib/azure_mgmt_resources/models/tag_count.rb +0 -65
  94. data/lib/azure_mgmt_resources/models/tag_details.rb +0 -110
  95. data/lib/azure_mgmt_resources/models/tag_value.rb +0 -80
  96. data/lib/azure_mgmt_resources/models/tags_list_result.rb +0 -86
  97. data/lib/azure_mgmt_resources/models/target_resource.rb +0 -74
  98. data/lib/azure_mgmt_resources/models/template_link.rb +0 -66
  99. data/lib/azure_mgmt_resources/resource_provider_operation_details.rb +0 -233
@@ -0,0 +1,179 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Resources
7
+ module Models
8
+ #
9
+ # Deployment properties with additional details.
10
+ #
11
+ class DeploymentPropertiesExtended
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The state of the provisioning.
16
+ attr_accessor :provisioning_state
17
+
18
+ # @return [String] The correlation ID of the deployment.
19
+ attr_accessor :correlation_id
20
+
21
+ # @return [DateTime] The timestamp of the template deployment.
22
+ attr_accessor :timestamp
23
+
24
+ # @return Key/value pairs that represent deploymentoutput.
25
+ attr_accessor :outputs
26
+
27
+ # @return [Array<Provider>] The list of resource providers needed for
28
+ # the deployment.
29
+ attr_accessor :providers
30
+
31
+ # @return [Array<Dependency>] The list of deployment dependencies.
32
+ attr_accessor :dependencies
33
+
34
+ # @return The template content. Use only one of Template or TemplateLink.
35
+ attr_accessor :template
36
+
37
+ # @return [TemplateLink] The URI referencing the template. Use only one
38
+ # of Template or TemplateLink.
39
+ attr_accessor :template_link
40
+
41
+ # @return Deployment parameters. Use only one of Parameters or
42
+ # ParametersLink.
43
+ attr_accessor :parameters
44
+
45
+ # @return [ParametersLink] The URI referencing the parameters. Use only
46
+ # one of Parameters or ParametersLink.
47
+ attr_accessor :parameters_link
48
+
49
+ # @return [DeploymentMode] The deployment mode. Possible values include:
50
+ # 'Incremental', 'Complete'
51
+ attr_accessor :mode
52
+
53
+ # @return [DebugSetting] The debug setting of the deployment.
54
+ attr_accessor :debug_setting
55
+
56
+
57
+ #
58
+ # Mapper for DeploymentPropertiesExtended class as Ruby Hash.
59
+ # This will be used for serialization/deserialization.
60
+ #
61
+ def self.mapper()
62
+ {
63
+ required: false,
64
+ serialized_name: 'DeploymentPropertiesExtended',
65
+ type: {
66
+ name: 'Composite',
67
+ class_name: 'DeploymentPropertiesExtended',
68
+ model_properties: {
69
+ provisioning_state: {
70
+ required: false,
71
+ serialized_name: 'provisioningState',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ correlation_id: {
77
+ required: false,
78
+ serialized_name: 'correlationId',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
83
+ timestamp: {
84
+ required: false,
85
+ serialized_name: 'timestamp',
86
+ type: {
87
+ name: 'DateTime'
88
+ }
89
+ },
90
+ outputs: {
91
+ required: false,
92
+ serialized_name: 'outputs',
93
+ type: {
94
+ name: 'Object'
95
+ }
96
+ },
97
+ providers: {
98
+ required: false,
99
+ serialized_name: 'providers',
100
+ type: {
101
+ name: 'Sequence',
102
+ element: {
103
+ required: false,
104
+ serialized_name: 'ProviderElementType',
105
+ type: {
106
+ name: 'Composite',
107
+ class_name: 'Provider'
108
+ }
109
+ }
110
+ }
111
+ },
112
+ dependencies: {
113
+ required: false,
114
+ serialized_name: 'dependencies',
115
+ type: {
116
+ name: 'Sequence',
117
+ element: {
118
+ required: false,
119
+ serialized_name: 'DependencyElementType',
120
+ type: {
121
+ name: 'Composite',
122
+ class_name: 'Dependency'
123
+ }
124
+ }
125
+ }
126
+ },
127
+ template: {
128
+ required: false,
129
+ serialized_name: 'template',
130
+ type: {
131
+ name: 'Object'
132
+ }
133
+ },
134
+ template_link: {
135
+ required: false,
136
+ serialized_name: 'templateLink',
137
+ type: {
138
+ name: 'Composite',
139
+ class_name: 'TemplateLink'
140
+ }
141
+ },
142
+ parameters: {
143
+ required: false,
144
+ serialized_name: 'parameters',
145
+ type: {
146
+ name: 'Object'
147
+ }
148
+ },
149
+ parameters_link: {
150
+ required: false,
151
+ serialized_name: 'parametersLink',
152
+ type: {
153
+ name: 'Composite',
154
+ class_name: 'ParametersLink'
155
+ }
156
+ },
157
+ mode: {
158
+ required: false,
159
+ serialized_name: 'mode',
160
+ type: {
161
+ name: 'Enum',
162
+ module: 'DeploymentMode'
163
+ }
164
+ },
165
+ debug_setting: {
166
+ required: false,
167
+ serialized_name: 'debugSetting',
168
+ type: {
169
+ name: 'Composite',
170
+ class_name: 'DebugSetting'
171
+ }
172
+ }
173
+ }
174
+ }
175
+ }
176
+ end
177
+ end
178
+ end
179
+ end
@@ -0,0 +1,57 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Resources
7
+ module Models
8
+ #
9
+ # Information from validate template deployment response.
10
+ #
11
+ class DeploymentValidateResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ResourceManagementErrorWithDetails] Validation error.
16
+ attr_accessor :error
17
+
18
+ # @return [DeploymentPropertiesExtended] The template deployment
19
+ # properties.
20
+ attr_accessor :properties
21
+
22
+
23
+ #
24
+ # Mapper for DeploymentValidateResult class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ required: false,
30
+ serialized_name: 'DeploymentValidateResult',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'DeploymentValidateResult',
34
+ model_properties: {
35
+ error: {
36
+ required: false,
37
+ serialized_name: 'error',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'ResourceManagementErrorWithDetails'
41
+ }
42
+ },
43
+ properties: {
44
+ required: false,
45
+ serialized_name: 'properties',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'DeploymentPropertiesExtended'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,65 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Resources
7
+ module Models
8
+ #
9
+ # Export resource group template request parameters.
10
+ #
11
+ class ExportTemplateRequest
12
+
13
+ include MsRestAzure
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.
18
+ attr_accessor :resources
19
+
20
+ # @return [String] The export template options. Supported values include
21
+ # 'IncludeParameterDefaultValue', 'IncludeComments' or
22
+ # 'IncludeParameterDefaultValue, IncludeComments
23
+ attr_accessor :options
24
+
25
+
26
+ #
27
+ # Mapper for ExportTemplateRequest class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ required: false,
33
+ serialized_name: 'ExportTemplateRequest',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'ExportTemplateRequest',
37
+ model_properties: {
38
+ resources: {
39
+ required: false,
40
+ serialized_name: 'resources',
41
+ type: {
42
+ name: 'Sequence',
43
+ element: {
44
+ required: false,
45
+ serialized_name: 'StringElementType',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ }
50
+ }
51
+ },
52
+ options: {
53
+ required: false,
54
+ serialized_name: 'options',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,142 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Resources
7
+ module Models
8
+ #
9
+ # Resource information.
10
+ #
11
+ class GenericResource < MsRestAzure::Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Plan] The plan of the resource.
16
+ attr_accessor :plan
17
+
18
+ # @return The resource properties.
19
+ attr_accessor :properties
20
+
21
+ # @return [String] The kind of the resource.
22
+ attr_accessor :kind
23
+
24
+ # @return [String] The managedBy property of the resource.
25
+ attr_accessor :managed_by
26
+
27
+ # @return [Sku] The sku of the resource.
28
+ attr_accessor :sku
29
+
30
+ # @return [Identity] The identity of the resource.
31
+ attr_accessor :identity
32
+
33
+
34
+ #
35
+ # Mapper for GenericResource class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ required: false,
41
+ serialized_name: 'GenericResource',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'GenericResource',
45
+ model_properties: {
46
+ id: {
47
+ required: false,
48
+ read_only: true,
49
+ serialized_name: 'id',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ name: {
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'name',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ type: {
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'type',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ location: {
71
+ required: true,
72
+ serialized_name: 'location',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ tags: {
78
+ required: false,
79
+ serialized_name: 'tags',
80
+ type: {
81
+ name: 'Dictionary',
82
+ value: {
83
+ required: false,
84
+ serialized_name: 'StringElementType',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ }
89
+ }
90
+ },
91
+ plan: {
92
+ required: false,
93
+ serialized_name: 'plan',
94
+ type: {
95
+ name: 'Composite',
96
+ class_name: 'Plan'
97
+ }
98
+ },
99
+ properties: {
100
+ required: false,
101
+ serialized_name: 'properties',
102
+ type: {
103
+ name: 'Object'
104
+ }
105
+ },
106
+ kind: {
107
+ required: false,
108
+ serialized_name: 'kind',
109
+ type: {
110
+ name: 'String'
111
+ }
112
+ },
113
+ managed_by: {
114
+ required: false,
115
+ serialized_name: 'managedBy',
116
+ type: {
117
+ name: 'String'
118
+ }
119
+ },
120
+ sku: {
121
+ required: false,
122
+ serialized_name: 'sku',
123
+ type: {
124
+ name: 'Composite',
125
+ class_name: 'Sku'
126
+ }
127
+ },
128
+ identity: {
129
+ required: false,
130
+ serialized_name: 'identity',
131
+ type: {
132
+ name: 'Composite',
133
+ class_name: 'Identity'
134
+ }
135
+ }
136
+ }
137
+ }
138
+ }
139
+ end
140
+ end
141
+ end
142
+ end
@@ -0,0 +1,64 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Resources
7
+ module Models
8
+ #
9
+ # Resource filter.
10
+ #
11
+ class GenericResourceFilter
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The resource type.
16
+ attr_accessor :resource_type
17
+
18
+ # @return [String] The tag name.
19
+ attr_accessor :tagname
20
+
21
+ # @return [String] The tag value.
22
+ attr_accessor :tagvalue
23
+
24
+
25
+ #
26
+ # Mapper for GenericResourceFilter class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'GenericResourceFilter',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'GenericResourceFilter',
36
+ model_properties: {
37
+ resource_type: {
38
+ required: false,
39
+ serialized_name: 'resourceType',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ tagname: {
45
+ required: false,
46
+ serialized_name: 'tagname',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ tagvalue: {
52
+ required: false,
53
+ serialized_name: 'tagvalue',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ end
62
+ end
63
+ end
64
+ end