NSX-T Data Center REST API

PolicyCapacityDashboardUsage (type)

{
  "id": "PolicyCapacityDashboardUsage",
  "module_id": "PolicyCapacityDashboard",
  "properties": {
    "current_usage_count": {
      "description": "Indicate the current usage count of object type.",
      "required": true,
      "title": "Current usage count of object type",
      "type": "integer"
    },
    "current_usage_percentage": {
      "description": "Current usage percentage for object type",
      "required": true,
      "title": "Current usage percentage",
      "type": "number"
    },
    "display_name": {
      "description": "Display name for NSX object type.",
      "required": true,
      "title": "User friendly name for object type",
      "type": "string"
    },
    "max_supported_count": {
      "description": "This is the maximum supported count for object type in consideration.",
      "required": true,
      "title": "Maximum supported count for object type",
      "type": "integer"
    },
    "usage_type": {
      "description": "Indicate the object type for which usage is calculated.",
      "enum": [
        "NUMBER_OF_VSPHERE_CLUSTERS",
        "NUMBER_OF_PREPARED_HOSTS",
        "NUMBER_OF_GROUPS",
        "NUMBER_OF_SEGMENT",
        "NUMBER_OF_SEGMENT_PORT",
        "NUMBER_OF_FIREWALL_RULES",
        "NUMBER_OF_FIREWALL_SECTIONS",
        "NUMBER_OF_SECURITY_POLICY_RULES",
        "NUMBER_OF_SECURITY_POLICY",
        "NUMBER_OF_PROTECTION_ENABLED_HOST",
        "NUMBER_OF_PROTECTION_ENABLED_VIRTUAL_MACHINES",
        "NUMBER_OF_EDGE_CLUSTERS",
        "NUMBER_OF_EDGE_NODES",
        "NUMBER_OF_TIER0_ROUTERS",
        "NUMBER_OF_TIER1_ROUTERS",
        "NUMBER_OF_PREFIX_LIST",
        "NUMBER_OF_NAT_RULES",
        "NUMBER_OF_DHCP_IP_POOLS",
        "NUMBER_OF_TIER1_WITH_NAT_RULE"
      ],
      "required": true,
      "title": "Object type for which usage is fetched",
      "type": "string"
    }
  },
  "type": "object"
}