<?xml version="1.0" encoding="UTF-8"?>
<con:resource name="/clusters/{clusterId}/scale-out" path="/clusters/{clusterId}/scale-out" id="30f1ac18-72ec-4b95-bcb7-1196e3cf7e7d" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:con="http://eviware.com/soapui/config">
  <con:settings>
    <con:setting id="30f1ac18-72ec-4b95-bcb7-1196e3cf7e7dfileName">%2Fclusters%2F%7BclusterId%7D%2Fscale-out</con:setting>
  </con:settings>
  <con:parameters>
    <con:parameter required="true">
      <con:name>clusterId</con:name>
      <con:value/>
      <con:style>TEMPLATE</con:style>
      <con:default/>
      <con:description>cluster id</con:description>
    </con:parameter>
  </con:parameters>
  <con:method name="POST" id="c1c9a031-1ed6-4410-bcb5-698e5cf34170" method="POST">
    <con:description>scale out a cluster
scale out a cluster</con:description>
    <con:settings/>
    <con:parameters/>
    <con:representation type="REQUEST">
      <con:mediaType>application/json</con:mediaType>
      <con:params/>
      <con:sampleContent>{
  "instanceResource" : [ {
    "componentType" : "string",
    "resource" : [ {
      "count" : 0,
      "diskCapacity" : 0,
      "diskType" : "string",
      "specCode" : "string",
      "zoneCode" : "string"
    } ],
    "totalNodeCount" : 0
  } ]
}</con:sampleContent>
    </con:representation>
    <con:representation type="RESPONSE">
      <con:mediaType>application/json</con:mediaType>
      <con:status>200</con:status>
      <con:params/>
      <con:sampleContent>{
  "controller.CommonResult" : {
    "code" : 0,
    "data" : { },
    "message" : "string"
  },
  "data" : {
    "clusterId" : "string",
    "workFlowId" : "string"
  }
}</con:sampleContent>
    </con:representation>
    <con:representation type="RESPONSE">
      <con:mediaType>application/json</con:mediaType>
      <con:status>401</con:status>
      <con:params/>
      <con:sampleContent>{
  "code" : 0,
  "data" : { },
  "message" : "string"
}</con:sampleContent>
    </con:representation>
    <con:representation type="RESPONSE">
      <con:mediaType>application/json</con:mediaType>
      <con:status>403</con:status>
      <con:params/>
      <con:sampleContent>{
  "code" : 0,
  "data" : { },
  "message" : "string"
}</con:sampleContent>
    </con:representation>
    <con:representation type="RESPONSE">
      <con:mediaType>application/json</con:mediaType>
      <con:status>500</con:status>
      <con:params/>
      <con:sampleContent>{
  "code" : 0,
  "data" : { },
  "message" : "string"
}</con:sampleContent>
    </con:representation>
    <con:representation type="REQUEST">
      <con:mediaType>application/json</con:mediaType>
      <con:params/>
    </con:representation>
    <con:request name="Request 1" id="6e787a2a-204d-4caa-b11a-84ea3aca8520" mediaType="application/json">
      <con:settings/>
      <con:endpoint>http://172.16.4.134:4116</con:endpoint>
      <con:request>{
  "instanceResource" : [ {
    "componentType" : "string",
    "resource" : [ {
      "count" : 0,
      "diskCapacity" : 0,
      "diskType" : "string",
      "specCode" : "string",
      "zoneCode" : "string"
    } ],
    "totalNodeCount" : 0
  } ]
}</con:request>
      <con:credentials>
        <con:selectedAuthProfile>No Authorization</con:selectedAuthProfile>
        <con:authType>No Authorization</con:authType>
      </con:credentials>
      <con:parameters>
        <con:entry key="clusterId" value=""/>
      </con:parameters>
      <con:environmentSpec>
        <con:entry environmentId="145614f2-3764-4b2c-aea1-428a3da9b4e7">
          <con:authProfile>Inherit From Parent</con:authProfile>
        </con:entry>
        <con:entry environmentId="0348fa2a-7106-45b2-8fa8-793ec5904838">
          <con:authProfile>Inherit From Parent</con:authProfile>
        </con:entry>
      </con:environmentSpec>
    </con:request>
    <con:environmentSpec>
      <con:entry environmentId="145614f2-3764-4b2c-aea1-428a3da9b4e7">
        <con:authProfile>Inherit From Parent</con:authProfile>
      </con:entry>
      <con:entry environmentId="0348fa2a-7106-45b2-8fa8-793ec5904838">
        <con:authProfile>Inherit From Parent</con:authProfile>
      </con:entry>
    </con:environmentSpec>
  </con:method>
  <con:environmentSpec>
    <con:entry environmentId="145614f2-3764-4b2c-aea1-428a3da9b4e7">
      <con:authProfile>Inherit From Parent</con:authProfile>
    </con:entry>
    <con:entry environmentId="0348fa2a-7106-45b2-8fa8-793ec5904838">
      <con:authProfile>Inherit From Parent</con:authProfile>
    </con:entry>
  </con:environmentSpec>
</con:resource>
