DeployController0 Resource

This controller is responsible for deploying a cluster on provisoned resources.

POST /user/v0.0/switch/deploy/kubernetes

Security Roles Allowed
ADMIN, USER
Request Body
media type data type
text/xml deploy (XML)
Response Body
media type data type
text/xml result (XML)

Example

Request
POST /user/v0.0/switch/deploy/kubernetes
Content-Type: text/xml
Accept: text/xml

                
<deploy>
  <user>user</user>
  <pwd>123</pwd>
  <action>58c2c2f3a8d4b56889878d03</action>
</deploy>

                
              
Response
HTTP/1.1 201 Looks Good
Content-Type: text/xml

                
<result>
  <status>Success</status>
  <info>INFO</info>
  <file level="0" name="planner_output_all">...</file>
</result>

                
              

POST /user/v0.0/switch/deploy/swarm

Security Roles Allowed
ADMIN, USER
Request Body
media type data type
text/xml deploy (XML)
Response Body
media type data type
text/xml result (XML)

Example

Request
POST /user/v0.0/switch/deploy/swarm
Content-Type: text/xml
Accept: text/xml

                
<deploy>
  <user>user</user>
  <pwd>123</pwd>
  <action>58c2c2f3a8d4b56889878d03</action>
</deploy>

                
              
Response
HTTP/1.1 201 Looks Good
Content-Type: text/xml

                
<result>
  <status>Success</status>
  <info>INFO</info>
  <file level="0" name="planner_output_all">...</file>
</result>