Contents
addaccessconfig
addaccessconfig Create an access config for a VM instance's network
interface.
Usage: gcutil [--global_flags] addaccessconfig
[--command_flags] <instance-name>
Flags for addaccessconfig:
gcutil_lib.instance_cmds:
--access_config_name: [Required] Specifies the name of the new access config.
(default: 'External NAT')
--access_config_nat_ip: The external NAT IP of the new access config. The
default value "ephemeral" indicates the service should choose any available
ephemeral IP. If an explicit IP is given, that IP must be reserved by the
project and not in use by another resource.
(default: 'ephemeral')
--access_config_type: [Required] Specifies the type of the new access config.
Currently only type "ONE_TO_ONE_NAT" is supported.
(default: 'ONE_TO_ONE_NAT')
--network_interface_name: [Required] Specifies the name of the instance's
network interface to add the new access config.
(default: 'nic0')
--zone: [Required] The zone for this request.
gflags:
--flagfile: Insert flag definitions from the given file into the command line.
(default: '')
--undefok: comma-separated list of flag names that it is okay to specify on
the command line even if the program does not define a flag with that name.
IMPORTANT: flags in this list that have arguments MUST use the --flag=value
format.
(default: '')
deleteaccessconfig
deleteaccessconfig Delete an access config from a VM instance's
network interface.
Usage: gcutil [--global_flags] deleteaccessconfig
[--command_flags] <instance-name>
Flags for deleteaccessconfig:
gcutil_lib.instance_cmds:
--access_config_name: [Required] The name of the access config to delete.
(default: 'External NAT')
--network_interface_name: [Required] The name of the instance's network
interface from which to delete the access config.
(default: 'nic0')
--zone: [Required] The zone for this request.
gflags:
--flagfile: Insert flag definitions from the given file into the command line.
(default: '')
--undefok: comma-separated list of flag names that it is okay to specify on
the command line even if the program does not define a flag with that name.
IMPORTANT: flags in this list that have arguments MUST use the --flag=value
format.
(default: '')