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,73 @@
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::V2019_11_01_preview
7
+ module Models
8
+ #
9
+ # Defines the properties of a service unit.
10
+ #
11
+ class ServiceUnitProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The Azure Resource Group to which the resources in the
16
+ # service unit belong to or should be deployed to.
17
+ attr_accessor :target_resource_group
18
+
19
+ # @return [DeploymentMode] Describes the type of ARM deployment to be
20
+ # performed on the resource. Possible values include: 'Incremental',
21
+ # 'Complete'
22
+ attr_accessor :deployment_mode
23
+
24
+ # @return [ServiceUnitArtifacts] The artifacts for the service unit.
25
+ attr_accessor :artifacts
26
+
27
+
28
+ #
29
+ # Mapper for ServiceUnitProperties class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'ServiceUnitProperties',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'ServiceUnitProperties',
40
+ model_properties: {
41
+ target_resource_group: {
42
+ client_side_validation: true,
43
+ required: true,
44
+ serialized_name: 'targetResourceGroup',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ deployment_mode: {
50
+ client_side_validation: true,
51
+ required: true,
52
+ serialized_name: 'deploymentMode',
53
+ type: {
54
+ name: 'Enum',
55
+ module: 'DeploymentMode'
56
+ }
57
+ },
58
+ artifacts: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'artifacts',
62
+ type: {
63
+ name: 'Composite',
64
+ class_name: 'ServiceUnitArtifacts'
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ end
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,124 @@
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::V2019_11_01_preview
7
+ module Models
8
+ #
9
+ # Represents the response of a service unit resource.
10
+ #
11
+ class ServiceUnitResource < TrackedResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The Azure Resource Group to which the resources in the
16
+ # service unit belong to or should be deployed to.
17
+ attr_accessor :target_resource_group
18
+
19
+ # @return [DeploymentMode] Describes the type of ARM deployment to be
20
+ # performed on the resource. Possible values include: 'Incremental',
21
+ # 'Complete'
22
+ attr_accessor :deployment_mode
23
+
24
+ # @return [ServiceUnitArtifacts] The artifacts for the service unit.
25
+ attr_accessor :artifacts
26
+
27
+
28
+ #
29
+ # Mapper for ServiceUnitResource class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'ServiceUnitResource',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'ServiceUnitResource',
40
+ model_properties: {
41
+ id: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'id',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ name: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'name',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ type: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'type',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ tags: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'tags',
72
+ type: {
73
+ name: 'Dictionary',
74
+ value: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'StringElementType',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ }
82
+ }
83
+ },
84
+ location: {
85
+ client_side_validation: true,
86
+ required: true,
87
+ serialized_name: 'location',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ },
92
+ target_resource_group: {
93
+ client_side_validation: true,
94
+ required: true,
95
+ serialized_name: 'properties.targetResourceGroup',
96
+ type: {
97
+ name: 'String'
98
+ }
99
+ },
100
+ deployment_mode: {
101
+ client_side_validation: true,
102
+ required: true,
103
+ serialized_name: 'properties.deploymentMode',
104
+ type: {
105
+ name: 'Enum',
106
+ module: 'DeploymentMode'
107
+ }
108
+ },
109
+ artifacts: {
110
+ client_side_validation: true,
111
+ required: false,
112
+ serialized_name: 'properties.artifacts',
113
+ type: {
114
+ name: 'Composite',
115
+ class_name: 'ServiceUnitArtifacts'
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }
121
+ end
122
+ end
123
+ end
124
+ end
@@ -0,0 +1,121 @@
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::V2019_11_01_preview
7
+ module Models
8
+ #
9
+ # The properties that define a Step group in a rollout.
10
+ #
11
+ class StepGroup
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the step group.
16
+ attr_accessor :name
17
+
18
+ # @return [Array<String>] The list of step group names on which this step
19
+ # group depends on.
20
+ attr_accessor :depends_on_step_groups
21
+
22
+ # @return [Array<PrePostStep>] The list of steps to be run before
23
+ # deploying the target.
24
+ attr_accessor :pre_deployment_steps
25
+
26
+ # @return [String] The resource Id of service unit to be deployed. The
27
+ # service unit should be from the service topology referenced in
28
+ # targetServiceTopologyId
29
+ attr_accessor :deployment_target_id
30
+
31
+ # @return [Array<PrePostStep>] The list of steps to be run after
32
+ # deploying the target.
33
+ attr_accessor :post_deployment_steps
34
+
35
+
36
+ #
37
+ # Mapper for StepGroup class as Ruby Hash.
38
+ # This will be used for serialization/deserialization.
39
+ #
40
+ def self.mapper()
41
+ {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'StepGroup',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'StepGroup',
48
+ model_properties: {
49
+ name: {
50
+ client_side_validation: true,
51
+ required: true,
52
+ serialized_name: 'name',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ depends_on_step_groups: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'dependsOnStepGroups',
61
+ type: {
62
+ name: 'Sequence',
63
+ element: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'StringElementType',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ }
71
+ }
72
+ },
73
+ pre_deployment_steps: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'preDeploymentSteps',
77
+ type: {
78
+ name: 'Sequence',
79
+ element: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'PrePostStepElementType',
83
+ type: {
84
+ name: 'Composite',
85
+ class_name: 'PrePostStep'
86
+ }
87
+ }
88
+ }
89
+ },
90
+ deployment_target_id: {
91
+ client_side_validation: true,
92
+ required: true,
93
+ serialized_name: 'deploymentTargetId',
94
+ type: {
95
+ name: 'String'
96
+ }
97
+ },
98
+ post_deployment_steps: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'postDeploymentSteps',
102
+ type: {
103
+ name: 'Sequence',
104
+ element: {
105
+ client_side_validation: true,
106
+ required: false,
107
+ serialized_name: 'PrePostStepElementType',
108
+ type: {
109
+ name: 'Composite',
110
+ class_name: 'PrePostStep'
111
+ }
112
+ }
113
+ }
114
+ }
115
+ }
116
+ }
117
+ }
118
+ end
119
+ end
120
+ end
121
+ end
@@ -0,0 +1,109 @@
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::V2019_11_01_preview
7
+ module Models
8
+ #
9
+ # Detailed information of a specific step run.
10
+ #
11
+ class StepOperationInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the ARM deployment initiated as part of
16
+ # the step.
17
+ attr_accessor :deployment_name
18
+
19
+ # @return [String] Unique identifier to track the request for ARM-based
20
+ # resources.
21
+ attr_accessor :correlation_id
22
+
23
+ # @return [DateTime] Start time of the action in UTC.
24
+ attr_accessor :start_time
25
+
26
+ # @return [DateTime] End time of the action in UTC.
27
+ attr_accessor :end_time
28
+
29
+ # @return [DateTime] Last time in UTC this operation was updated.
30
+ attr_accessor :last_updated_time
31
+
32
+ # @return [CloudErrorBody] The errors, if any, for the action.
33
+ attr_accessor :error
34
+
35
+
36
+ #
37
+ # Mapper for StepOperationInfo class as Ruby Hash.
38
+ # This will be used for serialization/deserialization.
39
+ #
40
+ def self.mapper()
41
+ {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'StepOperationInfo',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'StepOperationInfo',
48
+ model_properties: {
49
+ deployment_name: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ read_only: true,
53
+ serialized_name: 'deploymentName',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ correlation_id: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ read_only: true,
62
+ serialized_name: 'correlationId',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ start_time: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ read_only: true,
71
+ serialized_name: 'startTime',
72
+ type: {
73
+ name: 'DateTime'
74
+ }
75
+ },
76
+ end_time: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ read_only: true,
80
+ serialized_name: 'endTime',
81
+ type: {
82
+ name: 'DateTime'
83
+ }
84
+ },
85
+ last_updated_time: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'lastUpdatedTime',
90
+ type: {
91
+ name: 'DateTime'
92
+ }
93
+ },
94
+ error: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ serialized_name: 'error',
98
+ type: {
99
+ name: 'Composite',
100
+ class_name: 'CloudErrorBody'
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ end
107
+ end
108
+ end
109
+ end
@@ -0,0 +1,47 @@
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::V2019_11_01_preview
7
+ module Models
8
+ #
9
+ # The properties of a step resource.
10
+ #
11
+ class StepProperties
12
+
13
+ include MsRestAzure
14
+
15
+ @@discriminatorMap = Hash.new
16
+ @@discriminatorMap["HealthCheck"] = "HealthCheckStepProperties"
17
+ @@discriminatorMap["Wait"] = "WaitStepProperties"
18
+
19
+ def initialize
20
+ @stepType = "StepProperties"
21
+ end
22
+
23
+ attr_accessor :stepType
24
+
25
+
26
+ #
27
+ # Mapper for StepProperties class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'StepProperties',
35
+ type: {
36
+ name: 'Composite',
37
+ polymorphic_discriminator: 'stepType',
38
+ uber_parent: 'StepProperties',
39
+ class_name: 'StepProperties',
40
+ model_properties: {
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end