Retrieve all Interfaces

View as Markdown

Get all Interfaces for an Instance

Org must have a Tenant entity. User must have authorization role with TENANT_ADMIN suffix.

Authentication

AuthorizationBearer
``` export JWT_BEARER_TOKEN="<jwt-bearer-token>" # Example org name: "acme-inc export ORG_NAME=<org-name> # Use the JWT bearer token in your API request auth header: curl -v -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $JWT_BEARER_TOKEN" https://nico-rest-api.nico.svc.cluster.local/v2/org/$ORG_NAME/nico/user/current ```

Path parameters

orgstringRequired
Name of the Org
instanceIdstringRequired
ID of the Instance

Query parameters

statusstringOptional
Filter Interfaces by Status
includeRelationenumOptional
Related entity to expand
Allowed values:
pageNumberintegerOptional>=1Defaults to 1
Page number for pagination query
pageSizeintegerOptional1-100
Page size for pagination query
orderByenumOptional
Ordering for pagination query

Response headers

X-Paginationstring
Pagination result in JSON format

Response

OK
idstringformat: "uuid">=1 character
Unique UUID v4 identifier for the Interface
instanceIdstringformat: "uuid"
ID of the associated Instance
subnetIdstring or nullformat: "uuid"
ID of the associated Subnet
vpcPrefixIdstring or nullformat: "uuid"
ID of the associated VPCPrefix
isPhysicalboolean
IsPhysical indicates whether the Subnet is bound on a physical Interface
devicestring or null
Name of the device to use
deviceInstanceinteger or null
Index of the device, used to identify which interface card to attache the Partition to
virtualFunctionIdinteger or null
Must be specified if isPhysical is false
macAddressstring or null
MAC address of the Interface
ipAddresseslist of strings
A list of IPv4 or IPv6 addresses
requestedIpAddressstring or null

Explicitly requested IP address for the interface. This is only used for VPC Prefix-based interfaces and is not valid for Subnet-based interfaces. The least-significant host bit must be 1.

inlineRoutingProfileobject or null

Inline interface-local routing profile options. Only valid for VPC Prefix-based interfaces.

statusenum
Status of the Interface
createddatetimeRead-only

Date/time when the Interface was created

updateddatetimeRead-only

Date/time when the Interface was last updated

Errors

403
Forbidden Error