Apache CloudStack v4.3.0 Root Admin API Reference

updateZone

Updates a Zone.

Request parameters

Parameter NameDescriptionRequired
idthe ID of the Zonetrue
allocationstateAllocation state of this cluster for allocation of new resourcesfalse
detailsthe details for the Zonefalse
dhcpproviderthe dhcp Provider for the Zonefalse
dns1the first DNS for the Zonefalse
dns2the second DNS for the Zonefalse
dnssearchorderthe dns search order listfalse
domainNetwork domain name for the networks in the zone; empty string will update domain with NULL valuefalse
guestcidraddressthe guest CIDR address for the Zonefalse
internaldns1the first internal DNS 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
ispublicupdates a private zone to public if set, but not vice-versafalse
localstorageenabledtrue if local storage offering enabled, false otherwisefalse
namethe name of the Zonefalse

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)
securitygroupsenabledtrue if security groups support is enabled, false otherwise
vlanthe vlan range of the zone
zonetokenZone Token
capacity(*)the capacity of the Zone
capacitytotalthe total capacity available
capacityusedthe capacity currently in use
clusteridthe Cluster ID
clusternamethe Cluster name
percentusedthe percentage of capacity currently in use
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