upctl object-storage network attach
Attach a network to a managed object storage service
Examples
upctl object-storage network attach <service-uuid> --type public --name my-public-net --family IPv4
upctl object-storage network attach <service-uuid> --type private --name my-private-net --family IPv4 --uuid 03fc6b80-9039-4bb7-ae43-5ccbe0ae35ce
Options
Option | Description |
---|---|
--network |
The UUID of the network to attach. |
--type |
The type of network (public or private). |
--name |
The name for the network. |
--family |
The IP family for the network (IPv4 or IPv6). |
--help , -h |
help for attach Default: false |
Global options
Option | Description |
---|---|
--client-timeout , -t |
Client timeout to use in API calls. Default: 0s |
--config |
Configuration file path. |
--debug |
Print out more verbose debug logs. Default: false |
--force-colours |
Force coloured output despite detected terminal support. |
--no-colours |
Disable coloured output despite detected terminal support. Colours can also be disabled by setting NO_COLOR environment variable. |
--output , -o |
Output format. Valid values are human , json and yaml .Default: human |
Related commands
Command | Description |
---|---|
upctl object-storage network | Manage networks in managed object storage services |