Get the list of authenticated users for TCO using oauth
Select
Get the list of authenticated users for TCO using oauth
Query Parameters
- provider string
Cloud provider ( Azure, AWS, etc)
- refreshTokenId string
Refesh token id of the refresh token to be deleted
- 200
- 400
- 403
- 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"
}
Bad Request
- 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"
}
Forbidden
- 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
Assessments object[]
credentialId int32Credential Id
assessmentId stringAssessment Id
assessmentName stringAssessment Name
createTime int32Assessment creation time
assessmentProperties object[]
costdetails object[]
name stringvalue stringresourceDetails object[]
resourcetype stringType of the resource
count int32Number of resources of this type
sizeInGb int32Sum of the size of all the resources of this type
workloadtype stringtcoAssessmentProperties object
credentialId int32cloudConnector CyberResiliencyCloudConnectorPossible values: [
AZURE
,AWS
,GCP
,M365
,AD
]Default value:
AZURE
Supported Connector Types for Cyber Resilience Cost Assessment Dashboard
authType TCOCredentialAuthTypePossible values: [
OAUTH2
,CREDENTIAL_VAULT
]Default value:
CREDENTIAL_VAULT
Supported Credential Authentication Types for Cyber Resilience Cost Assessment Dashboard
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 stringassessmentConfig object
TCO Assessment Configuration Fields
utilizationFactorVM floatVirtual Machine Utilization Percentage
standardRetention floatStandard Retention in Days for Workloadd
annualGrowthRate floatAnnual Projected Growth Rate for Workload
dailyChangeRateVM floatdailyChangeRateDB floatdailyChangeRateFO floatworkloadDetails object[]
costdetails object[]
name stringvalue stringresourceDetails object[]
resourcetype stringType of the resource
count int32Number of resources of this type
sizeInGb int32Sum of the size of all the resources of this type
workloadtype stringprovider stringstatus DcubeJobStatePossible values: [
IDLE
,STARTING
,RUNNING
,FINISHING
,FINISHED
,STOPPING
,STOPPED
,ABORTING
,ABORTED
,EXCEPTION
,UNKNOWN
,SYNCING
,PENDING
,COMPLETED_WITH_ERRORS
]- 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
{
"Assessments": [
{
"credentialId": 0,
"assessmentId": "string",
"assessmentName": "string",
"createTime": 0,
"assessmentProperties": [
{
"costdetails": [
{
"name": "string",
"value": "string"
}
],
"resourceDetails": [
{
"resourcetype": "string",
"count": 0,
"sizeInGb": 0
}
],
"workloadtype": "string"
}
],
"tcoAssessmentProperties": {
"credentialId": 0,
"cloudConnector": "AZURE",
"authType": "CREDENTIAL_VAULT",
"discoveryCriteria": {
"criteria": "SUBSCRIPTIONS",
"details": [
{
"id": 0,
"name": "string",
"value": "string"
}
]
},
"assessmentConfig": {
"utilizationFactorVM": 0,
"standardRetention": 0,
"annualGrowthRate": 0,
"dailyChangeRateVM": 0,
"dailyChangeRateDB": 0,
"dailyChangeRateFO": 0
},
"workloadDetails": [
{
"costdetails": [
{
"name": "string",
"value": "string"
}
],
"resourceDetails": [
{
"resourcetype": "string",
"count": 0,
"sizeInGb": 0
}
],
"workloadtype": "string"
}
]
},
"provider": "string",
"status": "IDLE"
}
],
"errorCode": "NO_ERROR",
"errorMessage": "string"
}