File: //snap/google-cloud-cli/current/help/man/man1/gcloud_dns_operations_list.1
.TH "GCLOUD_DNS_OPERATIONS_LIST" 1
.SH "NAME"
.HP
gcloud dns operations list \- list Cloud DNS operations
.SH "SYNOPSIS"
.HP
\f5gcloud dns operations list\fR \fB\-\-zones\fR=[\fIZONES\fR,...] [\fB\-\-filter\fR=\fIEXPRESSION\fR] [\fB\-\-limit\fR=\fILIMIT\fR] [\fB\-\-sort\-by\fR=[\fIFIELD\fR,...]] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
This command displays Cloud DNS operations for one or more Cloud DNS
managed\-zones (see \f5$ gcloud dns managed\-zones \-\-help\fR).
.SH "EXAMPLES"
To see the list of all operations for two managed\-zones, run:
.RS 2m
$ gcloud dns operations list \-\-zones=zone1,zone2
.RE
To see the last 5 operations for two managed\-zones, run:
.RS 2m
$ gcloud dns operations list \-\-zones=zone1,zone2 \e
\-\-sort\-by=~start_time \-\-limit=5
.RE
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
Zone resource \- Name of one or more zones to read. This represents a Cloud
resource. (NOTE) Some attributes are not given arguments in this group but can
be set in other ways.
To set the \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5\-\-zones\fR on the command line with a fully specified
name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
This must be specified.
.RS 2m
.TP 2m
\fB\-\-zones\fR=[\fIZONES\fR,...]
IDs of the zones or fully qualified identifiers for the zones.
To set the \f5zone\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5\-\-zones\fR on the command line.
.RE
.sp
.RE
.RE
.sp
.SH "LIST COMMAND FLAGS"
.RS 2m
.TP 2m
\fB\-\-filter\fR=\fIEXPRESSION\fR
Apply a Boolean filter \fIEXPRESSION\fR to each resource item to be listed. If
the expression evaluates \f5True\fR, then that item is listed. For more details
and examples of filter expressions, run $ gcloud topic filters. This flag
interacts with other flags that are applied in this order: \fB\-\-flatten\fR,
\fB\-\-sort\-by\fR, \fB\-\-filter\fR, \fB\-\-limit\fR.
.TP 2m
\fB\-\-limit\fR=\fILIMIT\fR
Maximum number of resources to list. The default is \fBunlimited\fR. This flag
interacts with other flags that are applied in this order: \fB\-\-flatten\fR,
\fB\-\-sort\-by\fR, \fB\-\-filter\fR, \fB\-\-limit\fR.
.TP 2m
\fB\-\-sort\-by\fR=[\fIFIELD\fR,...]
Comma\-separated list of resource field key names to sort by. The default order
is ascending. Prefix a field with ``~'' for descending order on that field. This
flag interacts with other flags that are applied in this order:
\fB\-\-flatten\fR, \fB\-\-sort\-by\fR, \fB\-\-filter\fR, \fB\-\-limit\fR.
.RE
.sp
.SH "GCLOUD WIDE FLAGS"
These flags are available to all commands: \-\-access\-token\-file, \-\-account,
\-\-billing\-project, \-\-configuration, \-\-flags\-file, \-\-flatten,
\-\-format, \-\-help, \-\-impersonate\-service\-account, \-\-log\-http,
\-\-project, \-\-quiet, \-\-trace\-token, \-\-user\-output\-enabled,
\-\-verbosity.
Run \fB$ gcloud help\fR for details.
.SH "NOTES"
These variants are also available:
.RS 2m
$ gcloud alpha dns operations list
.RE
.RS 2m
$ gcloud beta dns operations list
.RE