VMware Cloud Director API - MediaRecord

VMware Cloud Director API - MediaRecord

QueryResultMediaRecordType

Element:
MediaRecord
Type:
QueryResultMediaRecordType
Namespace:
http://www.vmware.com/vcloud/v1.5
Description:
Type for a single media query result in records format.
Since:
1.5
Schema:
queryRecordView.xsd
Media type(s):
None
Extends:
QueryResultRecordType
XML Representation:
<MediaRecord xmlns="http://www.vmware.com/vcloud/v1.5" href="xs:anyURI" id="xs:string" type="xs:string" ownerName="xs:string"
        catalogName="xs:string" isPublished="xs:boolean" name="xs:string" description="xs:string"
        vdc="xs:string" vdcName="xs:string" org="xs:string" creationDate="xs:dateTime"
        isBusy="xs:boolean" storageB="xs:long" owner="xs:string" catalog="xs:string"
        catalogItem="xs:string" status="xs:string" storageProfileName="xs:string" version="xs:long"
        lastSuccessfulSync="xs:dateTime" appTemplateId="xs:string" appTemplateName="xs:string" appVersion="xs:string"
        chartVersion="xs:string" attached="xs:boolean" mediaType="xs:string">
    <Link href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"
            rel="xs:string" model="xs:string"/>
    <Metadata href="xs:anyURI" type="xs:string">
        <Link href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"
                rel="xs:string" model="xs:string"/>
        <MetadataEntry href="xs:anyURI" type="xs:string">
            <Link href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"
                    rel="xs:string" model="xs:string"/>
            <Domain visibility="xs:string"/>
            <Key> xs:string </Key>
            <TypedValue/>
        </MetadataEntry>
    </Metadata>
</MediaRecord>

Attributes

Attribute Type Required Modifiable Since Deprecated Description Filter Sort
href anyURI No always 1.5 Contains the URI to the resource. Yes Yes
id string No always 1.5 The resource identifier, expressed in URN format. The value of this attribute uniquely identifies the resource, persists for the life of the resource, and is never reused. Yes Yes
type string No always 1.5 Contains the type of the resource. Yes Yes
ownerName string No none 1.5 Owner name Yes Yes
catalogName string No none 1.5 Catalog name Yes Yes
isPublished boolean No none 1.5 True if this media file is in a published catalog. Yes Yes
name string No none 1.5 Media name Yes Yes
description string No none 1.5 Yes Yes
vdc string No none 1.5 VDC reference or id Yes Yes
vdcName string No none 1.5 VDC name Yes Yes
org string No none 1.5 Organization reference or id Yes Yes
creationDate dateTime No none 1.5 Creation date Yes Yes
isBusy boolean No none 1.5 True if this entity is busy Yes Yes
storageB long No none 1.5 Media storage in Bytes Yes Yes
owner string No none 1.5 Owner reference or id Yes Yes
catalog string No none 1.5 Catalog reference or id Yes Yes
catalogItem string No none 1.5 Catalog item reference or id Yes Yes
status string No none 1.5 Media status Yes Yes
storageProfileName string No none 5.1 Storage profile name Yes Yes
version long No none 30.0 Version Yes Yes
lastSuccessfulSync dateTime No none 30.0 Date of last successful sync Yes Yes
appTemplateId string No none 38.0 appTemplate id for this media item Yes Yes
appTemplateName string No none 38.0 appTemplate name for this media item Yes Yes
appVersion string No none 38.0 app version for this media item Yes Yes
chartVersion string No none 38.0 chart version for this media item if it is of helmchart type Yes Yes
attached boolean No none 38.0 true if the media is attached to any vm Yes Yes
mediaType string No none 38.0 Type of this media item Yes Yes

Elements

Element Type Required Modifiable Since Deprecated Description
Link LinkType No none 1.5 Contains a link to an operation associated with a specific relation type.
Metadata MetadataType No 5.1