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
Show optional properties
{
"name": "SDDC Interface",
"version": "1.0.0",
"vendor": "vmware",
"nss": "myCustomEntity"
}
{
"name": "SDDC Interface",
"id": "urn:vcloud:interface:vmware.sddc:1.0.0",
"version": "1.0.0",
"vendor": "vmware",
"nss": "myCustomEntity",
"readonly": false
}
Responses
201
Created
Returns
DefinedInterface
of type(s)
application/json;version=39.1
"DefinedInterface Object"
string
name
Required
name
string
id
Optional
id
string
version
Required
The interface's version. The version should follow semantic versioning rules. Versions with pre-release extension are not allowed.
string
vendor
Required
The vendor name.
string
nss
Required
A unique namespace associated with the interface.
boolean
readonly
Optional
True if the entity type cannot be modified.
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string","nss:"string","vendor:"string","version:"string"}' https://{api_host}/cloudapi/1.0.0/interfaces
Availability
Added in 35.0
Defined Interface Operations
GET
Query Interfaces
POST
Create Interface
GET
Get Interface
PUT
Update Interface
DELETE
Delete Interface