NSX-T Data Center REST API

Associated URIs:

API Description API Path

List all limit definitions


Returns a paginated list of all the existing limit definitions
GET /policy/api/v1/infra/limits
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/limits

Delete limit definition


Deletes a limit definition with id limit-id.
DELETE /policy/api/v1/infra/limits/{limit-id}
DELETE /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/limits/{limit-id}

Get details of a limit definition


Returns details of a limit definition for a valid limit-id. A limit definition will have different types of limits
that will be applied to policies at the time of their creation.
GET /policy/api/v1/infra/limits/{limit-id}
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/limits/{limit-id}

Create or update limit


API to create or update a limit definition. If the object with the ID already exists, it will be updated.
PATCH /policy/api/v1/infra/limits/{limit-id}
PATCH /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/limits/{limit-id}

Create or Update limit


API to create or update a limit definition.
If the limit with the limit-id already exists, it will be updated.
If the limit-id doesn't exist then it creates a new limit object.
PUT /policy/api/v1/infra/limits/{limit-id}
PUT /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/limits/{limit-id}

Get consumption details and other operational state for a limit


This API returns the consumption and other operational state for a limit. For example, in case of IPBlock quota limits,
it returns the quota defined at the user role, how much of that limit is currently consumed, and its consumers.
GET /policy/api/v1/infra/limits/{limit-id}/state
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/limits/{limit-id}/state

Get consumption details and other operational state for limits


This API returns the consumption and other operational state for limits. For example, in case of IPBlock quota limits,
it returns all the quotas defined at the user role and how much of that limit is currently consumed, and its consumers.
GET /policy/api/v1/infra/limits/state
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/limits/state

Get consumption details and another operational state for limits for VPCs within a project


This API returns the consumption and other operational state for limits. For example, in case of IPBlock quota limits,
it returns the quotas applied and how much quota is consumed. The response will contain a collection of such consumption
information for all VPCs within a project
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/limits/state

Get consumption details and other operational state for limits for a VPC


This API returns the consumption and other operational state for limits. For example, in case of IPBlock quota limits,
it returns the quotas applied on a VPC and how much quota is consumed.
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/limits/state