Hide
Google Compute Engine

Zone Commands

Contents

getzone

getzone                      Get a zone.

                             Usage: gcutil [--global_flags] getzone
                             [--command_flags] <zone-name>

listzones

listzones                    List the zones for a project.

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

                             Flags for listzones:

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|status|deprecation|next-maintenance|instances|cpus|dis
    ks|disks-total-gb>.
    (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|status|-status|next-maintenance|-next-maintenance>:
    Sort output results by the given field name. Field names starting with a "-"
    will lead to a descending order.

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: '')