mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Tue Jan 20 11:05:01 UTC 2026
This commit is contained in:
parent
bdd724fcf3
commit
582f364023
247 changed files with 5698 additions and 1205 deletions
|
|
@ -9,7 +9,7 @@ SYNOPSIS
|
|||
[--automated-backup-start-time=AUTOMATED_BACKUP_START_TIME]
|
||||
[--automated-backup-ttl=AUTOMATED_BACKUP_TTL]
|
||||
[--cross-cluster-replication-role=CROSS_CLUSTER_REPLICATION_ROLE]
|
||||
[--deletion-protection] [--kms-key=KMS_KEY]
|
||||
[--deletion-protection] [--kms-key=KMS_KEY] [--labels=[KEY=VALUE,...]]
|
||||
[--maintenance-window-day=MAINTENANCE_WINDOW_DAY]
|
||||
[--maintenance-window-hour=MAINTENANCE_WINDOW_HOUR] [--network=NETWORK]
|
||||
[--node-type=NODE_TYPE] [--persistence-mode=PERSISTENCE_MODE]
|
||||
|
|
@ -151,6 +151,14 @@ FLAGS
|
|||
The key must be in the same region as the cluster. Otherwise, the
|
||||
create operation fails.
|
||||
|
||||
--labels=[KEY=VALUE,...]
|
||||
List of label KEY=VALUE pairs to add.
|
||||
|
||||
Keys must start with a lowercase character and contain only hyphens
|
||||
(-), underscores (_), lowercase characters, and numbers. Values must
|
||||
contain only hyphens (-), underscores (_), lowercase characters, and
|
||||
numbers.
|
||||
|
||||
--maintenance-window-day=MAINTENANCE_WINDOW_DAY
|
||||
Day of week when the window starts, e.g. sunday. MAINTENANCE_WINDOW_DAY
|
||||
must be one of: friday, monday, saturday, sunday, thursday, tuesday,
|
||||
|
|
|
|||
|
|
@ -14,7 +14,8 @@ SYNOPSIS
|
|||
[--rdb-snapshot-start-time=RDB_SNAPSHOT_START_TIME]
|
||||
[--remove-redis-config=[KEY,...]] [--replica-count=REPLICA_COUNT]
|
||||
[--shard-count=SHARD_COUNT] [--simulate-maintenance-event]
|
||||
[--update-redis-config=KEY=VALUE]
|
||||
[--update-labels=[KEY=VALUE,...]] [--update-redis-config=KEY=VALUE]
|
||||
[--clear-labels | --remove-labels=[KEY,...]]
|
||||
[--maintenance-window-any
|
||||
| --maintenance-window-day=MAINTENANCE_WINDOW_DAY
|
||||
--maintenance-window-hour=MAINTENANCE_WINDOW_HOUR]
|
||||
|
|
@ -157,11 +158,40 @@ FLAGS
|
|||
--simulate-maintenance-event
|
||||
Trigger a simulation for maintenance event.
|
||||
|
||||
--update-labels=[KEY=VALUE,...]
|
||||
List of label KEY=VALUE pairs to update. If a label exists, its value
|
||||
is modified. Otherwise, a new label is created.
|
||||
|
||||
Keys must start with a lowercase character and contain only hyphens
|
||||
(-), underscores (_), lowercase characters, and numbers. Values must
|
||||
contain only hyphens (-), underscores (_), lowercase characters, and
|
||||
numbers.
|
||||
|
||||
--update-redis-config=KEY=VALUE
|
||||
A list of Redis Cluster config KEY=VALUE pairs to update. If a config
|
||||
parameter is already set, its value is modified; otherwise a new Redis
|
||||
config parameter is added.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-labels
|
||||
Remove all labels. If --update-labels is also specified then
|
||||
--clear-labels is applied first.
|
||||
|
||||
For example, to remove all labels:
|
||||
|
||||
$ gcloud beta redis clusters update --clear-labels
|
||||
|
||||
To remove all existing labels and create two new labels, foo and baz:
|
||||
|
||||
$ gcloud beta redis clusters update --clear-labels \
|
||||
--update-labels foo=bar,baz=qux
|
||||
|
||||
--remove-labels=[KEY,...]
|
||||
List of label keys to remove. If a label does not exist it is
|
||||
silently ignored. If --update-labels is also specified then
|
||||
--update-labels is applied first.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--maintenance-window-any
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue