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. | |
name | string | Yes | always | 5.1 | The name of the entity. |
Elements
Element | Type | Required | Modifiable | Since | Deprecated | Description |
---|---|---|---|---|---|---|
Description | string | No | always | 5.1 | Optional description. | |
Link | LinkType | No | none | 5.1 | A reference to an entity or operation associated with this object. | |
MimeType | string | No | none | 5.1 | The MIME type for extension service resources of this resource class. Must be <=128 characters. | |
Nid | string | No | none | 5.1 | The Namespace Identifier for resources of this type, as specified in RFC2141. Must be <=255 characters. | |
ResourceClassActions | ResourceClassActionsType | No | always | 5.1 | Container for values used to create resource class actions defined for this resource class. | |
ServiceResources | ServiceResourcesType | No | always | 5.1 | Container for values used to create service resources defined by this extension service. | |
Tasks | TasksInProgressType | No | none | 5.1 | A list of queued, running, or recently completed tasks associated with this entity. | |
UrlTemplate | string | No | none | 5.1 | A template for constructing the href attribute value for resources of this class. Can be any URI, and can include the variables {baseUri} and {resourceId}. When constructing the href value, vCloud Director replaces {baseUri} with the vCloud Director REST API base URL, and replaces {resourceId} the UUID portion of the resource id. Must be <=1024 characters. | |
UrnPattern | string | No | none | 5.1 | The Namespace Specific String for resources of this type, as specified in RFC2141. Can be a string or a named regular expression, where (?<id>) matches the resource identifier. Must be <=255 characters. | |
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/{id}/resourceclasses | Registers resource class for extension service. | ||
read | GET /admin/extension/service/resourceclass/{id} | Retrieve (GET) resource class info | ||
delete | DELETE /admin/extension/service/resourceclass/{id} | Deletes (DELETE) resource class |