Create Interface

Create Interface

Creates a defined interface. The version must follow semantic versioning rules.

Request
URI
POST
https://{api_host}/cloudapi/1.0.0/interfaces
COPY
Request Body
DefinedInterface of type(s) application/json
Optional
{
    "name": "SDDC Interface",
    "id": "urn:vcloud:interface:vmware.sddc:1.0.0",
    "version": "1.0.0",
    "vendor": "vmware",
    "nss": "myCustomEntity",
    "readonly": false
}
string
name
Optional

name

string
id
Optional

id

string
version
Optional

The interface's version. The version should follow semantic versioning rules. Versions with pre-release extension are not allowed.

string
vendor
Optional

The vendor name.

string
nss
Optional

A unique namespace associated with the interface.

boolean
readonly
Optional

True if the entity type cannot be modified.

Authentication
This operation uses the following authentication methods.
Responses
201

Created

Returns DefinedInterface of type(s) application/json;version=37.1
{
    "name": "SDDC Interface",
    "id": "urn:vcloud:interface:vmware.sddc:1.0.0",
    "version": "1.0.0",
    "vendor": "vmware",
    "nss": "myCustomEntity",
    "readonly": false
}
string
name
Optional

name

string
id
Optional

id

string
version
Optional

The interface's version. The version should follow semantic versioning rules. Versions with pre-release extension are not allowed.

string
vendor
Optional

The vendor name.

string
nss
Optional

A unique namespace associated with the interface.

boolean
readonly
Optional

True if the entity type cannot be modified.