Skip to main content

To get the list of instances for GCP

To get the list of instances for GCP

Query Parameters
  • cloudAccountId int32 required

    the google cloud hypervisor account id

Responses

Success


Schema
  • error object
  • errorMessage string
  • errorCode int32
  • instances object[]
  • projectName string

    google cloud project the instance belongs to

  • instanceName string

    the google spanner instance name

  • displayName string

    Returns the name to be displayed on UI in the format: instanceName [projectName]

GET /v4/gcpspanner/instances    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://localhost/webconsole/api
token
cloudAccountId — query required
curl -L -X GET 'https://localhost/webconsole/api/V4/GCPSpanner/instances' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'