Policy > Infra > Tags

Get details of tag bulk operation request

Get details of tag bulk operation request with which tag is applied or removed
on virtual machines.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tags/tag-operations/<operation-id>
/policy/api/v1/global-infra/tags/tag-operations/<operation-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tags/tag-operations/win-vm-update

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
TagBulkOperation+

Example Response:

{ "tag": { "scope": "os", "tag": "windows" }, "apply_to": [ { "resource_type": "VirtualMachine", "resource_ids": [ "ee98a906-7b84-42ae-9413-d812cdb64543" ] } ], "remove_from":[ { "resource_type": "VirtualMachine", "resource_ids": [ "564d8b81-983d-b8ef-686b-161205939c58" ] } ], "resource_type": "TagBulkOperation", "id": "win-vm-update", "display_name": "win-vm-update", "path": "/infra/tags/tag-operations/win-vm-update", "relative_path": "win-vm-update", "parent_path": "/infra/tags/tag-operations", "marked_for_delete": false, "_create_user": "admin", "_create_time": 1544641564432, "_last_modified_user": "admin", "_last_modified_time": 1544641564432, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

policy_vm_vm_tags

Additional Errors: