<?xml version="1.0" encoding="UTF-8"?>
<con:resource name="/clusters/{clusterId}/preview-scale-out" path="/clusters/{clusterId}/preview-scale-out" id="e960964c-f7e8-4a33-b60b-e61a416371c1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:con="http://eviware.com/soapui/config">
  <con:settings>
    <con:setting id="e960964c-f7e8-4a33-b60b-e61a416371c1fileName">%2Fclusters%2F%7BclusterId%7D%2Fpreview-scale-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="6fae70f1-56ca-4339-8f56-dac1876545ba" method="POST">
    <con:description>preview cluster topology and capability
preview cluster topology and capability</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" : {
    "capabilityIndexes" : [ {
      "description" : "string",
      "name" : "string",
      "unit" : "string",
      "value" : { }
    } ],
    "clusterName" : "string",
    "clusterType" : "string",
    "clusterVersion" : "string",
    "cpuArchitecture" : "string",
    "region" : "string",
    "stockCheckResult" : [ {
      "componentName" : "string",
      "componentType" : "string",
      "count" : 0,
      "diskCapacity" : 0,
      "diskType" : "string",
      "enough" : true,
      "specCode" : "string",
      "zoneCode" : "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="1528de9b-7312-4c4a-b1bb-82467dd734e6" mediaType="application/json">
      <con:settings/>
      <con:endpoint>http://172.16.4.134:4100</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:request>
  </con:method>
</con:resource>
