Create Interface

Create Interface
Creates a defined 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
}
Authentication
This operation uses the following authentication methods.
Responses
201

Created

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

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