Cosmic Admin API Reference

createDomain

Creates a domain

Request parameters

Parameter NameDescriptionRequired
namecreates domain with this nametrue
domainidDomain UUID, required for adding domain from another Regionfalse
emailEmail address associated with this domainfalse
networkdomainNetwork domain for networks in the domainfalse
parentdomainidassigns new domain a parent domain by domain ID of the parent. If no parent domain is specied, the ROOT domain is assumed.false
slackchannelnameEmail address associated with this domainfalse

Response Tags

Response NameDescription
idthe ID of the domain
cpuavailablethe total number of cpu cores available to be created for this domain
cpulimitthe total number of cpu cores the domain can own
cputotalthe total number of cpu cores owned by domain
emailthe email address associated with the domain
haschildwhether the domain has one or more sub-domains
ipavailablethe total number of public ip addresses available for this domain to acquire
iplimitthe total number of public ip addresses this domain can acquire
iptotalthe total number of public ip addresses allocated for this domain
levelthe level of the domain
memoryavailablethe total memory (in MB) available to be created for this domain
memorylimitthe total memory (in MB) the domain can own
memorytotalthe total memory (in MB) owned by domain
namethe name of the domain
networkavailablethe total number of networks available to be created for this domain
networkdomainthe network domain
networklimitthe total number of networks the domain can own
networktotalthe total number of networks owned by domain
parentdomainidthe domain ID of the parent domain
parentdomainnamethe domain name of the parent domain
paththe path of the domain
primarystorageavailablethe total primary storage space (in GiB) available to be used for this domain
primarystoragelimitthe total primary storage space (in GiB) the domain can own
primarystoragetotalthe total primary storage space (in GiB) owned by domain
projectavailablethe total number of projects available for administration by this domain
projectlimitthe total number of projects the domain can own
projecttotalthe total number of projects being administrated by this domain
secondarystorageavailablethe total secondary storage space (in GiB) available to be used for this domain
secondarystoragelimitthe total secondary storage space (in GiB) the domain can own
secondarystoragetotalthe total secondary storage space (in GiB) owned by domain
slackchannelnamethe slack channel name associated with the domain
snapshotavailablethe total number of snapshots available for this domain
snapshotlimitthe total number of snapshots which can be stored by this domain
snapshottotalthe total number of snapshots stored by this domain
statethe state of the domain
templateavailablethe total number of templates available to be created by this domain
templatelimitthe total number of templates which can be created by this domain
templatetotalthe total number of templates which have been created by this domain
vmavailablethe total number of virtual machines available for this domain to acquire
vmlimitthe total number of virtual machines that can be deployed by this domain
vmtotalthe total number of virtual machines deployed by this domain
volumeavailablethe total volume available for this domain
volumelimitthe total volume which can be used by this domain
volumetotalthe total volume being used by this domain
vpcavailablethe total number of vpcs available to be created for this domain
vpclimitthe total number of vpcs the domain can own
vpctotalthe total number of vpcs owned by domain