VMware Cloud Community
spride
Enthusiast
Enthusiast
Jump to solution

vRA 6.2 REST API: CatalogItemRequest - number of machines?

I started looking into the vRA REST API for 6.2 and am able to successfully provision a machine using the CatalogRequestItem type.  However, I can only request one machine at a time.  Is there a parameter (or property value) that can be added to the request to specify the number of machines to request?  Or is there another API call to do this?  Thanks.

0 Kudos
1 Solution

Accepted Solutions
GrantOrchardVMw
Commander
Commander
Jump to solution

Take a loot at the following post. Add this to your JSON blob (where value is the number of instances you want to deploy).

  {
    "key" : "provider-Cafe.Shim.VirtualMachine.NumberOfInstances",
    "value" : {
      "type" : "integer",
      "value" : 2
    }
  }

Grant

Grant http://grantorchard.com

View solution in original post

0 Kudos
2 Replies
GrantOrchardVMw
Commander
Commander
Jump to solution

Take a loot at the following post. Add this to your JSON blob (where value is the number of instances you want to deploy).

  {
    "key" : "provider-Cafe.Shim.VirtualMachine.NumberOfInstances",
    "value" : {
      "type" : "integer",
      "value" : 2
    }
  }

Grant

Grant http://grantorchard.com
0 Kudos
spride
Enthusiast
Enthusiast
Jump to solution

Nice.  That was it, Grant.  Much appreciated!!

0 Kudos