OptionalbodyOptionaldefault_route?: { ipv4?: boolean | null; ipv6?: boolean | null }Indicates if the interface serves as the default route when multiple interfaces are eligible for this role. A public interface can have both an IPv4 default_route and an IPv6 default_route, provided it has at least one IP address of the corresponding type.
Optionalipv4?: boolean | nullIf set to true, the interface is used for the IPv4 default_route. Only one interface per Linode can be set as the IPv4 default route.
Optionalipv6?: boolean | nullIf set to true, the interface is used for the IPv6 default_route. Only one interface per Linode can have the IPv6 default route.
Optionalfirewall_id?: number | nullThe enabled firewall to secure a VPC or public interface. Not allowed for VLAN interfaces. If a firewall_id is not provided for a VPC or a public interface, then its default interface firewall is used. If a default firewall is not available, and null is not specified, the request fails. Setting the firewall_id as null indicates that no firewall device will be attached to the interface.
Optionalpublic?: Public interface settings. A Linode can have only one public interface. A public interface can have both IPv4 and IPv6 configurations.
Optionalvlan?: { ipam_address?: string; vlan_label?: string } | nullVLAN interface settings. A Linode can have up to three VLAN interfaces, with a unique vlan_label for each.
Optionaldefault_route?: { ipv4?: boolean | null }Indicates if the interface is used as the default route when multiple interfaces are eligible for this role. A VPC interface can have an IPv4 default_route.
Optionalipv4?: boolean | nullIf set to true, the interface is used for the IPv4 default_route. Only one interface per Linode can be set as the IPv4 default route.
Optionalfirewall_id?: number | nullThe enabled firewall to secure a VPC or public interface. Not allowed for VLAN interfaces. If a firewall_id is not provided for a VPC or a public interface, then its default interface firewall is used. If a default firewall is not available, and null is not specified, the request fails. Setting the firewall_id as null indicates that no firewall device will be attached to the interface.
Optionalvpc?: VPC interface settings. A Linode can have one VPC interface. The maximum number of interfaces allowed on a Linode is three.
The id of the Linode.
Optionalquery
Defines Linode interfaces. You can configure interfaces for one of the following types:
vpc,public, orvlan. Any other type must either be omitted or set tonull.