[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Create Logical VM Group
DescriptionCreates a new logical vm group
Request
URLURL
https://{api_host}/cloudapi/1.0.0/logicalVmGroups
Request Body
Request Body
LogicalVmGroup
of type(s) application/json
Required
{
"name": "string"
}
string
name
Required
Display name.
string
description
Optional
string
id
Optional
UUID for LogicalVmGroup. This is immutable.
array of
EntityReference
namedVmGroupReferences
Optional
List of named vm groups associated with logical vm group.
string
pvdcId
Changed
Optional
URN for Provider vDC.
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
201 Created
Returns
LogicalVmGroup
of type(s) application/json;version=36.3
{
"description": "string",
"id": "string",
"name": "string",
"namedVmGroupReferences": [
{
"id": "string",
"name": "string"
}
],
"pvdcId": "string"
}
string
name
Required
Display name.
string
description
Optional
string
id
Optional
UUID for LogicalVmGroup. This is immutable.
array of
EntityReference
namedVmGroupReferences
Optional
List of named vm groups associated with logical vm group.
string
pvdcId
Changed
Optional
URN for Provider vDC.
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"description":"string","id":"string","name":"string","namedVmGroupReferences":[{"id":"string","name":"string"}],"pvdcId":"string"}' https://{api_host}/cloudapi/1.0.0/logicalVmGroups
[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Availability
Added in 32.0