Returns the specified virtual machine
GEThttps://api.spectrocloud.com/v1/cloudconfigs/virtual/:configUid/machinePools/:machinePoolName/machines/:machineUid
Returns the specified virtual machine
Request
Path Parameters
configUid stringrequired
Cluster's cloud config uid
machinePoolName stringrequired
Machine pool name
machineUid stringrequired
Machine uid
Header Parameters
ProjectUid string
A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources
Responses
- 200
OK
- application/json
- Schema
- Example (auto)
Schema
kindstring
metadata object
spec object
status object
{
"kind": "string",
"metadata": {
"annotations": {},
"creationTimestamp": "2024-07-29T15:51:28.071Z",
"deletionTimestamp": "2024-07-29T15:51:28.071Z",
"labels": {},
"lastModifiedTimestamp": "2024-07-29T15:51:28.071Z",
"name": "string",
"uid": "string"
},
"spec": {
"hostname": "string"
},
"status": {
"health": {
"conditions": [
{
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"lastHeartBeatTimestamp": "2024-07-29T15:51:28.071Z",
"state": "string"
},
"instanceState": "Pending",
"maintenanceStatus": {
"action": "string",
"message": "string",
"state": "string"
}
}
}
Authorization: ApiKey
name: ApiKeytype: apiKeydescription: API key authorization where API key can be generated from Palette console under Profile > My API Keysin: header
- curl
- python
- go
- nodejs
- java
- CURL
curl -L 'https://api.spectrocloud.com/v1/cloudconfigs/virtual/:configUid/machinePools/:machinePoolName/machines/:machineUid' \
-H 'Accept: application/json' \
-H 'ApiKey: <ApiKey>'