Policy > Networking > Connectivity > Tier-0 Gateways > Interfaces > Interfaces

Read service interface

Read service interface

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-0s/{tier-0-id}/locale-services/{locale-service-id}/service-interfaces/{interface-id}
/policy/api/v1/global-infra/tier-0s/{tier-0-id}/locale-services/{locale-service-id}/service-interfaces/{interface-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-0s/vmc_prv/locale-services/default/service-interfaces/to_internet

Successful Response:

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

Example Response:

{ "resource_type": "ServiceInterface", "id": "to_internet", "display_name": "to_internet", "path": "/infra/tier-0s/vmc_prv/locale-services/default/service-interfaces/to_internet", "parent_path": "/infra/tier-0s/vmc_prv/locale-services/default", "relative_path": "to_internet", "subnets": [ { "ip_addresses": [ "35.1.1.1" ], "prefix_len": 24 } ], "_create_user": "admin", "_create_time": 1516751318020, "_last_modified_user": "admin", "_last_modified_time": 1516751318020, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

read

Feature:

policy_t0

Additional Errors: