You can use the vRealize Automation REST API catalog service to construct a JSON file for use in a command line vCloud Air machine request.

Prerequisites

JSON Input File

Use the following JSON input file sample when constructing a file.

{
   "@type": "CatalogItemRequest",
   "catalogItemRef": {
      "id": "c2cacf7c-b3c8-47fb-a938-2c09910b6713"
   },
   "organization": {
      "tenantRef": "abx",
      "subtenantRef": "43a2f89a-c04e-4941-abc5-b4dc68a2810d"
   },
   "requestedFor": "Auto.admin@abx.local",
   "state": "SUBMITTED",
   "requestNumber": 0,
   "requestData": {
      "entries": [
         {
            "key": "provider-blueprintId",
            "value": {
               "type": "string",
               "value": "46548940-eb20-4368-9e73-c1685cda8c64"
            }
         },
         {
            "key": "provider-provisioningGroupId",
            "value": {
               "type": "string",
               "value": "43a2f89a-c04e-4941-abc5-b4dc68a2810d"
            }
         },
         {
            "key": "requestedFor",
            "value": {
               "type": "string",
               "value": "Auto.admin@abx.local"
            }
         },
         {
            "key": "provider-VirtualMachine.LeaseDays",
            "value": {
               "type": "integer",
               "value": 2
            }
         },
         {
            "key": "provider-__Notes",
            "value": {
               "type": "string",
               "value": "A simple vCD provisioning scenario."
            }
         },
         {
            "key": "provider-ASCT-1.VirtualMachine.CPU.Count",
            "value": {
               "type": "string",
               "value": "1"
            }
         },
         {
            "key": "provider-ASCT-1.VirtualMachine.Memory.Size",
            "value": {
               "type": "string",
               "value": "1"
            }
         },
         {
            "key": "provider-ASCT-1.__Notes",
            "value": {
               "type": "string",
               "value": ""
            }
         },
         {
            "key": "provider-ASCT-1.VirtualMachine.Disk0.Size",
            "value": {
               "type": "string",
               "value": "1"
            }
         },
         {
            "key": "provider-ASCT-1.VirtualMachine.Disk0.Letter",
            "value": {
               "type": "string",
               "value": "c"
            }
         },
         {
            "key": "provider-__MultiMachine.Provision.NumberOfInstances",
            "value": {
               "type": "string",
               "value": "<ArrayOfKeyValueOfintint xmlns:i=\\\"http://www.w3.org/2001/XMLSchema-instance\\\" xmlns=\\\"http://schemas.microsoft.com/2003/10/Serialization/Arrays\\\">\r\n  <KeyValueOfintint>\r\n    <Key>1<\/Key>\r\n    <Value>1<\/Value>\r\n  <\/KeyValueOfintint>\r\n<\/ArrayOfKeyValueOfintint>"
            }
         },
         {
            "key": "provider-__requested_allocation_type",
            "value": {
               "type": "string",
               "value": "2"
            }
         },
         {
            "key": "provider-Cafe.Shim.VirtualMachine.TotalStorageSize",
            "value": {
               "type": "decimal",
               "value": 0
            }
         },
         {
            "key": "provider-Cafe.Shim.VirtualMachine.Description",
            "value": {
               "type": "string",
               "value": "A simple vApp provisioning scenario."
            }
         },
         {
            "key": "provider-Cafe.Shim.VirtualMachine.NumberOfInstances",
            "value": {
               "type": "integer",
               "value": 1
            }
         },
         {
            "key": "provider-Cafe.Shim.VirtualMachine.Reason",
            "value": {
               "type": "string",
               "value": "Requesting a vApp."
            }
         },
         {
            "key": "provider-Cafe.Shim.VirtualMachine.AssignToUser",
            "value": {
               "type": "string",
               "value": "Auto.admin@abx.local"
            }
         },
         {
            "key": "provider-Cafe.Shim.VirtualMachine.MinCost",
            "value": {
               "type": "string",
               "value": "4.0000000000"
            }
         },
         {
            "key": "provider-Cafe.Shim.VirtualMachine.MaxCost",
            "value": {
               "type": "string",
               "value": "4.0000000000"
            }
         },

{
            "key": "provider-Cafe.Shim.VirtualMachine.ProvisionInto",
            "value": {
               "type": "string",
               "value": "2"
            }
         },
         {
            "key": "description",
            "value": {
               "type": "string",
               "value": "A simple vApp provisioning scenario."
            }
         },
         {
            "key": "reasons",
            "value": {
               "type": "string",
               "value": "Requesting a vApp."
            }
         }
      ]
   }
}