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
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScripthttps://skmtc.dev/macrometa/apis/macrometa-api-reference/docs/datacenter/_tenant/:tenant-name/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
tenant-namestring string required
The name of the tenant
Response
Successfully fetched data center.
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.