Get Cloud Connection Details
Select
SaaS
Customer Managed
Get details of one cloud connection
Path Parameters
- cloudConnectionId int32 required
Id of an existing cloud connection
Responses
- 200
- 400
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
cloudConnection object
{
"cloudConnection": {
"id": 0,
"name": "string",
"displayName": "string",
"cloudType": "AMAZON_WEB_SERVICES",
"credentials": {
"credentialType": "AWS_STS_ASSUME_ROLE",
"credentialId": 0
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
],
"cloudSpecificDetails": {
"aws": {
"regions": "string",
"iamRoleAccountId": "string",
"accountDetails": {
"cloudAccount": {
"name": "string",
"id": "string",
"uuid": "string",
"email": "string"
}
}
},
"azure": {
"tenantId": "string",
"tenantName": "string",
"environment": "string",
"subscriptions": [
{
"name": "string",
"id": "string",
"uuid": "string",
"email": "string"
}
],
"discoverAllSubscription": false
}
}
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
Tells about the error occured
- errorCode ErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,VALUE_NOT_FOUND
,UNKNOWN_EXCEPTION
,CONNECTION_PROBLEM
,UNKNOWN_SQL_ERROR
,INVALID_USER
,INVALID_OPERATION_TYPE
,INTERNAL_SERVER_PROBLEM
,INSUFFICIENT_USER_PERMISSION_ON_ENTITY
,INVALID_ENTITY_ID
,REFRESH_TOKEN_EXPIRED
]Error code value
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
Tells about the error occured
- errorCode ErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,VALUE_NOT_FOUND
,UNKNOWN_EXCEPTION
,CONNECTION_PROBLEM
,UNKNOWN_SQL_ERROR
,INVALID_USER
,INVALID_OPERATION_TYPE
,INTERNAL_SERVER_PROBLEM
,INSUFFICIENT_USER_PERMISSION_ON_ENTITY
,INVALID_ENTITY_ID
,REFRESH_TOKEN_EXPIRED
]Error code value
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
GET /v4/cloud/cloudconnection/:cloudconnectionid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/CloudConnection/:cloudConnectionId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/CloudConnection/:cloudConnectionId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/CloudConnection/:cloudConnectionId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/CloudConnection/:cloudConnectionId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/CloudConnection/:cloudConnectionId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/CloudConnection/:cloudConnectionId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/CloudConnection/:cloudConnectionId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'