put https://api.linode.com//linode/instances//configs//interfaces/
Update a vpc
or public
configuration profile interface for a specific configuration profile, on a specific Linode.
-
To access this operation, your user needs the
read_write
grant for the Linode. -
A successful request triggers a
linode_config_update
event. -
Only certain attributes can be updated for a configuration profile interface. You need to add a new configuration profile interface on your Linode if you need new values for any other attribute. Here are the supported objects, based on the interface's
purpose
:-
public
. Theprimary
attribute. -
vpc
. Theip_ranges
,ipv4
, orprimary
attributes.
-
-
You can't update a configuration profile with a
purpose
ofvlan
.
linode-cli linodes config-interface-update $linodeId $configId $interfaceId \
--primary true \
--ipv4.vpc "10.0.1.2" \
--ipv4.nat_1_1 "203.0.113.2"
<https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli>
linodes:read_write
<https://techdocs.akamai.com/linode-api/reference/get-started#oauth>