Cloud
The region object
Where a service runs. A service without a volume can run in several regions, behind one global address.
Attributes
regionstring: india or us.svcstring: The service, or its copy in that region.primaryboolean: True for the project's own region.replicasnumber: Replicas in that region.statestring: active or deleting.
Example
{
"data": {
"region": "us",
"svc": "svc_01jdk3n2f4g6h8j0k2l4z6x8ca",
"primary": false,
"replicas": 1,
"state": "active"
}
}
Endpoints
POSTAdd a regionGETList service regionsDELETERemove a regionPATCHSet a region's replicas