This controller is responsible for deploying a cluster on provisoned resources.
media type | data type |
---|---|
text/xml | deploy (XML) |
media type | data type |
---|---|
text/xml | result (XML) |
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>
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>
media type | data type |
---|---|
text/xml | deploy (XML) |
media type | data type |
---|---|
text/xml | result (XML) |
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>
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>