Skip to main content

Get list of corresponding subscriptions/regions for a given account

Select

SaaS
Customer Managed

Get list of corresponding subscriptions/regions for a given account

Query Parameters
  • credentialId integer

    Credential Id of User Selected Credential

  • authType string

    Authentication Type

  • pageSize integer

    Page size when returning the list

  • offset integer

    offset to start the result list

  • discoverProvider boolean

    Enforce to get data from Provider

Responses

OK


Schema
  • credentialId object[]
  • id int32
  • name string
  • refreshToken TCORefreshToken
  • RefreshTokenId int32

    Refresh Token ID

  • RefreshToken string

    Refresh Token

  • Provider string

    Cloud Provider name

  • ErrorMesage string

    Error message while saving/validating refresh token

  • ErrorCode int32

    Error code while saving/validating refresh token

  • discoveryCriteria object

    Model for Workload Discovery Selector Object

  • count int32
  • totalRecords int32
  • criteria WorkloadDiscoveryCriteriaEnum

    Possible 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 int32
  • name string
  • value 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
GET /asset/discovery/criteria    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
credentialId — query
authType — query
pageSize — query
offset — query
discoverProvider — query
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Asset/Discovery/Criteria' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'