Retrieve asset datasource's configuration
Select
SaaS
Customer Managed
Retrieve asset datasource's configuration
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- credentials object[]
{
"credentials": [
{
"id": 0,
"name": "string",
"vendorType": "ALICLOUD_OSS",
"configured": true,
"lastSyncedAt": 0
}
]
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorCode CyberResilienceErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,INDEX_SERVER_NOT_EXIST
,INDEX_SERVER_INACCESSIBLE
,INDEX_SERVER_DATA_ANALYTICS_ROLE_MISSING
,CREDENTIAL_UNSUPPORTED
,CREDENTIAL_INACCESSIBLE
,CYBER_RESILIENCE_ALREADY_CONFIGURED
,CYBER_RESILIENCE_NOT_CONFIGURED
,DELETING_UNCONFIGURED_CREDENTIAL
,ADDING_CONFIGURED_CREDENTIAL
,UNKNOWN_ERROR
,INTERNAL_SERVER_ERROR
,CREDENTIAL_INVALID
] - errorMessage string
{
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
GET /asset/discovery/configuration
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Asset/Discovery/Configuration' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Asset/Discovery/Configuration' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Asset/Discovery/Configuration' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Asset/Discovery/Configuration' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Asset/Discovery/Configuration' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Asset/Discovery/Configuration' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Asset/Discovery/Configuration' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'