VMware · Example Payload

Vmware Createvmdisk Example

Cloud ComputingContainer ManagementHybrid CloudInfrastructureVirtualization

Vmware Createvmdisk Example is an example object payload from VMware, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "createVMDisk",
  "method": "POST",
  "path": "/vcenter/vm/{vm}/hardware/disk",
  "summary": "Vmware Add a Virtual Disk to a Vm",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "CreatevmdiskRequestExample",
      "example": {
        "type": "IDE",
        "new_vmdk": {
          "name": "Example Title",
          "capacity": 10,
          "storage_policy": {
            "policy": "example_value"
          }
        },
        "backing": {
          "type": "VMDK_FILE",
          "vmdk_file": "example_value"
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "201",
      "contentType": "application/json",
      "name": "Createvmdisk201Example",
      "example": "example_value"
    }
  ]
}