[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance

List Datacenter Instances

Description

Get all Datacenter locations for the Kubernetes Stretched Cluster.

Request

Request

URL

URL


get
https://{api_host}tcsa.host.com/dcc/v1/datacenters
Copy

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response 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

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

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
Feedback

Was this page helpful?