Management Plane API >
Security
>
Services
>
Service Insertion
List all service insertion status for supported contexts
(Deprecated)
Request:
Method:
GET
URI Path(s):
/api/v1/serviceinsertion/status
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Example Request:
GET https://<nsx-mgr>/api/v1/serviceinsertion/status
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
ServiceInsertionStatusListResult
+
ServiceInsertionStatusListResult
(
schema
)
Name
Description
Type
Notes
_links
References related to this resource
The server will populate this field when returing the resource. Ignored on PUT and POST.
array of
ResourceLink
Readonly
_schema
Schema for this resource
string
Readonly
_self
Link to this resource
SelfResourceLink
Readonly
cursor
Opaque cursor to be used for getting next page of records (supplied by current result page)
string
Readonly
result_count
Count of results found (across all pages), set only on first page
integer
Readonly
results
array of
ServiceInsertionStatus
Required
Readonly
sort_ascending
If true, results are sorted in ascending order
boolean
Readonly
sort_by
Field by which records are sorted
string
Readonly
Example Response:
{ "result_count": 2, "results": [ { "resource_type": "ServiceInsertionStatus", "id": "abcd495c-ffe8-4d44-8ea7-371f9fe2abcd", "display_name": "abcd495c-ffe8-4d44-8ea7-371f9fe2abcd", "global_status": "ENABLED", "context": "east_west", "_last_modified_user": "system", "_last_modified_time": 1498698220680, "_create_time": 1552676569142, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 1 }, { "resource_type": "ServiceInsertionStatus", "id": "1111495c-ffe8-4d44-8ea7-371f9fe21111", "display_name": "1111495c-ffe8-4d44-8ea7-371f9fe21111", "global_status": "ENABLED", "context": "north_south", "_last_modified_user": "admin", "_last_modified_time": 1498698220685, "_create_time": 1552676569142, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 1 } ] }
Required Permissions:
read
Feature:
service_insertion
Description:
Fetches service insertion status for all supported context types. Supported context types are 'east_west' and 'north_south'. Note- GET service insertion status API is deprecated. Please use the policy service insertion configuration status API.
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
500 Internal Server Error
503 Service Unavailable