Get Disks for VM
Select
SaaS
Customer Managed
get the disk for the VM provided
Path Parameters
- vmGuid string required
Query Parameters
- jobid string required
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
disks object[]
{
"disks": [
{
"Datastore": "string",
"name": "string"
}
]
}
{
"Datastore": "datastore2-3",
"name": "scsi0-1-RestApiBackupVM_1.vmdk"
}
GET /v2/vsa/vm/:vmguid/disks
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/v2/vsa/vm/:vmGuid/disks' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/v2/vsa/vm/:vmGuid/disks' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/v2/vsa/vm/:vmGuid/disks' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/v2/vsa/vm/:vmGuid/disks' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/v2/vsa/vm/:vmGuid/disks' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/v2/vsa/vm/:vmGuid/disks' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/v2/vsa/vm/:vmGuid/disks' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'