Virtual machine tagging functionality.
This resource represents a method in which to create a new set of tags for a specific VM.
Resource URI::
/rest/hosting/vm/<UUID>/tag/
Create a new set of tags for a virtual machine by submitting an HTTP PUT request. The tag parameter is a comma-separated list of tag names. The UUID in the resource URI should be the UUID of the target virtual machine.
Note
This resource requires create permission on the elastic_hosting extension module.
| Parameter: | tag – The comma-separated list of tags to create. |
|---|---|
| Return type: | tag.RepTag |
See also
This resource represents a specific tag for a target virtual machine referenced by tag name.
Resource URI::
/rest/hosting/vm/<UUID>/tag/<NAME>/
Delete the specified tag from the target virtual machine. The NAME in the resource URI should be the name of the tag to delete. The UUID in the resource URI should be the UUID of the target virtual machine.
Note
This resource requires create permission on the elastic_hosting extension module.
| Return type: | tag.RepTagList |
|---|
See also
This class represents a list of tags. Repending on the resource URI, this can either be a list of all VM tags, or a list of tags belonging to a particular virtual machine.
Resource URI::
/rest/hosting/vm/tag/list/
/rest/hosting/vm/<UUID>/tag/list/
Retrieve a list of virtual machine tags.
Note
This resource requires read permission on the elastic_hosting extension module.
| Return type: | tag.RepTagList |
|---|
This is a representation of a set of tags that have just been created.
Representation:
{"errno":response.errno,
"message":response.message,
"tags": [tag1, tag2]}
This is a representation of a set of tags.
Representation:
{"errno":response.errno,
"message":response.message,
"tags": [tag1, tag2]}