AssessmentDiscoveryCriteria
Select
Get Assessment Discovery Criteria
Query Parameters
- credentialId integer
Credential Id of User Selected Credential
- authType string
Authentication Type
- cloudConnector string
Type of TCO Cloud Connector
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
credentialId object[]
id int32name stringrefreshToken TCORefreshToken
RefreshTokenId int32Refresh Token ID
RefreshToken stringRefresh Token
Provider stringCloud Provider name
ErrorMesage stringError message while saving/validating refresh token
ErrorCode int32Error code while saving/validating refresh token
discoveryCriteria object
Model for Workload Discovery Selector Object
criteria WorkloadDiscoveryCriteriaEnumPossible values: [
SUBSCRIPTIONS
,REGIONS
]Selection criteria for workload discovery while running a TCO Assessment
details object[]
Additional Details related to respective select
id int32name stringvalue stringazureNameValueMap object[]
name stringvalue stringawsNameValueMap object[]
name stringvalue string- 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
{
"credentialId": [
{
"id": 0,
"name": "string"
}
],
"refreshToken": {
"RefreshTokenId": 0,
"RefreshToken": "string",
"Provider": "string",
"ErrorMesage": "string",
"ErrorCode": 0
},
"discoveryCriteria": {
"criteria": "SUBSCRIPTIONS",
"details": [
{
"id": 0,
"name": "string",
"value": "string"
}
]
},
"azureNameValueMap": [
{
"name": "string",
"value": "string"
}
],
"awsNameValueMap": [
{
"name": "string",
"value": "string"
}
],
"errorCode": "NO_ERROR",
"errorMessage": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
credentialId object[]
id int32name stringrefreshToken TCORefreshToken
RefreshTokenId int32Refresh Token ID
RefreshToken stringRefresh Token
Provider stringCloud Provider name
ErrorMesage stringError message while saving/validating refresh token
ErrorCode int32Error code while saving/validating refresh token
discoveryCriteria object
Model for Workload Discovery Selector Object
criteria WorkloadDiscoveryCriteriaEnumPossible values: [
SUBSCRIPTIONS
,REGIONS
]Selection criteria for workload discovery while running a TCO Assessment
details object[]
Additional Details related to respective select
id int32name stringvalue stringazureNameValueMap object[]
name stringvalue stringawsNameValueMap object[]
name stringvalue string- 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
{
"credentialId": [
{
"id": 0,
"name": "string"
}
],
"refreshToken": {
"RefreshTokenId": 0,
"RefreshToken": "string",
"Provider": "string",
"ErrorMesage": "string",
"ErrorCode": 0
},
"discoveryCriteria": {
"criteria": "SUBSCRIPTIONS",
"details": [
{
"id": 0,
"name": "string",
"value": "string"
}
]
},
"azureNameValueMap": [
{
"name": "string",
"value": "string"
}
],
"awsNameValueMap": [
{
"name": "string",
"value": "string"
}
],
"errorCode": "NO_ERROR",
"errorMessage": "string"
}