azure_mgmt_deployment_manager 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager.rb +70 -0
  4. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/artifact_sources.rb +339 -0
  5. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/azure_deployment_manager.rb +157 -0
  6. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/artifact_source.rb +130 -0
  7. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/artifact_source_properties_model.rb +79 -0
  8. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/authentication.rb +46 -0
  9. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/azure_entity_resource.rb +75 -0
  10. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/cloud_error_body.rb +90 -0
  11. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/deployment_mode.rb +16 -0
  12. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/identity.rb +65 -0
  13. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/message.rb +59 -0
  14. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/operation.rb +80 -0
  15. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/operation_detail.rb +80 -0
  16. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/pre_post_step.rb +46 -0
  17. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/proxy_resource.rb +63 -0
  18. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/resource.rb +83 -0
  19. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/resource_operation.rb +111 -0
  20. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/rollout.rb +214 -0
  21. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/rollout_operation_info.rb +102 -0
  22. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/rollout_properties_model.rb +95 -0
  23. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/rollout_request.rb +154 -0
  24. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/rollout_step.rb +127 -0
  25. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/sas_authentication.rb +64 -0
  26. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/service.rb +83 -0
  27. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/service_properties.rb +59 -0
  28. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/service_resource.rb +110 -0
  29. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/service_topology_properties.rb +47 -0
  30. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/service_topology_resource.rb +98 -0
  31. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/service_unit.rb +92 -0
  32. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/service_unit_artifacts.rb +83 -0
  33. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/service_unit_properties.rb +73 -0
  34. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/service_unit_resource.rb +124 -0
  35. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/step.rb +121 -0
  36. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/step_operation_info.rb +109 -0
  37. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/step_properties.rb +46 -0
  38. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/step_resource.rb +100 -0
  39. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/tracked_resource.rb +92 -0
  40. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/wait_step_attributes.rb +47 -0
  41. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/models/wait_step_properties.rb +62 -0
  42. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/module_definition.rb +9 -0
  43. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/operations.rb +130 -0
  44. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/rollouts.rb +626 -0
  45. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/service_topologies.rb +340 -0
  46. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/service_units.rb +419 -0
  47. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/services.rb +346 -0
  48. data/lib/2018-09-01-preview/generated/azure_mgmt_deployment_manager/steps.rb +333 -0
  49. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager.rb +84 -0
  50. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/artifact_sources.rb +451 -0
  51. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/azure_deployment_manager.rb +157 -0
  52. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/api_key_authentication.rb +86 -0
  53. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/artifact_source.rb +130 -0
  54. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/artifact_source_properties_model.rb +79 -0
  55. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/authentication.rb +46 -0
  56. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/azure_entity_resource.rb +75 -0
  57. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/cloud_error_body.rb +90 -0
  58. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/deployment_mode.rb +16 -0
  59. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/health_check_step_attributes.rb +86 -0
  60. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/health_check_step_properties.rb +64 -0
  61. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/identity.rb +65 -0
  62. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/message.rb +59 -0
  63. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/operation.rb +80 -0
  64. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/operation_detail.rb +80 -0
  65. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/operations_list.rb +47 -0
  66. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/pre_post_step.rb +46 -0
  67. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/proxy_resource.rb +63 -0
  68. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/resource.rb +83 -0
  69. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/resource_operation.rb +111 -0
  70. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/rest_auth_location.rb +16 -0
  71. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/rest_health_check.rb +72 -0
  72. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/rest_health_check_step_attributes.rb +95 -0
  73. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/rest_match_quantifier.rb +16 -0
  74. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/rest_request.rb +74 -0
  75. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/rest_request_authentication.rb +48 -0
  76. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/rest_request_method.rb +16 -0
  77. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/rest_response.rb +70 -0
  78. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/rest_response_regex.rb +68 -0
  79. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/rollout.rb +214 -0
  80. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/rollout_identity_authentication.rb +51 -0
  81. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/rollout_operation_info.rb +102 -0
  82. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/rollout_properties_model.rb +95 -0
  83. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/rollout_request.rb +154 -0
  84. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/rollout_step.rb +127 -0
  85. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/sas_authentication.rb +64 -0
  86. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/service.rb +83 -0
  87. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/service_properties.rb +59 -0
  88. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/service_resource.rb +110 -0
  89. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/service_topology_properties.rb +47 -0
  90. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/service_topology_resource.rb +98 -0
  91. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/service_unit.rb +92 -0
  92. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/service_unit_artifacts.rb +83 -0
  93. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/service_unit_properties.rb +73 -0
  94. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/service_unit_resource.rb +124 -0
  95. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/step_group.rb +121 -0
  96. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/step_operation_info.rb +109 -0
  97. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/step_properties.rb +47 -0
  98. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/step_resource.rb +100 -0
  99. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/tracked_resource.rb +92 -0
  100. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/wait_step_attributes.rb +47 -0
  101. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/models/wait_step_properties.rb +62 -0
  102. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/module_definition.rb +9 -0
  103. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/operations.rb +112 -0
  104. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/rollouts.rb +738 -0
  105. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/service_topologies.rb +452 -0
  106. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/service_units.rb +539 -0
  107. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/services.rb +462 -0
  108. data/lib/2019-11-01-preview/generated/azure_mgmt_deployment_manager/steps.rb +445 -0
  109. data/lib/azure_mgmt_deployment_manager.rb +7 -0
  110. data/lib/module_definition.rb +7 -0
  111. data/lib/profiles/latest/deploymentmanager_latest_profile_client.rb +40 -0
  112. data/lib/profiles/latest/deploymentmanager_module_definition.rb +8 -0
  113. data/lib/profiles/latest/modules/deploymentmanager_profile_module.rb +273 -0
  114. data/lib/version.rb +7 -0
  115. metadata +230 -0
@@ -0,0 +1,214 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::DeploymentManager::Mgmt::V2018_09_01_preview
7
+ module Models
8
+ #
9
+ # Defines the rollout.
10
+ #
11
+ class Rollout < TrackedResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Identity] Identity for the resource.
16
+ attr_accessor :identity
17
+
18
+ # @return [String] The version of the build being deployed.
19
+ attr_accessor :build_version
20
+
21
+ # @return [String] The reference to the artifact source resource Id where
22
+ # the payload is located.
23
+ attr_accessor :artifact_source_id
24
+
25
+ # @return [String] The resource Id of the service topology from which
26
+ # service units are being referenced in step groups to be deployed.
27
+ attr_accessor :target_service_topology_id
28
+
29
+ # @return [Array<Step>] The list of step groups that define the
30
+ # orchestration.
31
+ attr_accessor :step_groups
32
+
33
+ # @return [String] The current status of the rollout.
34
+ attr_accessor :status
35
+
36
+ # @return [Integer] The cardinal count of total number of retries
37
+ # performed on the rollout at a given time.
38
+ attr_accessor :total_retry_attempts
39
+
40
+ # @return [RolloutOperationInfo] Operational information of the rollout.
41
+ attr_accessor :operation_info
42
+
43
+ # @return [Array<Service>] The detailed information on the services being
44
+ # deployed.
45
+ attr_accessor :services
46
+
47
+
48
+ #
49
+ # Mapper for Rollout class as Ruby Hash.
50
+ # This will be used for serialization/deserialization.
51
+ #
52
+ def self.mapper()
53
+ {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'Rollout',
57
+ type: {
58
+ name: 'Composite',
59
+ class_name: 'Rollout',
60
+ model_properties: {
61
+ id: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'id',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ name: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ read_only: true,
74
+ serialized_name: 'name',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ type: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ read_only: true,
83
+ serialized_name: 'type',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ },
88
+ tags: {
89
+ client_side_validation: true,
90
+ required: false,
91
+ serialized_name: 'tags',
92
+ type: {
93
+ name: 'Dictionary',
94
+ value: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ serialized_name: 'StringElementType',
98
+ type: {
99
+ name: 'String'
100
+ }
101
+ }
102
+ }
103
+ },
104
+ location: {
105
+ client_side_validation: true,
106
+ required: true,
107
+ serialized_name: 'location',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ },
112
+ identity: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ serialized_name: 'identity',
116
+ type: {
117
+ name: 'Composite',
118
+ class_name: 'Identity'
119
+ }
120
+ },
121
+ build_version: {
122
+ client_side_validation: true,
123
+ required: true,
124
+ serialized_name: 'properties.buildVersion',
125
+ type: {
126
+ name: 'String'
127
+ }
128
+ },
129
+ artifact_source_id: {
130
+ client_side_validation: true,
131
+ required: false,
132
+ serialized_name: 'properties.artifactSourceId',
133
+ type: {
134
+ name: 'String'
135
+ }
136
+ },
137
+ target_service_topology_id: {
138
+ client_side_validation: true,
139
+ required: true,
140
+ serialized_name: 'properties.targetServiceTopologyId',
141
+ type: {
142
+ name: 'String'
143
+ }
144
+ },
145
+ step_groups: {
146
+ client_side_validation: true,
147
+ required: true,
148
+ serialized_name: 'properties.stepGroups',
149
+ type: {
150
+ name: 'Sequence',
151
+ element: {
152
+ client_side_validation: true,
153
+ required: false,
154
+ serialized_name: 'StepElementType',
155
+ type: {
156
+ name: 'Composite',
157
+ class_name: 'Step'
158
+ }
159
+ }
160
+ }
161
+ },
162
+ status: {
163
+ client_side_validation: true,
164
+ required: false,
165
+ read_only: true,
166
+ serialized_name: 'properties.status',
167
+ type: {
168
+ name: 'String'
169
+ }
170
+ },
171
+ total_retry_attempts: {
172
+ client_side_validation: true,
173
+ required: false,
174
+ read_only: true,
175
+ serialized_name: 'properties.totalRetryAttempts',
176
+ type: {
177
+ name: 'Number'
178
+ }
179
+ },
180
+ operation_info: {
181
+ client_side_validation: true,
182
+ required: false,
183
+ read_only: true,
184
+ serialized_name: 'properties.operationInfo',
185
+ type: {
186
+ name: 'Composite',
187
+ class_name: 'RolloutOperationInfo'
188
+ }
189
+ },
190
+ services: {
191
+ client_side_validation: true,
192
+ required: false,
193
+ read_only: true,
194
+ serialized_name: 'properties.services',
195
+ type: {
196
+ name: 'Sequence',
197
+ element: {
198
+ client_side_validation: true,
199
+ required: false,
200
+ serialized_name: 'ServiceElementType',
201
+ type: {
202
+ name: 'Composite',
203
+ class_name: 'Service'
204
+ }
205
+ }
206
+ }
207
+ }
208
+ }
209
+ }
210
+ }
211
+ end
212
+ end
213
+ end
214
+ end
@@ -0,0 +1,102 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::DeploymentManager::Mgmt::V2018_09_01_preview
7
+ module Models
8
+ #
9
+ # Detailed runtime information of the rollout.
10
+ #
11
+ class RolloutOperationInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] The ordinal count of the number of retry attempts on
16
+ # a rollout. 0 if no retries of the rollout have been performed. If the
17
+ # rollout is updated with a PUT, this count is reset to 0.
18
+ attr_accessor :retry_attempt
19
+
20
+ # @return [Boolean] True, if all steps that succeeded on the previous
21
+ # run/attempt were chosen to be skipped in this retry attempt. False,
22
+ # otherwise.
23
+ attr_accessor :skip_succeeded_on_retry
24
+
25
+ # @return [DateTime] The start time of the rollout in UTC.
26
+ attr_accessor :start_time
27
+
28
+ # @return [DateTime] The start time of the rollout in UTC. This property
29
+ # will not be set if the rollout has not completed yet.
30
+ attr_accessor :end_time
31
+
32
+ # @return [CloudErrorBody] The detailed error information for any
33
+ # failure.
34
+ attr_accessor :error
35
+
36
+
37
+ #
38
+ # Mapper for RolloutOperationInfo class as Ruby Hash.
39
+ # This will be used for serialization/deserialization.
40
+ #
41
+ def self.mapper()
42
+ {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'RolloutOperationInfo',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'RolloutOperationInfo',
49
+ model_properties: {
50
+ retry_attempt: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'retryAttempt',
55
+ type: {
56
+ name: 'Number'
57
+ }
58
+ },
59
+ skip_succeeded_on_retry: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'skipSucceededOnRetry',
64
+ type: {
65
+ name: 'Boolean'
66
+ }
67
+ },
68
+ start_time: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ read_only: true,
72
+ serialized_name: 'startTime',
73
+ type: {
74
+ name: 'DateTime'
75
+ }
76
+ },
77
+ end_time: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ read_only: true,
81
+ serialized_name: 'endTime',
82
+ type: {
83
+ name: 'DateTime'
84
+ }
85
+ },
86
+ error: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ read_only: true,
90
+ serialized_name: 'error',
91
+ type: {
92
+ name: 'Composite',
93
+ class_name: 'CloudErrorBody'
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }
99
+ end
100
+ end
101
+ end
102
+ end
@@ -0,0 +1,95 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::DeploymentManager::Mgmt::V2018_09_01_preview
7
+ module Models
8
+ #
9
+ # Defines the properties of a rollout.
10
+ #
11
+ class RolloutPropertiesModel
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The current status of the rollout.
16
+ attr_accessor :status
17
+
18
+ # @return [Integer] The cardinal count of total number of retries
19
+ # performed on the rollout at a given time.
20
+ attr_accessor :total_retry_attempts
21
+
22
+ # @return [RolloutOperationInfo] Operational information of the rollout.
23
+ attr_accessor :operation_info
24
+
25
+ # @return [Array<Service>] The detailed information on the services being
26
+ # deployed.
27
+ attr_accessor :services
28
+
29
+
30
+ #
31
+ # Mapper for RolloutPropertiesModel class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'RolloutProperties',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'RolloutPropertiesModel',
42
+ model_properties: {
43
+ status: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ read_only: true,
47
+ serialized_name: 'status',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ total_retry_attempts: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'totalRetryAttempts',
57
+ type: {
58
+ name: 'Number'
59
+ }
60
+ },
61
+ operation_info: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'operationInfo',
66
+ type: {
67
+ name: 'Composite',
68
+ class_name: 'RolloutOperationInfo'
69
+ }
70
+ },
71
+ services: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ read_only: true,
75
+ serialized_name: 'services',
76
+ type: {
77
+ name: 'Sequence',
78
+ element: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ serialized_name: 'ServiceElementType',
82
+ type: {
83
+ name: 'Composite',
84
+ class_name: 'Service'
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ end
93
+ end
94
+ end
95
+ end
@@ -0,0 +1,154 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::DeploymentManager::Mgmt::V2018_09_01_preview
7
+ module Models
8
+ #
9
+ # Defines the PUT rollout request body.
10
+ #
11
+ class RolloutRequest < TrackedResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Identity] Identity for the resource.
16
+ attr_accessor :identity
17
+
18
+ # @return [String] The version of the build being deployed.
19
+ attr_accessor :build_version
20
+
21
+ # @return [String] The reference to the artifact source resource Id where
22
+ # the payload is located.
23
+ attr_accessor :artifact_source_id
24
+
25
+ # @return [String] The resource Id of the service topology from which
26
+ # service units are being referenced in step groups to be deployed.
27
+ attr_accessor :target_service_topology_id
28
+
29
+ # @return [Array<Step>] The list of step groups that define the
30
+ # orchestration.
31
+ attr_accessor :step_groups
32
+
33
+
34
+ #
35
+ # Mapper for RolloutRequest class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'RolloutRequest',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'RolloutRequest',
46
+ model_properties: {
47
+ id: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'id',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ name: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'name',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ type: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ read_only: true,
69
+ serialized_name: 'type',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ tags: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'tags',
78
+ type: {
79
+ name: 'Dictionary',
80
+ value: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ serialized_name: 'StringElementType',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ }
88
+ }
89
+ },
90
+ location: {
91
+ client_side_validation: true,
92
+ required: true,
93
+ serialized_name: 'location',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ identity: {
99
+ client_side_validation: true,
100
+ required: true,
101
+ serialized_name: 'identity',
102
+ type: {
103
+ name: 'Composite',
104
+ class_name: 'Identity'
105
+ }
106
+ },
107
+ build_version: {
108
+ client_side_validation: true,
109
+ required: true,
110
+ serialized_name: 'properties.buildVersion',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ },
115
+ artifact_source_id: {
116
+ client_side_validation: true,
117
+ required: false,
118
+ serialized_name: 'properties.artifactSourceId',
119
+ type: {
120
+ name: 'String'
121
+ }
122
+ },
123
+ target_service_topology_id: {
124
+ client_side_validation: true,
125
+ required: true,
126
+ serialized_name: 'properties.targetServiceTopologyId',
127
+ type: {
128
+ name: 'String'
129
+ }
130
+ },
131
+ step_groups: {
132
+ client_side_validation: true,
133
+ required: true,
134
+ serialized_name: 'properties.stepGroups',
135
+ type: {
136
+ name: 'Sequence',
137
+ element: {
138
+ client_side_validation: true,
139
+ required: false,
140
+ serialized_name: 'StepElementType',
141
+ type: {
142
+ name: 'Composite',
143
+ class_name: 'Step'
144
+ }
145
+ }
146
+ }
147
+ }
148
+ }
149
+ }
150
+ }
151
+ end
152
+ end
153
+ end
154
+ end