Update Cloud Connection
Select
Update configuration of an existing cloud connection.
Path Parameters
- cloudConnectionId int32 required
Id of an existing cloud connection
- application/json
Request Body
- displayName string
Display name of the cloud connection.
credentials object
- accessNodes object[]
List of servers and server groups to use to access the cloud connection.
cloudSpecificConfiguration object
- 200
- 400
- 500
Success
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"
}
PUT /v4/cloud/cloudconnection/:cloudconnectionid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/CloudConnection/:cloudConnectionId' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"displayName": "string",
"credentials": {
"credentialType": "AWS_STS_ASSUME_ROLE",
"credentialId": 0
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
],
"cloudSpecificConfiguration": {
"aws": {
"regions": "string",
"iamRoleAccountId": "string"
},
"azure": {
"tenantId": "string",
"tenantName": "string",
"environment": "string",
"subscriptions": [
{
"name": "string",
"id": "string",
"uuid": "string",
"email": "string"
}
],
"discoverAllSubscription": false
}
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/CloudConnection/:cloudConnectionId' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"displayName": "string",
"credentials": {
"credentialType": "AWS_STS_ASSUME_ROLE",
"credentialId": 0
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
],
"cloudSpecificConfiguration": {
"aws": {
"regions": "string",
"iamRoleAccountId": "string"
},
"azure": {
"tenantId": "string",
"tenantName": "string",
"environment": "string",
"subscriptions": [
{
"name": "string",
"id": "string",
"uuid": "string",
"email": "string"
}
],
"discoverAllSubscription": false
}
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/CloudConnection/:cloudConnectionId' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"displayName": "string",
"credentials": {
"credentialType": "AWS_STS_ASSUME_ROLE",
"credentialId": 0
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
],
"cloudSpecificConfiguration": {
"aws": {
"regions": "string",
"iamRoleAccountId": "string"
},
"azure": {
"tenantId": "string",
"tenantName": "string",
"environment": "string",
"subscriptions": [
{
"name": "string",
"id": "string",
"uuid": "string",
"email": "string"
}
],
"discoverAllSubscription": false
}
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/CloudConnection/:cloudConnectionId' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"displayName": "string",
"credentials": {
"credentialType": "AWS_STS_ASSUME_ROLE",
"credentialId": 0
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
],
"cloudSpecificConfiguration": {
"aws": {
"regions": "string",
"iamRoleAccountId": "string"
},
"azure": {
"tenantId": "string",
"tenantName": "string",
"environment": "string",
"subscriptions": [
{
"name": "string",
"id": "string",
"uuid": "string",
"email": "string"
}
],
"discoverAllSubscription": false
}
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/CloudConnection/:cloudConnectionId' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"displayName": "string",
"credentials": {
"credentialType": "AWS_STS_ASSUME_ROLE",
"credentialId": 0
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
],
"cloudSpecificConfiguration": {
"aws": {
"regions": "string",
"iamRoleAccountId": "string"
},
"azure": {
"tenantId": "string",
"tenantName": "string",
"environment": "string",
"subscriptions": [
{
"name": "string",
"id": "string",
"uuid": "string",
"email": "string"
}
],
"discoverAllSubscription": false
}
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/CloudConnection/:cloudConnectionId' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"displayName": "string",
"credentials": {
"credentialType": "AWS_STS_ASSUME_ROLE",
"credentialId": 0
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
],
"cloudSpecificConfiguration": {
"aws": {
"regions": "string",
"iamRoleAccountId": "string"
},
"azure": {
"tenantId": "string",
"tenantName": "string",
"environment": "string",
"subscriptions": [
{
"name": "string",
"id": "string",
"uuid": "string",
"email": "string"
}
],
"discoverAllSubscription": false
}
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Cloud/CloudConnection/:cloudConnectionId' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"displayName": "string",
"credentials": {
"credentialType": "AWS_STS_ASSUME_ROLE",
"credentialId": 0
},
"accessNodes": [
{
"id": 0,
"name": "string",
"displayName": "string",
"accessNodeType": "SERVER"
}
],
"cloudSpecificConfiguration": {
"aws": {
"regions": "string",
"iamRoleAccountId": "string"
},
"azure": {
"tenantId": "string",
"tenantName": "string",
"environment": "string",
"subscriptions": [
{
"name": "string",
"id": "string",
"uuid": "string",
"email": "string"
}
],
"discoverAllSubscription": false
}
}
}'