NSX-T Data Center REST API
VirtualMachineTagsUpdate (type)
{ "additionalProperties": false, "description": "List of tags applied to the virtual machine. Based on the enforcement point, the virtual_machine_id will be different. It could be an external id for NSX T or a moid for NSX V", "id": "VirtualMachineTagsUpdate", "module_id": "PolicyRealizedState", "properties": { "tags": { "description": "List of tags to be applied on the virtual machine", "help_detail": "The list includes both user defined and system defined tags. The\nexisting tags will be replaced by the ones passed.\n", "items": { "$ref": "Tag }, "required": true, "title": "List of tags to be applied to the virtual machine", "type": "array" }, "virtual_machine_id": { "description": "The identifier that is used in the enforcement point that uniquely identifies the virtual machine. In case of NSXT it would be the value of the external_id of the virtual machine.", "required": true, "title": "This is the value of the identifier on the enforcement point that\nuniquely identifies the virtual machine\n", "type": "string" } }, "title": "Payload to update the tags on a Virtual Machine", "type": "object" }