List Policy Service Chain Mappings
List all service chain mappings in the system for the given service profile. If no explicit enforcement point is provided in the request, will return for default. Else, will return for specified points.
Request
URI
GET
https://nsxmanager.your.domain/policy/api/v1/infra/service-references/{service-reference-id}/service-profiles/{service-profile-id}/service-chain-mappings
COPY
Path Parameters
string
service-reference-id
Required
Service reference id
string
service-profile-id
Required
Service profile id
Query Parameters
string
enforcement_point_path
Optional
String Path of the enforcement point
Responses
200
OK
Returns
ServiceChainMappingListResult
of type(s)
application/json
This response body class contains all of the following:
ListResult ,
InlineServiceChainMappingListResult1
{
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_schema": "string",
"_self": {
"action": "string",
"href": "string",
"rel": "string"
},
"cursor": "string",
"result_count": 0,
"sort_ascending": false,
"sort_by": "string",
"results": [
{
"direction": "string",
"service_chain_id": "string",
"service_index": 0
}
]
}
400
Returns
BadRequest
of type(s)
application/json
This response body class contains all of the following:
RelatedApiError ,
InlineApiError1
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string"
}
]
}
403
Returns
Forbidden
of type(s)
application/json
This response body class contains all of the following:
RelatedApiError ,
InlineApiError1
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string"
}
]
}
404
Returns
NotFound
of type(s)
application/json
This response body class contains all of the following:
RelatedApiError ,
InlineApiError1
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string"
}
]
}
412
Returns
PreconditionFailed
of type(s)
application/json
This response body class contains all of the following:
RelatedApiError ,
InlineApiError1
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string"
}
]
}
500
Returns
InternalServerError
of type(s)
application/json
This response body class contains all of the following:
RelatedApiError ,
InlineApiError1
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string"
}
]
}
503
Returns
ServiceUnavailable
of type(s)
application/json
This response body class contains all of the following:
RelatedApiError ,
InlineApiError1
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_message": "string",
"module_name": "string"
}
]
}
On This Page
Infrastructure Infra Operations
GET
Get Policy Service Profile Groups
GET
List Policy Service Chain Mappings