NSX-T Data Center REST API

Associated URIs:

API Description API Path

Create IPSet


Creates a new IPSet that can group either IPv4 or IPv6 individual ip addresses,
ranges or subnets.
POST /api/v1/ip-sets (Deprecated)

List NSProfiles


List the NSProfiles created in a paginated format.The page size is restricted
to 50 NSProfiles, so that the size of the response remains small even
when there are high number of NSProfiles with multiple attributes and
multiple attribute values for each attribute.
GET /api/v1/ns-profiles (Deprecated)

Delete NSProfile


Deletes the specified NSProfile. By default, if the NSProfile is
consumed in a Firewall rule, it won't get deleted. In such
situations, pass "force=true" as query param to force delete
the NSProfile.
DELETE /api/v1/ns-profiles/{ns-profile-id} (Deprecated)

Read NSProfile


Returns information about the specified NSProfile.
GET /api/v1/ns-profiles/{ns-profile-id} (Deprecated)

Update NSProfile


Updates the specified NSProfile.
Rules for using attributes and sub-attributes in single NSProfile
1. One type of attribute can't have multiple occurrences. ( Example -
Attribute type APP_ID can be used only once per NSProfile.)
2. Values for an attribute are mentioned as array of strings.
( Example - For type APP_ID , values can be mentioned as ["SSL","FTP"].)
3. If sub-attribtes are mentioned for an attribute, then only single
value is allowed for that attribute.
4. To get a list of supported
attributes and sub-attributes fire the following REST API
GET https://<nsx-mgr>/api/v1/ns-profiles/attributes
PUT /api/v1/ns-profiles/{ns-profile-id} (Deprecated)

List NSProfile supported attribute types


Returns supported attribute type strings for NSProfile.
GET /api/v1/ns-profiles/attribute-types (Deprecated)

List NSProfile supported attribute and sub-attributes


Returns supported attribute and sub-attributes for specified
attribute type with their supported values, if provided in query/request
parameter, else will fetch all supported attribute and sub-attributes for
all supported attribute types.
GET /api/v1/ns-profiles/attributes (Deprecated)