Cosmic Admin API Reference

createZone

Creates a Zone.

Request parameters

Parameter NameDescriptionRequired
dns1the first DNS for the Zonetrue
internaldns1the first internal DNS for the Zonetrue
namethe name of the Zonetrue
networktypenetwork type of the zone, can be Basic or Advancedtrue
allocationstateAllocation state of this Zone for allocation of new resourcesfalse
dns2the second DNS for the Zonefalse
domainNetwork domain name for the networks in the zonefalse
domainidthe ID of the containing domain, null for public zonesfalse
guestcidraddressthe guest CIDR address for the Zonefalse
internaldns2the second internal DNS for the Zonefalse
ip6dns1the first DNS for IPv6 network in the Zonefalse
ip6dns2the second DNS for IPv6 network in the Zonefalse
localstorageenabledtrue if local storage offering enabled, false otherwisefalse

Response Tags

Response NameDescription
idZone id
allocationstatethe allocation state of the cluster
descriptionZone description
dhcpproviderthe dhcp Provider for the Zone
displaytextthe display text of the zone
dns1the first DNS for the Zone
dns2the second DNS for the Zone
domainNetwork domain name for the networks in the zone
domainidthe UUID of the containing domain, null for public zones
domainnamethe name of the containing domain, null for public zones
guestcidraddressthe guest CIDR address for the Zone
internaldns1the first internal DNS for the Zone
internaldns2the second internal DNS for the Zone
ip6dns1the first IPv6 DNS for the Zone
ip6dns2the second IPv6 DNS for the Zone
localstorageenabledtrue if local storage offering enabled, false otherwise
nameZone name
networktypethe network type of the zone; can be Basic or Advanced
resourcedetailsMeta data associated with the zone (key/value pairs)
zonetokenZone Token
capacity(*)the capacity of the Zone
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
tags(*)the list of resource tags associated with zone.
accountthe account associated with the tag
customercustomer associated with the tag
domainthe domain associated with the tag
domainidthe ID of the domain associated with the tag
keytag key name
projectthe project name where tag belongs to
projectidthe project id the tag belongs to
resourceidid of the resource
resourcetyperesource type
valuetag value