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
count int32totalRecords int32criteria WorkloadDiscoveryCriteriaEnumPossible values: [
SUBSCRIPTIONS
,REGIONS
,PROJECTS
,ZONES
,APPLICATION
]Selection criteria for workload discovery while running a TCO Assessment
details object[]
Additional Details related to respective select
id int32name 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": {
"count": 0,
"totalRecords": 0,
"criteria": "SUBSCRIPTIONS",
"details": [
{
"id": 0,
"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
count int32totalRecords int32criteria WorkloadDiscoveryCriteriaEnumPossible values: [
SUBSCRIPTIONS
,REGIONS
,PROJECTS
,ZONES
,APPLICATION
]Selection criteria for workload discovery while running a TCO Assessment
details object[]
Additional Details related to respective select
id int32name 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": {
"count": 0,
"totalRecords": 0,
"criteria": "SUBSCRIPTIONS",
"details": [
{
"id": 0,
"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
count int32totalRecords int32criteria WorkloadDiscoveryCriteriaEnumPossible values: [
SUBSCRIPTIONS
,REGIONS
,PROJECTS
,ZONES
,APPLICATION
]Selection criteria for workload discovery while running a TCO Assessment
details object[]
Additional Details related to respective select
id int32name 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": {
"count": 0,
"totalRecords": 0,
"criteria": "SUBSCRIPTIONS",
"details": [
{
"id": 0,
"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
tcoAssessmentProperties object
credentialId int32cloudConnectionId 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
count int32totalRecords int32criteria WorkloadDiscoveryCriteriaEnumPossible values: [
SUBSCRIPTIONS
,REGIONS
,PROJECTS
,ZONES
,APPLICATION
]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 floatstorageReplicationTarget floatworkloadDetails object[]
costdetails object[]
name stringvalue stringresourceDetails object[]
resourcetype stringType of the resource
count int32Number of resources of this type
resourceSize int64Sum of the size of all the resources of this type
details object[]
resourceName stringresourceProperties object[]
name stringvalue stringworkloadtype stringdiscoveredCount int32Total Count of Workload Resources
discoveredSize int64Total Size In Bytes for Discovered Resources
commvaultCost object
primarySnapshotStorageCost int64secondarySnapshotStorageCost int64asrTotalVMEnvironment int64primaryCloudStorageUsedCost int64primaryCloudStorageUsed3YCost int64secondaryCloudStorageUsedCost int64secondaryCloudStorageUsed3YCost int64protectionCost int64primaryInfraCost int64secondaryInfraCost int64dataTranmissionCost int64provider 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,
"tcoAssessmentProperties": {
"credentialId": 0,
"cloudConnectionId": 0,
"cloudConnector": "AZURE",
"authType": "CREDENTIAL_VAULT",
"discoveryCriteria": {
"count": 0,
"totalRecords": 0,
"criteria": "SUBSCRIPTIONS",
"details": [
{
"id": 0,
"name": "string",
"value": "string"
}
]
},
"assessmentConfig": {
"utilizationFactorVM": 0,
"standardRetention": 0,
"annualGrowthRate": 0,
"dailyChangeRateVM": 0,
"dailyChangeRateDB": 0,
"dailyChangeRateFO": 0,
"storageReplicationTarget": 0
},
"workloadDetails": [
{
"costdetails": [
{
"name": "string",
"value": "string"
}
],
"resourceDetails": [
{
"resourcetype": "string",
"count": 0,
"resourceSize": 0,
"details": [
{
"resourceName": "string",
"resourceProperties": [
{
"name": "string",
"value": "string"
}
]
}
]
}
],
"workloadtype": "string",
"discoveredCount": 0,
"discoveredSize": 0
}
],
"commvaultCost": {
"primarySnapshotStorageCost": 0,
"secondarySnapshotStorageCost": 0,
"asrTotalVMEnvironment": 0,
"primaryCloudStorageUsedCost": 0,
"primaryCloudStorageUsed3YCost": 0,
"secondaryCloudStorageUsedCost": 0,
"secondaryCloudStorageUsed3YCost": 0,
"protectionCost": 0,
"primaryInfraCost": 0,
"secondaryInfraCost": 0,
"dataTranmissionCost": 0
}
},
"provider": "string",
"status": "IDLE"
}
],
"errorCode": "NO_ERROR",
"errorMessage": "string"
}