Cosmic Admin API Reference

addCluster

Adds a new cluster

Request parameters

Parameter NameDescriptionRequired
clusternamethe cluster nametrue
clustertypetype of the cluster: CloudManaged, ExternalManagedtrue
hypervisorhypervisor type of the cluster: XenServer,KVMtrue
podidthe Pod ID for the hosttrue
zoneidthe Zone ID for the clustertrue
allocationstateAllocation state of this cluster for allocation of new resourcesfalse
passwordthe password for the hostfalse
urlthe URLfalse
usernamethe username for the clusterfalse

Response Tags

Response NameDescription
idthe cluster ID
allocationstatethe allocation state of the cluster
clustertypethe type of the cluster
cpuovercommitratioThe cpu overcommit ratio of the cluster
hypervisortypethe hypervisor type of the cluster
managedstatewhether this cluster is managed by cloudstack
memoryovercommitratioThe memory overcommit ratio of the cluster
namethe cluster name
podidthe Pod ID of the cluster
podnamethe Pod name of the cluster
zoneidthe Zone ID of the cluster
zonenamethe Zone name of the cluster
capacity(*)the capacity of the Cluster
capacitytotalthe total capacity available
capacityusedthe capacity currently in use
clusteridthe Cluster ID
clusternamethe Cluster name
percentageallocatedthe percentage of capacity currently allocated
podidthe Pod ID
podnamethe Pod name
typethe capacity type
zoneidthe Zone ID
zonenamethe Zone name