NSX-T Data Center REST API

Create or update a SHA monitor profile

Create or update a SHA monitor profile.
This API is available when using VMware NSX or VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers).

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/sha/monitors/{monitor-id}/profiles/{monitor-profile-id}
Request Headers:
n/a
Query Parameters:
ShaMonitorProfileUpdateParameters+
Request Body:
ShaMonitorProfile+

Example Request:

{ "applied_to_group_path": "/infra/domains/default/groups/81422b9c-a416-4624-802b-a3132bd35f51", "configs": { "check_interval": 300, "resource_type": "ShaEsxObsrvStatsMonitorConfig", "enable": true }, "sub_monitor_configs": [ { "resource_type": "ShaEsxObsrvDatapathTrafficStatsMonitorConfig", "enable": false } ] }

Successful Response:

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

Required Permissions:

crud

Feature:

policy_ops

Additional Errors: