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,44 @@
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 filter.
10
+ #
11
+ class DeploymentExtendedFilter
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The provisioning state.
16
+ attr_accessor :provisioning_state
17
+
18
+
19
+ #
20
+ # Mapper for DeploymentExtendedFilter class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'DeploymentExtendedFilter',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'DeploymentExtendedFilter',
30
+ model_properties: {
31
+ provisioning_state: {
32
+ required: false,
33
+ serialized_name: 'provisioningState',
34
+ type: {
35
+ name: 'String'
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,93 @@
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
+ # List of deployments.
10
+ #
11
+ class DeploymentListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<DeploymentExtended>] The list of deployments.
16
+ attr_accessor :value
17
+
18
+ # @return [String] The URL to get the next set of results.
19
+ attr_accessor :next_link
20
+
21
+ # return [Proc] with next page method call.
22
+ attr_accessor :next_method
23
+
24
+ #
25
+ # Gets the rest of the items for the request, enabling auto-pagination.
26
+ #
27
+ # @return [Array<DeploymentExtended>] operation results.
28
+ #
29
+ def get_all_items
30
+ items = @value
31
+ page = self
32
+ while page.next_link != nil do
33
+ page = page.get_next_page
34
+ items.concat(page.value)
35
+ end
36
+ items
37
+ end
38
+
39
+ #
40
+ # Gets the next page of results.
41
+ #
42
+ # @return [DeploymentListResult] with next page content.
43
+ #
44
+ def get_next_page
45
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
46
+ unless response.nil?
47
+ @next_link = response.body.next_link
48
+ @value = response.body.value
49
+ self
50
+ end
51
+ end
52
+
53
+ #
54
+ # Mapper for DeploymentListResult class as Ruby Hash.
55
+ # This will be used for serialization/deserialization.
56
+ #
57
+ def self.mapper()
58
+ {
59
+ required: false,
60
+ serialized_name: 'DeploymentListResult',
61
+ type: {
62
+ name: 'Composite',
63
+ class_name: 'DeploymentListResult',
64
+ model_properties: {
65
+ value: {
66
+ required: false,
67
+ serialized_name: 'value',
68
+ type: {
69
+ name: 'Sequence',
70
+ element: {
71
+ required: false,
72
+ serialized_name: 'DeploymentExtendedElementType',
73
+ type: {
74
+ name: 'Composite',
75
+ class_name: 'DeploymentExtended'
76
+ }
77
+ }
78
+ }
79
+ },
80
+ next_link: {
81
+ required: false,
82
+ serialized_name: 'nextLink',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ end
91
+ end
92
+ end
93
+ 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
+ # Deployment operation information.
10
+ #
11
+ class DeploymentOperation
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Full deployment operation id.
16
+ attr_accessor :id
17
+
18
+ # @return [String] Deployment operation id.
19
+ attr_accessor :operation_id
20
+
21
+ # @return [DeploymentOperationProperties] Deployment properties.
22
+ attr_accessor :properties
23
+
24
+
25
+ #
26
+ # Mapper for DeploymentOperation class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'DeploymentOperation',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'DeploymentOperation',
36
+ model_properties: {
37
+ id: {
38
+ required: false,
39
+ serialized_name: 'id',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ operation_id: {
45
+ required: false,
46
+ serialized_name: 'operationId',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ properties: {
52
+ required: false,
53
+ serialized_name: 'properties',
54
+ type: {
55
+ name: 'Composite',
56
+ class_name: 'DeploymentOperationProperties'
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,117 @@
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 operation properties.
10
+ #
11
+ class DeploymentOperationProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The state of the provisioning.
16
+ attr_accessor :provisioning_state
17
+
18
+ # @return [DateTime] The date and time of the operation.
19
+ attr_accessor :timestamp
20
+
21
+ # @return [String] Deployment operation service request id.
22
+ attr_accessor :service_request_id
23
+
24
+ # @return [String] Operation status code.
25
+ attr_accessor :status_code
26
+
27
+ # @return Operation status message.
28
+ attr_accessor :status_message
29
+
30
+ # @return [TargetResource] The target resource.
31
+ attr_accessor :target_resource
32
+
33
+ # @return [HttpMessage] The HTTP request message.
34
+ attr_accessor :request
35
+
36
+ # @return [HttpMessage] The HTTP response message.
37
+ attr_accessor :response
38
+
39
+
40
+ #
41
+ # Mapper for DeploymentOperationProperties class as Ruby Hash.
42
+ # This will be used for serialization/deserialization.
43
+ #
44
+ def self.mapper()
45
+ {
46
+ required: false,
47
+ serialized_name: 'DeploymentOperationProperties',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'DeploymentOperationProperties',
51
+ model_properties: {
52
+ provisioning_state: {
53
+ required: false,
54
+ serialized_name: 'provisioningState',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ timestamp: {
60
+ required: false,
61
+ serialized_name: 'timestamp',
62
+ type: {
63
+ name: 'DateTime'
64
+ }
65
+ },
66
+ service_request_id: {
67
+ required: false,
68
+ serialized_name: 'serviceRequestId',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ status_code: {
74
+ required: false,
75
+ serialized_name: 'statusCode',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ },
80
+ status_message: {
81
+ required: false,
82
+ serialized_name: 'statusMessage',
83
+ type: {
84
+ name: 'Object'
85
+ }
86
+ },
87
+ target_resource: {
88
+ required: false,
89
+ serialized_name: 'targetResource',
90
+ type: {
91
+ name: 'Composite',
92
+ class_name: 'TargetResource'
93
+ }
94
+ },
95
+ request: {
96
+ required: false,
97
+ serialized_name: 'request',
98
+ type: {
99
+ name: 'Composite',
100
+ class_name: 'HttpMessage'
101
+ }
102
+ },
103
+ response: {
104
+ required: false,
105
+ serialized_name: 'response',
106
+ type: {
107
+ name: 'Composite',
108
+ class_name: 'HttpMessage'
109
+ }
110
+ }
111
+ }
112
+ }
113
+ }
114
+ end
115
+ end
116
+ end
117
+ end
@@ -0,0 +1,93 @@
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
+ # List of deployment operations.
10
+ #
11
+ class DeploymentOperationsListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<DeploymentOperation>] The list of deployments.
16
+ attr_accessor :value
17
+
18
+ # @return [String] The URL to get the next set of results.
19
+ attr_accessor :next_link
20
+
21
+ # return [Proc] with next page method call.
22
+ attr_accessor :next_method
23
+
24
+ #
25
+ # Gets the rest of the items for the request, enabling auto-pagination.
26
+ #
27
+ # @return [Array<DeploymentOperation>] operation results.
28
+ #
29
+ def get_all_items
30
+ items = @value
31
+ page = self
32
+ while page.next_link != nil do
33
+ page = page.get_next_page
34
+ items.concat(page.value)
35
+ end
36
+ items
37
+ end
38
+
39
+ #
40
+ # Gets the next page of results.
41
+ #
42
+ # @return [DeploymentOperationsListResult] with next page content.
43
+ #
44
+ def get_next_page
45
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
46
+ unless response.nil?
47
+ @next_link = response.body.next_link
48
+ @value = response.body.value
49
+ self
50
+ end
51
+ end
52
+
53
+ #
54
+ # Mapper for DeploymentOperationsListResult class as Ruby Hash.
55
+ # This will be used for serialization/deserialization.
56
+ #
57
+ def self.mapper()
58
+ {
59
+ required: false,
60
+ serialized_name: 'DeploymentOperationsListResult',
61
+ type: {
62
+ name: 'Composite',
63
+ class_name: 'DeploymentOperationsListResult',
64
+ model_properties: {
65
+ value: {
66
+ required: false,
67
+ serialized_name: 'value',
68
+ type: {
69
+ name: 'Sequence',
70
+ element: {
71
+ required: false,
72
+ serialized_name: 'DeploymentOperationElementType',
73
+ type: {
74
+ name: 'Composite',
75
+ class_name: 'DeploymentOperation'
76
+ }
77
+ }
78
+ }
79
+ },
80
+ next_link: {
81
+ required: false,
82
+ serialized_name: 'nextLink',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ end
91
+ end
92
+ end
93
+ end
@@ -0,0 +1,103 @@
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.
10
+ #
11
+ class DeploymentProperties
12
+
13
+ include MsRestAzure
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.
17
+ attr_accessor :template
18
+
19
+ # @return [TemplateLink] The template URI. Use only one of Template or
20
+ # TemplateLink.
21
+ attr_accessor :template_link
22
+
23
+ # @return Deployment parameters. It can be a JObject or a well formed
24
+ # JSON string. Use only one of Parameters or ParametersLink.
25
+ attr_accessor :parameters
26
+
27
+ # @return [ParametersLink] The parameters URI. Use only one of
28
+ # Parameters or ParametersLink.
29
+ attr_accessor :parameters_link
30
+
31
+ # @return [DeploymentMode] The deployment mode. Possible values include:
32
+ # 'Incremental', 'Complete'
33
+ attr_accessor :mode
34
+
35
+ # @return [DebugSetting] The debug setting of the deployment.
36
+ attr_accessor :debug_setting
37
+
38
+
39
+ #
40
+ # Mapper for DeploymentProperties class as Ruby Hash.
41
+ # This will be used for serialization/deserialization.
42
+ #
43
+ def self.mapper()
44
+ {
45
+ required: false,
46
+ serialized_name: 'DeploymentProperties',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'DeploymentProperties',
50
+ model_properties: {
51
+ template: {
52
+ required: false,
53
+ serialized_name: 'template',
54
+ type: {
55
+ name: 'Object'
56
+ }
57
+ },
58
+ template_link: {
59
+ required: false,
60
+ serialized_name: 'templateLink',
61
+ type: {
62
+ name: 'Composite',
63
+ class_name: 'TemplateLink'
64
+ }
65
+ },
66
+ parameters: {
67
+ required: false,
68
+ serialized_name: 'parameters',
69
+ type: {
70
+ name: 'Object'
71
+ }
72
+ },
73
+ parameters_link: {
74
+ required: false,
75
+ serialized_name: 'parametersLink',
76
+ type: {
77
+ name: 'Composite',
78
+ class_name: 'ParametersLink'
79
+ }
80
+ },
81
+ mode: {
82
+ required: true,
83
+ serialized_name: 'mode',
84
+ type: {
85
+ name: 'Enum',
86
+ module: 'DeploymentMode'
87
+ }
88
+ },
89
+ debug_setting: {
90
+ required: false,
91
+ serialized_name: 'debugSetting',
92
+ type: {
93
+ name: 'Composite',
94
+ class_name: 'DebugSetting'
95
+ }
96
+ }
97
+ }
98
+ }
99
+ }
100
+ end
101
+ end
102
+ end
103
+ end