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
- 200
Success
- application/json
- Schema
- Example (from schema)
Schema
error object
instances object[]
{
"error": {
"errorMessage": "string",
"errorCode": 0
},
"instances": [
{
"projectName": "string",
"instanceName": "string",
"displayName": "string"
}
]
}
GET /v4/gcpspanner/instances
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://localhost/webconsole/api/V4/GCPSpanner/instances' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/GCPSpanner/instances' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/GCPSpanner/instances' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/GCPSpanner/instances' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/GCPSpanner/instances' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/GCPSpanner/instances' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/GCPSpanner/instances' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'