[{"label":"Latest (v37.0)","version":"latest"},{"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

Description

Creates a new logical vm group

Request

Request

URL

URL


post
https://{api_host}/cloudapi/1.0.0/logicalVmGroups
Copy

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 Optional

URN for Provider vDC.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created

Returns LogicalVmGroup of type(s) application/json;version=37.0
{
	"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 Optional

URN for Provider vDC.

No error details were provided in the OpenAPI specification.

Code Samples

Code 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.0)","version":"latest"},{"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
Feedback

Was this page helpful?