List Datacenter Instances
Get all Datacenter locations for the Kubernetes Stretched Cluster.
Request
URI
GET
https://{api_host}/dcc/v1/datacenters
COPY
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
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/dcc/v1/datacenters
Collector Operations
GET
List Collector Instances
POST
Create Collector
GET
Get Collector
DELETE
Delete Collector
POST
Management Of Collector Lifecycle
GET
List Collector Files
GET
Get Collector File Content
PUT
Update Collector File Content
DELETE
Delete Collector Conf Files
POST
Upload Collector Conf Files
GET
List Collector Modules
GET
Download Collector Conf File
GET
List Datacenter Instances
GET
List Collector Types