[{"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 Custom Entity Type

Description

Creates a new custom entity type

Request

Request

URL

URL


post
https://{api_host}/cloudapi/customEntityTypes
Copy

Request Body

Request Body

CustomEntityType of type(s) application/json Required
{
	"description": "string",
	"id": "string",
	"name": "string",
	"nss": "string",
	"providerScoped": false,
	"publishAll": false,
	"tenantScoped": false,
	"vroDynamicType": "string",
	"vroId": "string"
}
string
description Optional

string
id Optional

UUID for custom entity type. This is immutable.


string
name Optional

Display name.


string
nss Optional

This refers to a unique namespace specific string.


boolean
providerScoped Optional

boolean
publishAll Optional

Read-only value indicating publishAll state


boolean
tenantScoped Optional

string
vroDynamicType Optional

This refers to VRO’s dynamic type.


string
vroId Optional
Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created

Returns CustomEntityType of type(s) application/json;version=36.3
{
	"description": "string",
	"id": "string",
	"name": "string",
	"nss": "string",
	"providerScoped": false,
	"publishAll": false,
	"tenantScoped": false,
	"vroDynamicType": "string",
	"vroId": "string"
}
string
description Optional

string
id Optional

UUID for custom entity type. This is immutable.


string
name Optional

Display name.


string
nss Optional

This refers to a unique namespace specific string.


boolean
providerScoped Optional

boolean
publishAll Optional

Read-only value indicating publishAll state


boolean
tenantScoped Optional

string
vroDynamicType Optional

This refers to VRO’s dynamic type.


string
vroId Optional

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","nss":"string","providerScoped":false,"publishAll":false,"tenantScoped":false,"vroDynamicType":"string","vroId":"string"}' https://{api_host}/cloudapi/customEntityTypes


[{"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?