VMware Cloud Director API - FileDescriptor (extension/v1.5)

VMware Cloud Director API - FileDescriptor (extension/v1.5)

AdminFileDescriptorType

Element:
FileDescriptor (extension/v1.5)
Type:
AdminFileDescriptorType
Namespace:
http://www.vmware.com/vcloud/extension/v1.5
Description:
Represents an extension service API definition file.
Since:
5.1
Schema:
services.xsd
Media type(s):
application/vnd.vmware.admin.fileDescriptor+xml
application/vnd.vmware.admin.fileDescriptor+json
Extends:
IdentifiableResourceType
XML Representation:
<FileDescriptor 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"/>
    <Description> xs:string </Description>
    <vcloud_v1.5:File href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
</FileDescriptor>

Attributes

Attribute Type Required Modifiable Since Deprecated Description
href anyURI No always 5.1 The URI of the entity.
type string No always 5.1 The MIME type of the entity.
id string No none 5.1 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
Description string No always 5.1 Description of this extension service API definition file.
File ReferenceType No always 5.1 A reference to this extension service API definition file.
Link LinkType No none 5.1 A reference to an entity or operation associated with this object.
VCloudExtension VCloudExtensionType No always 5.1 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services.

Operations

CRUD Operation Description Since Deprecated
create POST /admin/extension/service/apidefinition/{id}/files Creates file descriptor. 5.1
read GET /admin/extension/service/file/{id} Retrieve a file descriptor 5.1
delete DELETE /admin/extension/service/file/{id} Deletes file descriptor. 5.1