NSX-T Data Center REST API

Get the VM tag replication policy specified by id

Get the VM tag replication policy specified by id.

Request:

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

Example Request:

GET https://<global-manager>/global_manager/api/v1/global-infra/vm-tag-replication-policies/policy1

Successful Response:

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

Example Response:

{ "display_name": "VMTag replication policy 1", "description": "VMTag replication policy 1", "protected_site": "/global-infra/sites/pune", "recovery_sites": [ "/global-infra/sites/london" ], "vm_match_criteria": "MATCH_NSX_ATTACHMENT_ID", "groups": [ "/global-infra/domains/d1/groups/g1", "/global-infra/domains/d2/groups/g2" ], "id": "policy1", "path": "/global-infra/vm-tag-replication-policies/policy1", "_revision": 2 }

Required Permissions:

read

Feature:

site_admin

Additional Errors: