[{"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
DescriptionGet subnet info for an importable segment.
Request
URLURL
https://{api_host}/cloudapi/1.0.0/nsxTResources/importableSegments/{nsxTManagerId}/{switchId}/subnet
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
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
NsxTImportableSegmentSubnet
of type(s) application/json;version=37.2
{
"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 SamplesCode 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
Availability
Added in 36.1