Create Zone
Create zone
The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
Zone specification
Show optional properties
{
"name": "string",
"regionId": "9.0E49"
}
{
"name": "string",
"description": "string",
"regionId": "9.0E49",
"placementPolicy": "DEFAULT",
"tags": [
{
"key": "production",
"value": " "
}
],
"tagsToMatch": [
{
"key": "compliance",
"value": "pci"
}
],
"customProperties": {
"__isDefaultPlacementZone": "true"
},
"folder": "test-folder",
"computeIds": [
"[ab12c]"
]
}
A human-friendly name used as an identifier in APIs that support this option.
A human-friendly description.
The id of the region for which this profile is created
Placement policy for the zone. One of DEFAULT, SPREAD, BINPACK or SPREAD_MEMORY.
A set of tag keys and optional values that are effectively applied to all compute resources in this zone, but only in the context of this zone.
A set of tag keys and optional values that will be used
A list of key value pair of properties that will be used
The folder relative path to the datacenter where resources are deployed to. (only applicable for vSphere cloud zones)
The ids of the compute resources that will be explicitly assigned to this zone
Created
"Zone Object"
The id of this resource instance
Date when the entity was created. The date is in ISO 8601 and UTC.
Date when the entity was last updated. The date is ISO 8601 and UTC.
Email of the user or display name of the group that owns the entity.
Type of a owner(user/ad_group) that owns the entity.
The id of the organization this entity belongs to.
HATEOAS of the entity
A human-friendly name used as an identifier in APIs that support this option.
A human-friendly description.
A set of tag keys and optional values that were set on this placement.
A set of tag keys and optional values for compute resource filtering.
The placement policy for the zone.
A list of key value pair of properties that will be used
The folder relative path to the datacenter where resources are deployed to. If a non-existent folder name is passed, a new folder will be created in the respective datacenter when a machine is provisioned via the cloud zone. (only applicable for vSphere cloud zones)
The id of the region for which this zone is defined
Cloud account this zone belongs to.
Not found
"ServiceErrorResponse Object"
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
Forbidden
"ServiceErrorResponse Object"
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string","regionId:"string"}' https://{api_host}/iaas/api/zones