Get Machine Disks

Get Machine Disks

Get all machine disks

Request
URI
GET
https://api.mgmt.cloud.vmware.com//iaas/api/machines/{id}/disks
COPY
Path Parameters
string
id
Required

The ID of the machine.

Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about


Responses
200

successful operation

Returns BlockDeviceResult of type(s) */*
{
    "numberOfElements": 1,
    "content": [
        {
            "owner": "[email protected]",
            "externalZoneId": "us-east-1a",
            "externalRegionId": "us-east-1",
            "description": "my-description",
            "externalId": "i-cfe4-e241-e53b-756a9a2e25d2",
            "orgId": "9e49",
            "tags": [
                {
                    "value": "string",
                    "key": "string"
                }
            ],
            "organizationId": "deprecated",
            "capacityInGB": 10,
            "createdAt": "2012-09-27",
            "cloudAccountIds": [
                "string"
            ],
            "deploymentId": "123e4567-e89b-12d3-a456-426655440000",
            "name": "my-name",
            "id": "9e49",
            "persistent": true,
            "projectId": "9e49",
            "updatedAt": "2012-09-27",
            "status": "ATTACHED"
        }
    ],
    "totalElements": 1
}
integer As int64 As int64
numberOfElements
Optional

Number of elements in the current page

content
Optional

List of content items

integer As int64 As int64
totalElements
Optional

Total number of elements. In some cases the field may not be populated


403

Forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure