List Datacenter Instances

List Datacenter Instances

Get all Datacenter locations for the Kubernetes Stretched Cluster.

Request
URI
GET
https://{api_host}/tcsa.host.com/dcc/v1/datacenters
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns ListDatacenterResponse of type(s) application/json
{
    "_core": {
        "display_name": "core",
        "nodes": [
            "node1",
            "node2",
            "node3",
            "node4",
            "node5",
            "node6",
            "node7"
        ]
    },
    "remote-dc-1": {
        "display_name": "remote-dc-1(Remote Datacenter)",
        "nodes": []
    },
    "remote-dc-2": {
        "display_name": "remote-dc-2(Remote Datacenter)",
        "nodes": []
    }
}

400

Invalid Request sent by the user

Operation doesn't return any data structure

401

User authentication failed

Operation doesn't return any data structure

403

Access to the requested resource/operation is forbidden

Operation doesn't return any data structure

404

Cannot find requested resource

Operation doesn't return any data structure

500

Internal server error

Operation doesn't return any data structure