[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance
List Datacenter Instances
DescriptionGet all Datacenter locations for the Kubernetes Stretched Cluster.
Request
Operation doesn't accept any path, query or header parameters.
URL
https://{api_host}tcsa.host.com/dcc/v1/datacenters
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
map
of
DatacenterResponseObject
of type application/json
{
"_core": {
"display_name": "core",
"nodes": [
"node1",
"node2",
"node3",
"node4",
"node5",
"node6"
]
}
}
string
display_name
Required
Name of the datacenter all the local nodes without label will be grouped under _core display name
array of
string
nodes
Required
Name of the datacenter nodes with the label the nodes without label will be grouped under _core datacenter
Errors
400
Invalid Request sent by the user
401
User authentication failed
403
Access to the requested resource/operation is forbidden
404
Cannot find requested resource
500
Internal server error
Code Samples
cURL Command
curl https://{api_host}tcsa.host.com/dcc/v1/datacenters
[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance
On This Page
Collector Operations
post
delete
get