Retrieve all Interfaces

View as Markdown

Get all Interfaces for an Instance

Org must have a Tenant entity. User must have FORGE_TENANT_ADMIN authorization role.

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://carbide-rest-api.carbide.svc.cluster.local/v2/org/$ORG_NAME/carbide/user/current ```

Path parameters

orgstringRequired
instanceIdstringRequired

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
instanceIdstringformat: "uuid"
subnetIdstring or nullformat: "uuid"
vpcPrefixIdstring or nullformat: "uuid"
isPhysicalboolean
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
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.

statusenum
Status values for Interface objects
Allowed values:
createddatetimeRead-only
updateddatetimeRead-only

Errors

403
Forbidden Error