Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



Snapshot Commands

Contents

addtargetinstance

addtargetinstance            Create a new target instance to handle network load
                             balancing.

                             Usage: gcutil [--global_flags] addtargetinstance
                             [--command_flags] <target-instance-name>

                             Flags for addtargetinstance:

gcutil_lib.gcutil_flags:
  --nat_policy: <NO_NAT>: NAT policy options controlling how the IP should be
    NAT'ed to the VM.
    (default: 'NO_NAT')

gcutil_lib.target_instance_cmds:
  --description: An optional Target Instance description
    (default: '')
  --instance: The name of the instance resource to serve this target. The
    instance does not have to be created already, but must be in the same zone
    as this TargetInstance resource.
  --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: '')

deletetargetinstance

deletetargetinstance         Delete one or more target instances.

                             If multiple target instance names are specified,
                             the target instance will be deleted in parallel.

                             Usage: gcutil [--global_flags] deletetargetinstance
                             [--command_flags] <target-instance-name-1> ...
                             <target-instance-name-n>

                             Flags for deletetargetinstance:

gcutil_lib.command_base:
  -f,--[no]force: Override the "Delete target instance" prompt
    (default: 'false')

gcutil_lib.target_instance_cmds:
  --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: '')

gettargetinstance

gettargetinstance            Get a target instance.

                             Usage: gcutil [--global_flags] gettargetinstance
                             [--command_flags] <target-instance-name>

                             Flags for gettargetinstance:

gcutil_lib.target_instance_cmds:
  --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: '')

listtargetinstances

listtargetinstances          List the target instances for a project.

                             Usage: gcutil [--global_flags] listtargetinstances
                             [--command_flags]

                             Flags for listtargetinstances:

gcutil_lib.command_base:
  --columns: A comma-separated list of the desired columns to display. If 'all'
    is specified, then all possible columns will be included. Valid columns are
    <all|name|description|zone|nat-policy|instance>.
    (a comma separated list)
  --[no]fetch_all_pages: Deprecated flag.
    (default: 'true')
  --filter: Filter expression for filtering listed resources. See gcutil
    documentation for syntax of the filter expression here:
    http://developers.google.com/compute/docs/gcutil/tips#filtering
  --max_results: Maximum number of items to list [Default is to fetch all].
    (a positive integer)

gcutil_lib.gcutil_flags:
  --sort_by: <name|-name|instance|-instance>: Sort output results by the given
    field name. Field names starting with a "-" will lead to a descending order.

gcutil_lib.target_instance_cmds:
  --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: '')

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.