VMware Cloud Director API - Vms

VMware Cloud Director API - Vms

VmsType

Element:
Vms
Type:
VmsType
Namespace:
http://www.vmware.com/vcloud/v1.5
Description:
Represents a list of virtual machines.
Since:
5.1
Schema:
vms.xsd
Media type(s):
application/vnd.vmware.vcloud.vms+json
application/vnd.vmware.vcloud.vms+xml
Extends:
ResourceType
XML Representation:
<Vms xmlns="http://www.vmware.com/vcloud/v1.5" 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"/>
    <VmReference href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
</Vms>

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.

Elements

Element Type Required Modifiable Since Deprecated Description
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.
VmReference ReferenceType No none 5.1 A reference to a virtual machine.

Operations

CRUD Operation Description Since Deprecated
read GET /disk/{id}/attachedVms Retrieve a list of all VMs attached to a disk. 5.1
as input POST /admin/extension/vmGroup/name/{groupName}/action/addVms Adds virtual machines to the specified VM group.
as input POST /admin/extension/vmGroup/name/{groupName}/action/removeVms Removes virtual machines from the specified VM group.