Retrieve an existing VM
Retrieve details about an existing VM by its ID.
Authorization
AuthorizationRequiredBearer <token>OAuth Authentication
OpenScaler API uses OAuth, a standard for secure authorization. To access the API, obtain a token via the OpenScaler Platform.
Use the access_token in the Authorization header for requests:
Always keep your token secure and do not share it with anyone.
In: header
Path Parameters
vm_idRequiredstringA unique identifier for a VM instance.
Query Parameters
onlyarray<string>request specific information only, if not send all by default :
basic: request basic information only (ex: id, name, etc.). Note that this info is always present no matter the request.state: request domain state (ex: running, paused, etc.)disks: request attached disks informationnetwork: request network information
VM info, Can contain any (or all) of the variants mentioned below Depending on requested data.