Data Centers

Lists all data centers

Fetch data about all the data centers.

get/datacenter/all

Request

Response

Successfully fetched data centers.

_keystring

key for the data center

hoststring

IP address of the data center.

localboolean

If true, the data center is a regional data center for the request else false.

namestring

Name of the data center.

spot_regionboolean

If true, the data center is on-spot capable

statusinteger

If 0, the data center is online else data center is having connectivity problem.

Example response

[
  {
    "_key": "gdn-us-west",
    "host": "92.236.111.184",
    "local": true,
    "name": "gdn-us-west",
    "tags": {
      "api": "api-gdn-us-west.paas.macrometa.io",
      "url": "gdn-us-west.paas.macrometa.io"
    },
    "locationInfo": {
      "city": "San Jose",
      "countrycode": "US",
      "countryname": "United States",
      "url": "gdn-us-west.paas.macrometa.io"
    }
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.