VMware Cloud Director API - CloneMediaParams

VMware Cloud Director API - CloneMediaParams

CloneMediaParamsType

Element:
CloneMediaParams
Type:
CloneMediaParamsType
Namespace:
http://www.vmware.com/vcloud/v1.5
Description:
Parameters required by a cloneMedia request.
Since:
0.9
Schema:
media.xsd
Media type(s):
application/vnd.vmware.vcloud.cloneMediaParams+json
application/vnd.vmware.vcloud.cloneMediaParams+xml
Extends:
ParamsType
XML Representation:
<CloneMediaParams xmlns="http://www.vmware.com/vcloud/v1.5" name="xs:string">
    <Description> xs:string </Description>
    <Source href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
    <IsSourceDelete> xs:boolean </IsSourceDelete>
    <VdcStorageProfile href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
</CloneMediaParams>

Attributes

Attribute Type Required Modifiable Since Deprecated Description
name string No always 0.9 Typically used to name or identify the subject of the request. For example, the name of the object being created or modified.

Elements

Element Type Required Modifiable Since Deprecated Description
Description string No always 0.9 Optional description.
IsSourceDelete boolean No always 1.0 A value of true deletes the Source object after successful completion of the copy operation. Defaults to false if empty or missing.
Source ReferenceType Yes always 0.9 Reference to a media object to copy.
VCloudExtension VCloudExtensionType No always 0.9 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services.
VdcStorageProfile ReferenceType No always 5.1 A reference to a storage profile to be used for this object. The specified storage profile must exist in the organization vDC that contains the object. If not specified, the default storage profile for the vDC is used.

Operations

CRUD Operation Description Since Deprecated
as input POST /vdc/{id}/action/cloneMedia Create a copy of a media object. 0.9