Get Importable Tier0 Routers

Get Importable Tier0 Routers

Get all Tier-0 routers that are accessible to an organization VDC. Routers that are already associated with a Provider Gateway are filtered out. Tier-0 routers must be retrieved with either the "networkProviderId" or "regionId" filter key set with the id of the NSX Manager or Region respectively.

Request
URI
GET
https://{api_host}/cloudapi/1.0.0/nsxTResources/importableTier0Routers
COPY
Query Parameters
string
filter
Optional

Filter for a query. FIQL format.

string
cursor
Optional

Field used for getting next page of records. The value is supplied by the current result page. If not set, the first page is retrieved. If cursor is set, then all other pagination query parameters such as pageSize, sortDesc, sortAsc, queryFilter are ignored.

integer
pageSize
Required
Constraints: minimum: 0 maximum: 128 default: 25

Results per page to fetch.

string
sortAsc
Optional

Field to use for ascending sort

string
sortDesc
Optional

Field to use for descending sort


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Tier0Routers of type(s) application/json;version=40.0
{
    "values": [
        {
            "id": "string",
            "description": "string",
            "displayName": "string",
            "parentTier0Id": "string",
            "alreadyImported": false
        }
    ]
}
array of values
values
Optional

An NSX's Tier-0 router.


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/cloudapi/1.0.0/nsxTResources/importableTier0Routers?pageSize=v
                
Availability
Added in 32.0
Nsx Tresources Operations
GET
Get Importable Tier0 Routers