Policy > Monitoring > System Health Agent > Profile

API will provide list of Sha pre-defined list.

API will provide list of Sha dynamic plugins.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/global-infra/sha/pre-defined-plugins
/policy/api/v1/infra/sha/pre-defined-plugins
Request Headers:
n/a
Query Parameters:
ShaPredefinedPluginListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/sha/pre-defined-plugins

Successful Response:

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

Example Response:

{ "sort_ascending": true, "sort_by": "display_name", "result_count": 1, "results": [ { "resource_type": "ShaPredefinedPlugin", "id": "6837ba7a-39cd-11eb-9f83-020068594730", "display_name": "System stats monitor plugin", "path": /infra/sha/pre-defined-plugins/6837ba7a-39cd-11eb-9f83-020068594730", "parent_path": "/infra", "unique_id" : "88bf7bb8-02d6-4e93-8101-9f71841c5dfc" "relative_path": "88bf7bb8-02d6-4e93-8101-9f71841c5dfc", "enabled": true, "config": { "check_interval": 20 }, "node_type":[ "NSX-EDGE", "NSX-MANAGER" ], "_create_user": "admin", "_create_time": 1517354268091, "_last_modified_user": "admin", "_last_modified_time": 1517354315280, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 1 } ] }

Required Permissions:

read

Feature:

policy_ops

Additional Errors: