Policy > Infra > Hierarchical API

Read infra

Read infra. Returns only the infra related properties. Inner object
are not populated.
This API is available when using VMware Cloud on AWS or VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra
/policy/api/v1/global-infra
Request Headers:
n/a
Query Parameters:
ChildTypesRequestParameter+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra

Successful Response:

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

Example Response:

{ "resource_type": "Infra", "id": "infra", "display_name": "infra", "path": "/infra", "relative_path": "infra", "connectivity_strategy": "NONE", "_create_user": "system", "_create_time": 1517296394552, "_last_modified_user": "system", "_last_modified_time": 1517296394552, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

read

Feature:

infra_admin

Additional Errors: