Dispra Docs

Cloud

The region object

Where a service runs. A service without a volume can run in several regions, behind one global address.

Attributes

  • region string: india or us.
  • svc string: The service, or its copy in that region.
  • primary boolean: True for the project's own region.
  • replicas number: Replicas in that region.
  • state string: active or deleting.

Example

{
  "data": {
    "region": "us",
    "svc": "svc_01jdk3n2f4g6h8j0k2l4z6x8ca",
    "primary": false,
    "replicas": 1,
    "state": "active"
  }
}

Endpoints