Policy > Monitoring > Capacity Dashboard

Returns warning threshold(s) set for NSX Objects.

Returns warning threshold(s) set for NSX Objects.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/capacity/threshold
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/policy/api/v1/infra/capacity/threshold

Successful Response:

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

Example Response:

{ "capacity_thresholds": [ { "threshold_type": "NUMBER_OF_PREPARED_HOSTS", "min_threshold_percentage": 70, "max_threshold_percentage": 100 }, { "threshold_type": "NUMBER_OF_FIREWALL_RULES", "min_threshold_percentage": 70, "max_threshold_percentage": 100 }, { "threshold_type": "NUMBER_OF_ACTIVE_DIRECTORY_DOMAINS", "min_threshold_percentage": 70, "max_threshold_percentage": 100 }, { "threshold_type": "NUMBER_OF_PROTECTION_ENABLED_VIRTUAL_MACHINES", "min_threshold_percentage": 70, "max_threshold_percentage": 100 }, { "threshold_type": "GLOBAL_DEFAULT", "min_threshold_percentage": 70, "max_threshold_percentage": 100 }, { "threshold_type": "NUMBER_OF_SEGMENT", "min_threshold_percentage": 70, "max_threshold_percentage": 100 }, { "threshold_type": "NUMBER_OF_GROUPS", "min_threshold_percentage": 30, "max_threshold_percentage": 50 }, { "threshold_type": "NUMBER_OF_SECURITY_POLICY_RULES", "min_threshold_percentage": 70, "max_threshold_percentage": 100 }, { "threshold_type": "NUMBER_OF_SECURITY_POLICY", "min_threshold_percentage": 70, "max_threshold_percentage": 100 }, { "threshold_type": "NUMBER_OF_SEGMENT_PORT", "min_threshold_percentage": 30, "max_threshold_percentage": 50 }, { "threshold_type": "NUMBER_OF_EDGE_NODES", "min_threshold_percentage": 70, "max_threshold_percentage": 100 }, { "threshold_type": "NUMBER_OF_TIER0_ROUTERS", "min_threshold_percentage": 70, "max_threshold_percentage": 100 }, { "threshold_type": "NUMBER_OF_FIREWALL_SECTIONS", "min_threshold_percentage": 70, "max_threshold_percentage": 100 }, { "threshold_type": "NUMBER_OF_TIER1_ROUTERS", "min_threshold_percentage": 70, "max_threshold_percentage": 100 }, { "threshold_type": "NUMBER_OF_EDGE_CLUSTERS", "min_threshold_percentage": 70, "max_threshold_percentage": 100 }, { "threshold_type": "NUMBER_OF_NAT_RULES", "min_threshold_percentage": 70, "max_threshold_percentage": 100 }, { "threshold_type": "NUMBER_OF_ACTIVE_DIRECTORY_GROUPS", "min_threshold_percentage": 70, "max_threshold_percentage": 100 }, { "threshold_type": "NUMBER_OF_VSPHERE_CLUSTERS", "min_threshold_percentage": 70, "max_threshold_percentage": 100 }, { "threshold_type": "NUMBER_OF_PREFIX_LIST", "min_threshold_percentage": 70, "max_threshold_percentage": 100 }, { "threshold_type": "NUMBER_OF_TIER1_WITH_NAT_RULE", "min_threshold_percentage": 70, "max_threshold_percentage": 100 }, { "threshold_type": "NUMBER_OF_DHCP_IP_POOLS", "min_threshold_percentage": 70, "max_threshold_percentage": 100 }, { "threshold_type": "NUMBER_OF_PROTECTION_ENABLED_HOST", "min_threshold_percentage": 70, "max_threshold_percentage": 100 } ], "resource_type": "CapacityThresholdList", "id": "CapacityThresholdIdentifier", "display_name": "CapacityThresholdIdentifier", "_create_user": "system", "_create_time": 1588972275391, "_last_modified_user": "admin", "_last_modified_time": 1588972521446, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 1 }

Required Permissions:

read

Feature:

infra_admin

Additional Errors: