Policy > Monitoring > System Health Agent > Profile

API will provide list of SHA profile.

API will provide list of SHA profile.
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/infra/sha/plugin-profiles
/policy/api/v1/global-infra/sha/plugin-profiles
Request Headers:
n/a
Query Parameters:
ShaPluginProfileListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/sha/plugin-profiles

Successful Response:

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

Example Response:

{ "sort_ascending": true, "sort_by": "display_name", "result_count": 1, "results": [ { "resource_type": "ShaPluginProfile", "id": "profile1", "display_name": "/infra/sha/plugin-profiles/profile1", "path": "/infra/sha/plugin-profiles/profile1", "parent_path": "/infra", "relative_path": "profile1", "plugin_path": "/infra/sha/pre-defined-plugins/daemon-health", "plugin_type": "PredefinedPlugin", "applied_to_group_path": "/infra/domains/d1/groups/group1", "enabled": true, "config": { "check_interval": 30, "report_interval": 180, "smallest_report_interval_if_change": 60 } "_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: