You can display information about available resources, such as storage and network information, for a vCloud reservation by using the reservation service.

Prerequisites

Procedure

Display information about available resources, such as storage and network information.
curl --insecure -H "Accept:application/json" 
-H "Authorization: Bearer $token" 
https://$host/reservation-service/api/data-service/schema/Infrastructure.Reservation.Cloud.vCloud/default/reservationStorages/values  -d “

The following JSON output is returned based on the command input.

{
  "values": [
    {
      "underlyingValue": {
        "type": "complex",
        "componentTypeId": "com.mycompany.csp.iaas.blueprint.service",
        "componentId": null,
        "classId": "Infrastructure.Reservation.Storage",
        "typeFilter": null,
        "values": {
          "entries": [
            {
              "key": "computeResourceStorageTotalSizeGB",
              "value": {
                "type": "integer",
                "value": 1000
              }
            },
            {
              "key": "storagePath",
              "value": {
                "type": "entityRef",
                "componentId": null,
                "classId": "Storage",
                "id": "f4df029b-d475-4f85-ab42-05bddde3f667",
                "label": "Low Performance Storage"
              }
            },
            {
              "key": "computeResourceStorageFreeSizeGB",
              "value": {
                "type": "integer",
                "value": 954
              }
            }
          ]
        }
      },
      "label": "Low Performance Storage"
    },
    {
      "underlyingValue": {
        "type": "complex",
        "componentTypeId": "com.mycompany.csp.iaas.blueprint.service",
        "componentId": null,
        "classId": "Infrastructure.Reservation.Storage",
        "typeFilter": null,
        "values": {
          "entries": [
            {
              "key": "computeResourceStorageTotalSizeGB",
              "value": {
                "type": "integer",
                "value": 1000
              }
            },
            {
              "key": "storagePath",
              "value": {
                "type": "entityRef",
                "componentId": null,
                "classId": "Storage",
                "id": "e655aa78-e5fb-4722-9e8a-0cd4139248cf",
                "label": "High Performance Storage"
              }
            },
            {
              "key": "computeResourceStorageFreeSizeGB",
              "value": {
                "type": "integer",
                "value": 691
              }
            }
          ]
        }
      },
      "label": "High Performance Storage"
    }
  ]
}