Create Defined Entity Type
Creates a defined entity type.
{
"id": "urn:vcloud:type:vmware:vspheresddc:1.0.0",
"name": "vspheresddc",
"description": "string",
"nss": "sddc",
"version": "1.1.0",
"inheritedVersion": "1.0.0",
"externalId": "123",
"schema": {
"application/json": {
"type": "object",
"properties": {
"rectangle": {
"$ref": "#/components/schemas/Rectangle"
}
},
"definitions": {
"size": {
"type": "number",
"minimum": 0
},
"Rectangle": {
"type": "object",
"properties": {
"a": {
"$ref": "#/components/schemas/size"
},
"b": {
"$ref": "#/components/schemas/size"
}
}
}
}
}
},
"vendor": "vmware",
"interfaces": [
"urn:vcloud:interface:vmware.sddc:1.0.0"
],
"readonly": false,
"maxImplicitRight": "urn:vcloud:accessLevel:ReadWrite"
}
The id of the defined entity type in URN format.
The name of the defined entity type.
Description of the defined entity type.
A unique namespace specific string. The combination of nss and version must be unique.
The version of the defined entity type. The combination of nss and version must be unique. The version string must follow semantic versioning rules. Versions with pre-release extension are not allowed.
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.
An external entity's id that this definition may apply to.
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.
List of interface ids that this defined entity type is referenced by.
A mapping defining which behaviors should be invoked upon specific lifecycle events, like PostCreate, PostUpdate, PreDelete, PostDelete. For example: "hooks": { "PostCreate": "urn:vcloud:behavior-interface:postCreateHook:vendorA:containerCluster:1.0.0" }
True if the entity type cannot be modified.
The maximum Type Right level that will be implied from the user's Type ACLs if this field is defined. For example, "maxImplicitRight": "urn:vcloud:accessLevel:ReadWrite" would mean that a user with RO , RW, and FC ACLs to the Type would implicitly get the "Read:
Created
{
"id": "urn:vcloud:type:vmware:vspheresddc:1.0.0",
"name": "vspheresddc",
"description": "string",
"nss": "sddc",
"version": "1.1.0",
"inheritedVersion": "1.0.0",
"externalId": "123",
"schema": {
"application/json": {
"type": "object",
"properties": {
"rectangle": {
"$ref": "#/components/schemas/Rectangle"
}
},
"definitions": {
"size": {
"type": "number",
"minimum": 0
},
"Rectangle": {
"type": "object",
"properties": {
"a": {
"$ref": "#/components/schemas/size"
},
"b": {
"$ref": "#/components/schemas/size"
}
}
}
}
}
},
"vendor": "vmware",
"interfaces": [
"urn:vcloud:interface:vmware.sddc:1.0.0"
],
"readonly": false,
"maxImplicitRight": "urn:vcloud:accessLevel:ReadWrite"
}
The id of the defined entity type in URN format.
The name of the defined entity type.
Description of the defined entity type.
A unique namespace specific string. The combination of nss and version must be unique.
The version of the defined entity type. The combination of nss and version must be unique. The version string must follow semantic versioning rules. Versions with pre-release extension are not allowed.
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.
An external entity's id that this definition may apply to.
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.
List of interface ids that this defined entity type is referenced by.
A mapping defining which behaviors should be invoked upon specific lifecycle events, like PostCreate, PostUpdate, PreDelete, PostDelete. For example: "hooks": { "PostCreate": "urn:vcloud:behavior-interface:postCreateHook:vendorA:containerCluster:1.0.0" }
True if the entity type cannot be modified.
The maximum Type Right level that will be implied from the user's Type ACLs if this field is defined. For example, "maxImplicitRight": "urn:vcloud:accessLevel:ReadWrite" would mean that a user with RO , RW, and FC ACLs to the Type would implicitly get the "Read:
Invalid configuration.
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
minorErrorCode
message
stackTrace