DefinedEntityType
Describes what a defined entity type should look like.
Properties
Description of the defined entity type.
An external entity’s id that this definition may apply to.
A mapping defining which behaviors should be invoked upon specific lifecycle events, like PostCreate, PostUpdate, PreDelete. For example: “hooks”: { “PostCreate”: “urn:vcloud:behavior-interface:postCreateHook:vendorA:containerCluster:1.0.0” }
The id of the defined entity type in URN format.
To be used when creating a new version of a defined entity type. Specifies the version of the type that will be the template for the authorization configuration of a the new version. The Type ACLs and the access requirements of the Type Behaviors of the new version will be copied from those of the inherited version. If the value of this property is ‘0’, then the new type version will not inherit another version and will have the default authorization settings, just like the first version of a new type.
List of interface ids that this defined entity type is referenced by.
The name of the defined entity type.
A unique namespace specific string. The combination of nss and version must be unique.
True if the entity type cannot be modified.
The JSON-Schema valid definition of the defined entity type. If no JSON Schema version is specified, version 4 will be assumed.
The vendor name.
The version of the defined entity type. The combination of nss and version must be unique. The version string must follow semantic versioning rules.
JSON Example
{
"externalId": "123",
"id": "urn:vcloud:type:vmware:vspheresddc:1.0.0",
"inheritedVersion": "1.0.0",
"interfaces": [
"urn:vcloud:interface:vmware.sddc:1.0.0"
],
"name": "vspheresddc",
"nss": "sddc",
"readonly": false,
"schema": {
"application/json": {
"definitions": {
"Rectangle": {
"properties": {
"a": {
"$ref": "#/definitions/size"
},
"b": {
"$ref": "#/definitions/size"
}
},
"type": "object"
},
"size": {
"minimum": 0,
"type": "number"
}
},
"properties": {
"rectangle": {
"$ref": "#/definitions/Rectangle"
}
},
"type": "object"
}
},
"vendor": "vmware",
"version": "1.1.0"
}
Availability
Property Of
InlineDefinedEntityTypes1
Parameter To
Create Defined Entity Type
Update Defined Entity Type
Returned By
Create Defined Entity Type
Get Defined Entity Type
Update Defined Entity Type