VMware Cloud Director API - ObjectExtension

VMware Cloud Director API - ObjectExtension

ObjectExtensionType

Element:
ObjectExtension
Type:
ObjectExtensionType
Namespace:
http://www.vmware.com/vcloud/extension/v1.5
Description:
Represents a registered object extension.
Since:
16.0
Schema:
objectExtensibility.xsd
Media type(s):
application/vnd.vmware.admin.extensibility.object+json
application/vnd.vmware.admin.extensibility.object+xml
Extends:
IdentifiableResourceType
XML Representation:
<ObjectExtension xmlns="http://www.vmware.com/vcloud/extension/v1.5" xmlns:vcloud_v1.5="http://www.vmware.com/vcloud/v1.5" href="xs:anyURI" type="xs:string" id="xs:string" operationKey="xs:string">
    <vcloud_v1.5:Link href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"
            rel="xs:string" model="xs:string"/>
    <Namespace> xs:string </Namespace>
    <Enabled> xs:boolean </Enabled>
    <Exchange> xs:string </Exchange>
    <ContentType> xs:string </ContentType>
    <Vendor> xs:string </Vendor>
    <Selectors>
        <Selector name="ObjectExtensionType/Selectors/Selector/name"/>
    </Selectors>
</ObjectExtension>

Attributes

Attribute Type Required Modifiable Since Deprecated Description
href anyURI No always 16.0 The URI of the entity.
type string No always 16.0 The MIME type of the entity.
id string No none 16.0 The entity identifier, expressed in URN format. The value of this attribute uniquely identifies the entity, persists for the life of the entity, and is never reused.
operationKey string No create 5.1 Optional unique identifier to support idempotent semantics for create and delete operations.

Elements

Element Type Required Modifiable Since Deprecated Description
ContentType string Yes always 16.0 AMQP message body content type used. Supported values are: XML JSON Defaults to XML if none is specified.
Enabled boolean Yes always 16.0 True if this extension service is enabled.
Exchange string Yes always 16.0 AMQP exchange that messages for this extension service are published to.
Link LinkType No none 16.0 A reference to an entity or operation associated with this object.
Namespace string Yes always 16.0 Extension service namespace. Must be unique among all registered services.
Selectors ObjectExtensionType/Selectors Yes always 16.0 A list of selector URNs associated with this Object Extension. Currently supported selectors are:
urn:selector:providerVdc
urn:selector:organizationVdc
urn:selector:organization
urn:selector:catalog
VCloudExtension VCloudExtensionType No always 16.0 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services.
Vendor string Yes always 16.0 Extension service vendor name.

Operations

CRUD Operation Description Since Deprecated
create POST /admin/extension/object Registers a new object extension 16.0
read GET /admin/extension/object/{id} Retrieves a registered object extension. 16.0
update PUT /admin/extension/object/{id} Updates a registered object extension. 16.0
delete DELETE /admin/extension/object/{id} Deletes a registered object extension with specified ID. 16.0