System Administration > Configuration > Fabric > Profiles > Hostswitch Profiles

Get a Hostswitch Profile by ID (Deprecated)

Returns information about a specified hostswitch profile. This api is now deprecated. Please use new api - policy/api/v1/infra/host-switch-profiles/uplinkProfile1

Request:

Method:
GET
URI Path(s):
/api/v1/host-switch-profiles/<host-switch-profile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/host-switch-profiles/4228a9e1-982c-4753-b386-44b9e3b42ca0

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
ExtraConfigHostSwitchProfile+
LldpHostSwitchProfile+
NiocProfile+
UplinkHostSwitchProfile+

Example Response:

{ "resource_type": "UplinkHostSwitchProfile", "id": "4228a9e1-982c-4753-b386-44b9e3b42ca0", "display_name": "uplinkProfile1", "mtu": 1600, "teaming": { "standby_list": [ { "uplink_name": "uplink2", "uplink_type": "PNIC" } ], "active_list": [ { "uplink_name": "uplink1", "uplink_type": "PNIC" } ], "policy": "FAILOVER_ORDER" }, "transport_vlan": 0, "_last_modified_user": "admin", "_last_modified_time": 1433452542652, "_create_time": 1433452542652, "_create_user": "admin", "_revision": 0 }

Required Permissions:

read

Feature:

profiles_host_switch_profiles

Additional Errors: