<?xml version="1.0" encoding="UTF-8"?>
<con:resource name="/clusters/{clusterId}/preview-scale-out" path="/clusters/{clusterId}/preview-scale-out" id="6fc95d29-472e-42f1-b7a3-1e7237d7f8c2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:con="http://eviware.com/soapui/config">
  <con:settings>
    <con:setting id="6fc95d29-472e-42f1-b7a3-1e7237d7f8c2fileName">%2Fclusters%2F%7BclusterId%7D%2Fpreview-scale-out</con:setting>
  </con:settings>
  <con:parameters>
    <con:parameter required="true">
      <con:name>clusterId</con:name>
      <con:style>TEMPLATE</con:style>
      <con:description>cluster id</con:description>
    </con:parameter>
  </con:parameters>
  <con:method name="POST" id="507f915a-3919-4a23-9c28-635c6a40edc0" 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="55217b35-cb4d-4fba-8506-4556c5f9209a" 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:request>
  </con:method>
</con:resource>
