Policy > Networking > Connectivity > Segments > State

Get segment state information

Get tier1 segment state information.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/global-infra/tier-1s/<tier-1-id>/segments/<segments-id>/state
/policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segments-id>/state
Request Headers:
n/a
Query Parameters:
L2L3RuntimeRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-1s/it_t1/segments/it-t1-seg/state?enforcement_point_path=/infra/sites/default/enforcement-points/default

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
SegmentConfigurationState+

Example Response:

{ "logical_switch_id": "211fe0fb-ae0c-4e16-9560-4b7647adefd8", "state": "success", "details": [] }

Required Permissions:

read

Feature:

policy_segment

Additional Errors: