exo compute instance private-network attach
Description
This command attaches a Compute instance to a Private Network.
Supported output template annotations: .ID, .Name, .CreationDate, .InstanceType, .Template, .Zone, .AntiAffinityGroups, .DeployTarget, .SecurityGroups, .PrivateInstance, .PrivateNetworks, .ElasticIPs, .IPAddress, .IPv6Address, .SSHKey, .DiskSize, .State, .Labels, .ReverseDNS
exo compute instance private-network attach INSTANCE-NAME|ID PRIVATE-NETWORK-NAME|ID [flags]
Options
Option | Description |
---|---|
--help, -h | help for attach |
--ip | network IP address to assign to the Compute instance (managed Private Networks only) |
--zone, -z | instance zone |
Options inherited from parent commands
Option | Description |
---|---|
--config, -C | Specify an alternate config file [env EXOSCALE_CONFIG] |
--output-format, -O | Output format (table|json|text), see "exo output –help" for more information |
--output-template | Template to use if output format is "text" |
--quiet, -Q | Quiet mode (disable non-essential command output) |
--use-account, -A | Account to use in config file [env EXOSCALE_ACCOUNT] |
Related Commands
- private-network - Manage Compute instance Private Networks