ApiClusterTemplate Data Model

Details of cluster template

Properties
name data type description
cdhVersion string
products array of ApiProductVersion
services array of ApiClusterTemplateService
hostTemplates array of ApiClusterTemplateHostTemplate
displayName string
cmVersion string
instantiator ApiClusterTemplateInstantiator
repositories array of string
clusterSpec ApiClusterTemplateClusterSpec

Example

{
  "cdhVersion" : "...",
  "products" : [ {
    "version" : "...",
    "product" : "..."
  }, {
    "version" : "...",
    "product" : "..."
  } ],
  "services" : [ {
    "refName" : "...",
    "serviceType" : "...",
    "serviceConfigs" : [ {
      "name" : "...",
      "value" : "...",
      "ref" : "...",
      "variable" : "...",
      "autoConfig" : true
    }, {
      "name" : "...",
      "value" : "...",
      "ref" : "...",
      "variable" : "...",
      "autoConfig" : true
    } ],
    "roleConfigGroups" : [ {
      "refName" : "...",
      "roleType" : "...",
      "base" : true,
      "displayName" : "...",
      "configs" : [ { }, { } ]
    }, {
      "refName" : "...",
      "roleType" : "...",
      "base" : true,
      "displayName" : "...",
      "configs" : [ { }, { } ]
    } ],
    "roles" : [ {
      "refName" : "...",
      "roleType" : "..."
    }, {
      "refName" : "...",
      "roleType" : "..."
    } ],
    "displayName" : "..."
  }, {
    "refName" : "...",
    "serviceType" : "...",
    "serviceConfigs" : [ {
      "name" : "...",
      "value" : "...",
      "ref" : "...",
      "variable" : "...",
      "autoConfig" : true
    }, {
      "name" : "...",
      "value" : "...",
      "ref" : "...",
      "variable" : "...",
      "autoConfig" : true
    } ],
    "roleConfigGroups" : [ {
      "refName" : "...",
      "roleType" : "...",
      "base" : true,
      "displayName" : "...",
      "configs" : [ { }, { } ]
    }, {
      "refName" : "...",
      "roleType" : "...",
      "base" : true,
      "displayName" : "...",
      "configs" : [ { }, { } ]
    } ],
    "roles" : [ {
      "refName" : "...",
      "roleType" : "..."
    }, {
      "refName" : "...",
      "roleType" : "..."
    } ],
    "displayName" : "..."
  } ],
  "hostTemplates" : [ {
    "refName" : "...",
    "roleConfigGroupsRefNames" : [ "...", "..." ],
    "cardinality" : 12345
  }, {
    "refName" : "...",
    "roleConfigGroupsRefNames" : [ "...", "..." ],
    "cardinality" : 12345
  } ],
  "displayName" : "...",
  "cmVersion" : "...",
  "instantiator" : {
    "clusterName" : "...",
    "hosts" : [ {
      "hostName" : "...",
      "hostNameRange" : "...",
      "rackId" : "...",
      "hostTemplateRefName" : "...",
      "roleRefNames" : [ "...", "..." ]
    }, {
      "hostName" : "...",
      "hostNameRange" : "...",
      "rackId" : "...",
      "hostTemplateRefName" : "...",
      "roleRefNames" : [ "...", "..." ]
    } ],
    "variables" : [ {
      "name" : "...",
      "value" : "..."
    }, {
      "name" : "...",
      "value" : "..."
    } ],
    "roleConfigGroups" : [ {
      "rcgRefName" : "...",
      "name" : "..."
    }, {
      "rcgRefName" : "...",
      "name" : "..."
    } ],
    "clusterSpec" : {
      "dataContextRefs" : [ { }, { } ]
    }
  },
  "repositories" : [ "...", "..." ],
  "clusterSpec" : {
    "dataContextRefs" : [ {
      "name" : "..."
    }, {
      "name" : "..."
    } ]
  }
}