NSX-T Data Center REST API
Create a Transport Node Profile (Deprecated)
Transport node profile captures the configuration needed to createa transport node. A transport node profile can be attached to
compute collections for automatic TN creation of member hosts.
Deprecated: This api is now deprecated. Please use new api - /policy/api/v1/infra/host-transport-node-profiles/<host-transport-node-profile-id>
Request:
Method:
POST
URI Path(s):
/api/v1/transport-node-profiles
Request Headers:
n/a
Query Parameters:
ManagedObjectOwnershipRequestParameters+
Request Body:
TransportNodeProfile+
Example Request:
{ "resource_type": "TransportNodeProfile", "display_name": "Transport Node Profile Demo", "description": "Transport Node Profile to be applied to a cluster", "host_switch_spec": { "resource_type": "StandardHostSwitchSpec", "host_switches": [ { "host_switch_profile_ids": [ { "value": "e331116d-f59e-4004-8cfd-c577aefe563a", "key": "UplinkHostSwitchProfile" } ], "host_switch_mode": "STANDARD", "host_switch_name": "nsxvswitch", "pnics": [ { "device_name": "vmnic1", "uplink_name": "uplink1" } ], "ip_assignment_spec": { "resource_type": "StaticIpPoolSpec", "ip_pool_id": "ecddcdde-4dc5-4026-ad4f-8857995d4c92" }, "transport_zone_endpoints": [ { "transport_zone_id": "e14c6b8a-9edd-489f-b624-f9ef12afbd8f" } ], "vmk_install_migration": [ { "device_name": "vmk1", "destination_network": "849e339e-64b7-47cb-9480-33068f70dc5a" } ], "vmk_uninstall_migration": [ ] } ] } }Successful Response:
Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
TransportNodeProfile+