Data Centers

List all available data centers.

Fetch data for all data centers for tenant identified by tenant-name.

get/datacenter/_tenant/{tenant-name}

Request

Path parameters

tenant-namestring string required

The name of the tenant

Response

Successfully fetched data center.

tenantstring

Tenant name

Example response

[
  {
    "tenant": "_mm",
    "dcInfo": [
      {
        "_id": "_clusters/gdn-us-west",
        "_key": "gdn-us-west",
        "_rev": "_c9VHcYC--_",
        "host": "192.168.1.100",
        "local": true,
        "name": "gdn-us-west",
        "tags": {
          "api": "api-gdn-us-west.paas.macrometa.io",
          "url": "gdn-us-west.paas.macrometa.io"
        },
        "locationInfo": {
          "_id": "_members/gdn-us-west",
          "_key": "gdn-us-west",
          "_rev": "_c9VHcYC--_",
          "city": "San Jose",
          "countrycode": "US",
          "countryname": "United States",
          "host": "92.236.111.184",
          "url": "gdn-us-west.paas.macrometa.io"
        }
      }
    ]
  }
]

Changes

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