Update a vpc or public configuration profile interface for a specific configuration profile, on a specific Linode.
-
A successful request triggers a
linode_config_updateevent. -
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. Theprimaryattribute. -
vpc. Theip_ranges,ipv4, orprimaryattributes.
-
-
You can't update a configuration profile with a
purposeofvlan.
Permissions and scopes
To call this operation, you need permissions, based on the model you're using:
-
Identity and access permissions. Your user needs a role with these permissions. Learn more.
- Permissions:
update_linode_config_profile_interface
- Permissions:
-
OAuth scopes. Your user needs these scopes assigned. Learn more.
- Scopes:
linodes:read_write
- Scopes:
CLI
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"