Retrieve Subnet
Retrieve a specific Subnet
Org must have a Tenant entity. User must have authorization role with TENANT_ADMIN suffix.
Query parameters
Related entity to expand
When true, each Subnet object includes usage statistics using the same structure as IP Block usage. Prefix and IP usage data is derived by evaluating associated Ethernet interfaces. Each Interface associated with a Subnet consumes a single IP. In addition, one gateway and one broadcast IP address are reserved per Subnet.
Response
OK
Example response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "spark-gpu-net",
"description": "Subnet for GPU nodes",
"siteId": "ea144def-d68f-44c3-9485-4b103fa2686f",
"vpcId": "5e28ad7c-5fb7-46d6-a28a-fc0ba6fdc4a3",
"controllerNetworkSegmentId": "abe7b0e8-67db-4e89-903e-fc4f2bd7f034",
"ipv4Prefix": "204.168.0.250",
"ipv4BlockId": "8c1d1a06-90a2-4863-8ee1-6029265b9f0a",
"ipv4Gateway": "204.168.0.1",
"ipv6Prefix": null,
"ipv6BlockId": null,
"ipv6Gateway": null,
"prefixLength": 20,
"routingType": "Public",
"status": "Pending",
"statusHistory": [
{
"status": "Pending",
"message": "Request received, pending processing",
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}
],
"created": "2019-08-24T14:15:22Z",
"updated": "2019-08-24T14:15:22Z"
}Changes
Changed in 5 of the 92 revisions of this API.444
- ▲
the
usageStats/acquiredIPsresponse's property type/format changed frominteger/int64tointeger/uint64for status200response-property-type-changed
- ▲
the
usageStats/acquiredPrefixesresponse's property type/format changed frominteger/int64tointeger/uint64for status200response-property-type-changed
- ▲
the
usageStats/availableIPsresponse's property type/format changed frominteger/int64tointeger/uint64for status200response-property-type-changed
- ▲
the
usageStats/availableSmallestPrefixesresponse's property type/format changed frominteger/int64tointeger/uint64for status200response-property-type-changed
- ▲
- ●
removed the optional property
deprecationsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
tenantIdfrom the response with the200statusresponse-optional-property-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the new optional
queryrequest parameterincludeUsageStatsnew-optional-request-parameter
- ○
added the optional property
usageStatsto the response with the200statusresponse-optional-property-added
- ○
- ●
deleted the
queryrequest parameterincludeUsageStatsrequest-parameter-removed
- ●
removed the optional property
usageStatsfrom the response with the200statusresponse-optional-property-removed
This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the new optional
queryrequest parameterincludeUsageStatsnew-optional-request-parameter
- ○
added the optional property
usageStatsto the response with the200statusresponse-optional-property-added
- ○