Apply Tags To Enforcement Point VM
DescriptionAllows an admin to apply multiple tags to a virtual machine. This operation does not store the intent on the policy side. It applies the tag directly on the specified enforcement point. This operation will replace the existing tags on the virtual machine with the ones that have been passed. If the application of tag fails on the enforcement point, then an error is reported. The admin will have to retry the operation again. Policy framework does not perform a retry. Failure could occur due to multiple reasons. For e.g enforcement point is down, Enforcement point could not apply the tag due to constraints like max tags limit exceeded, etc.
Request
URLURL
Path Parameters
Path Parameters
Request Body
{
"tags": [
{}
],
"virtual_machine_id": "string"
}
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.
Authentication
Errors
Errors
Bad Request
Forbidden
Not Found
Precondition Failed
Internal Server Error
Service Unavailable
Code Samples
cURL Command
Vendor Extensions
x-vmw-doc-operation: apply-tags-to-enforcement-point-vm
x-vmw-nsx-module: PolicyRealizedState