mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-13 08:27:05 +00:00
gcloud: Wed Mar 29 10:40:15 UTC 2023
This commit is contained in:
parent
4ccfc7a5e3
commit
5fabf24be7
269 changed files with 6797 additions and 464 deletions
|
|
@ -5,15 +5,14 @@ SYNOPSIS
|
|||
gcloud alpha monitoring snoozes cancel SNOOZE [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Cancels a snooze.
|
||||
(ALPHA) Cancel a snooze.
|
||||
|
||||
If the snooze is upcoming, i.e. the start time is in the future, then this
|
||||
command is equivalent to:
|
||||
If the start time is in the future, then this command is equivalent to:
|
||||
|
||||
▪ update --start-time="+PT1S" --end-time="+PT1S
|
||||
|
||||
Otherwise, if the snooze is active, i.e. the start time is past and the
|
||||
ending time is in the future, then this command is equivalent to:
|
||||
Otherwise, if the start time is past and the ending time is in the future,
|
||||
then this command is equivalent to:
|
||||
|
||||
▪ update --end-time="+PT1S
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ EXAMPLES
|
|||
|
||||
$ gcloud alpha monitoring snoozes list --sort-by="~display_name"
|
||||
|
||||
To return results with past, i.e. historical, snoozes only:
|
||||
To return results with expired snoozes only:
|
||||
|
||||
$ gcloud alpha monitoring snoozes list \
|
||||
--filter="interval.end_time<+PT1S"
|
||||
|
|
|
|||
|
|
@ -8,15 +8,16 @@ SYNOPSIS
|
|||
--end-time=END_TIME --start-time=START_TIME] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Updates a snooze.
|
||||
(ALPHA) Update a snooze.
|
||||
|
||||
If `--snooze-from-file` is specified:
|
||||
If --snooze-from-file is specified, then the update rules depend on the
|
||||
value of the (optional) --fields flag:
|
||||
|
||||
* If `--fields` is specified, then only the specified fields will be
|
||||
updated.
|
||||
* Else, the snooze will be replaced with the provided snooze. The
|
||||
snooze can be modified further using the flags from the Snooze
|
||||
Settings group below.
|
||||
▪ If --fields is specified, then only the specified fields of the
|
||||
snooze are updated.
|
||||
▪ Else, all fields of the snooze are replaced. The updated snooze can
|
||||
be modified further using the flags from the Snooze Settings group
|
||||
below.
|
||||
|
||||
Otherwise, the snooze will be updated with the values specified in the
|
||||
flags from the Snooze Settings group.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue