Changed1
[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director

Get Importable Segment Subnet

Description

Get subnet info for an importable segment.

Request

Request

URL

URL


get
https://{api_host}/cloudapi/1.0.0/nsxTResources/importableSegments/{nsxTManagerId}/{switchId}/subnet
Copy

Path Parameters

Path Parameters

string
nsxTManagerId Required

Id of the Nsx-T manager that this segment belongs to


string
switchId Required

The logical switch id for the segment. Corresponds to the unique id property in Nsx-T.


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns NsxTImportableSegmentSubnet of type(s) application/json;version=36.3
{
	"ipAddress": "string",
	"prefixLength": 0
}
string
ipAddress Optional

Ip address for subnet.


integer
prefixLength Optional

Prefix length for the subnet.

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl https://{api_host}/cloudapi/1.0.0/nsxTResources/importableSegments/{nsxTManagerId}/{switchId}/subnet


[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
What's changed in v36.3?
INTRODUCED
Feedback

Was this page helpful?