NSX-T Data Center REST API
Associated URIs:
| API Description | API Path | 
|---|---|
| Get PolicyContextProfilesGet all PolicyContextProfiles | GET /policy/api/v1/global-infra/context-profiles GET /policy/api/v1/infra/context-profiles | 
| Delete Policy Context ProfileDeletes the specified Policy Context Profile. If the Policy Context Profile is consumed in a firewall rule, it won't get deleted. | DELETE /policy/api/v1/infra/context-profiles/<context-profile-id> DELETE /policy/api/v1/global-infra/context-profiles/<context-profile-id> | 
| Get PolicyContextProfileGet a single PolicyContextProfile by id | GET /policy/api/v1/infra/context-profiles/<context-profile-id> GET /policy/api/v1/global-infra/context-profiles/<context-profile-id> | 
| Create PolicyContextProfileCreates/Updates a PolicyContextProfile, which encapsulates attribute and sub-attributes of network services. Rules for using attributes and sub-attributes in single PolicyContextProfile 1. One type of attribute can't have multiple occurrences. ( Eg. - Attribute type APP_ID can be used only once per PolicyContextProfile.) 2. For specifying multiple values for an attribute, provide them in an array. 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://<policy-mgr>/policy/api/v1/infra/context-profiles/attributes | PATCH /policy/api/v1/infra/context-profiles/<context-profile-id> PATCH /policy/api/v1/global-infra/context-profiles/<context-profile-id> | 
| Create PolicyContextProfileCreates/Updates a PolicyContextProfile, which encapsulates attribute and sub-attributes of network services. Rules for using attributes and sub-attributes in single PolicyContextProfile 1. One type of attribute can't have multiple occurrences. ( Eg. - Attribute type APP_ID can be used only once per PolicyContextProfile.) 2. For specifying multiple values for an attribute, provide them in an array. 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://<policy-mgr>/policy/api/v1/infra/context-profiles/attributes | PUT /policy/api/v1/infra/context-profiles/<context-profile-id> PUT /policy/api/v1/global-infra/context-profiles/<context-profile-id> | 
| List Policy Context Profile supported attributes and sub-attributesReturns supported attribute and sub-attributes for specified attribute key with their supported values, if provided in query/request parameter, else will fetch all supported attributes and sub-attributes for all supported attribute keys. Alternatively, to get a list of supported attributes and sub-attributes fire the following REST API GET https://<policy-mgr>/policy/api/v1/infra/context-profiles/attributes | GET /policy/api/v1/infra/context-profiles/attributes GET /policy/api/v1/global-infra/context-profiles/attributes | 
| Update custom object attribute value list for given attribute keyThis API updates custom attribute value list for given key. | PATCH /policy/api/v1/global-infra/context-profiles/custom-attributes PATCH /policy/api/v1/infra/context-profiles/custom-attributes | 
| Adds/Removes custom attribute values from listThis API adds/removes custom attribute values from list for a given attribute key. | POST /policy/api/v1/global-infra/context-profiles/custom-attributes POST /policy/api/v1/infra/context-profiles/custom-attributes | 
| Update custom object attribute value list for given attribute keyThis API updates custom attribute value list for given key. | GET /policy/api/v1/infra/context-profiles/custom-attributes/default GET /policy/api/v1/global-infra/context-profiles/custom-attributes/default | 
| Update custom object attribute value list for given attribute keyThis API updates custom attribute value list for given key. | PATCH /policy/api/v1/infra/context-profiles/custom-attributes/default PATCH /policy/api/v1/global-infra/context-profiles/custom-attributes/default | 
| Adds/Removes custom attribute values from listThis API adds/removes custom attribute values from list for a given attribute key. | POST /policy/api/v1/infra/context-profiles/custom-attributes/default POST /policy/api/v1/global-infra/context-profiles/custom-attributes/default | 
| List l7 access ProfilesAPI will list all l7 access Profiles | GET /policy/api/v1/infra/l7-access-profiles | 
| Delete L7 Access ProfileAPI will delete L7 Access Profile | DELETE /policy/api/v1/infra/l7-access-profiles/<l7-access-profile-id> | 
| Get L7 Access ProfileAPI will get L7 Access Profile | GET /policy/api/v1/infra/l7-access-profiles/<l7-access-profile-id> | 
| Create or update L7 Access ProfileAPI will create/update L7 Access Profile | PATCH /policy/api/v1/infra/l7-access-profiles/<l7-access-profile-id> | 
| Update L7 Access ProfileAPI will update L7 Access Profile | PUT /policy/api/v1/infra/l7-access-profiles/<l7-access-profile-id> | 
| List l7 access profile entriesAPI will list all l7 access profiles entries | GET /policy/api/v1/infra/l7-access-profiles/<l7-access-profile-id>/entries | 
| Delete L7 Access Profile entryAPI will delete L7 Access Profile entry | DELETE /policy/api/v1/infra/l7-access-profiles/<l7-access-profile-id>/entries/<l7-access-entry-id> | 
| Read L7 Access Profile entryRead Friewall L7 Access Profile entry | GET /policy/api/v1/infra/l7-access-profiles/<l7-access-profile-id>/entries/<l7-access-entry-id> | 
| Create or update L7 Access Profile entryAPI will create/update L7 Access Profile entry | PATCH /policy/api/v1/infra/l7-access-profiles/<l7-access-profile-id>/entries/<l7-access-entry-id> | 
| Create L7 Access Profile entryAPI will create L7 Access Profile entry | PUT /policy/api/v1/infra/l7-access-profiles/<l7-access-profile-id>/entries/<l7-access-entry-id> | 
| List Policy L7 access profile supported attributes and sub-attributesReturns supported attribute and sub-attributes for specified attribute key with their supported values, if provided in query/request parameter, else will fetch all supported attributes and sub-attributes for all supported attribute keys. | GET /policy/api/v1/infra/l7-access-profiles/attributes | 
| List static mime contentsAPI will list all static mime contents | GET /policy/api/v1/infra/static-mime-contents | 
| Delete static Mime contentAPI will delete static mime content | DELETE /policy/api/v1/infra/static-mime-contents/<static-mime-content-id> | 
| Get Static Mime contentAPI will get static mime content | GET /policy/api/v1/infra/static-mime-contents/<static-mime-content-id> | 
| Create or update static mime content idAPI will create/update static mime content id | PATCH /policy/api/v1/infra/static-mime-contents/<static-mime-content-id> | 
| Update static mime content idAPI will create/update static mime content id | PUT /policy/api/v1/infra/static-mime-contents/<static-mime-content-id> | 
