NSX-T Data Center Global Manager REST API
Create or update the VM tag replication policy
Create or update the VM tag replication policy.Request:
Method:
PUT
URI Path(s):
/global-manager/api/v1/global-infra/vm-tag-replication-policies/<id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
VMTagReplicationPolicy+
Example Request:
PUT https://<global-manager>/global_manager/api/v1/global-infra/vm-tag-replication-policies/policy1 { "display_name": "VMTag replication policy 1", "description": "VMTag replication policy 1", "protected_site": "/global-infra/sites/pune", "recovery_sites": [ "/global-infra/sites/london" ], "groups": [ "/global-infra/domains/d1/groups/g1", "/global-infra/domains/d2/groups/g2" ] }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
VMTagReplicationPolicy+