1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-16 12:22:03 +00:00

gcloud: Wed Mar 27 09:52:07 UTC 2024

This commit is contained in:
Automated 2024-03-27 09:52:07 +00:00
parent 5b4fac9106
commit 4ade1b44cc
148 changed files with 5765 additions and 482 deletions

View file

@ -4,8 +4,12 @@ NAME
SYNOPSIS
gcloud beta redis clusters create (CLUSTER : --region=REGION)
--network=NETWORK --shard-count=SHARD_COUNT [--async]
[--auth-mode=AUTH_MODE] [--replica-count=REPLICA_COUNT]
--network=NETWORK --shard-count=SHARD_COUNT
[--aof-append-fsync=AOF_APPEND_FSYNC] [--async] [--auth-mode=AUTH_MODE]
[--persistence-mode=PERSISTENCE_MODE]
[--rdb-snapshot-period=RDB_SNAPSHOT_PERIOD]
[--rdb-snapshot-start-time=RDB_SNAPSHOT_START_TIME]
[--redis-config=[KEY=VALUE,...]] [--replica-count=REPLICA_COUNT]
[--transit-encryption-mode=TRANSIT_ENCRYPTION_MODE] [--zone=ZONE]
[--zone-distribution-mode=ZONE_DISTRIBUTION_MODE]
[GCLOUD_WIDE_FLAG ...]
@ -84,6 +88,18 @@ REQUIRED FLAGS
The shard count of the cluster.
OPTIONAL FLAGS
--aof-append-fsync=AOF_APPEND_FSYNC
Fsync configuration. AOF_APPEND_FSYNC must be one of:
always
Redis explicitly calls fsync for every write command.
everysec
(default) Redis explicitly calls fsync every second.
no
Redis will not explicitly call fsync.
--async
Return immediately, without waiting for the operation in progress to
complete.
@ -98,6 +114,42 @@ OPTIONAL FLAGS
iam-auth
IAM basic authorization is enabled for the cluster.
--persistence-mode=PERSISTENCE_MODE
Operation mode for persistence. PERSISTENCE_MODE must be one of:
aof
AOF-based persistence
disabled
Persistence mode is disabled
rdb
RDB-based persistence
--rdb-snapshot-period=RDB_SNAPSHOT_PERIOD
Attempted period between RDB snapshots. RDB_SNAPSHOT_PERIOD must be one
of:
12h
12 hours
1h
1 hour
24h
(default) 24 hours
6h
6 hours
--rdb-snapshot-start-time=RDB_SNAPSHOT_START_TIME
Date and time of the first snapshot in the ISO 1801 format, and
alignment time for future snapshots. For example, 2024-01-01T01:00:00Z.
If not specified, the current time will be used.
--redis-config=[KEY=VALUE,...]
A list of Redis config KEY=VALUE pairs to set on the Redis Cluster
according to http://redis.io/topics/config. Currently the supported
Redis configs are:
maxmemory-clients, maxmemory, maxmemory-policy, notify-keyspace-events,
slowlog-log-slower-than, maxclients.
--replica-count=REPLICA_COUNT
The replica count of each shard.

View file

@ -3,8 +3,13 @@ NAME
instance
SYNOPSIS
gcloud beta redis clusters update (CLUSTER : --region=REGION) [--async]
[--replica-count=REPLICA_COUNT] [--shard-count=SHARD_COUNT]
gcloud beta redis clusters update (CLUSTER : --region=REGION)
[--aof-append-fsync=AOF_APPEND_FSYNC] [--async]
[--persistence-mode=PERSISTENCE_MODE]
[--rdb-snapshot-period=RDB_SNAPSHOT_PERIOD]
[--rdb-snapshot-start-time=RDB_SNAPSHOT_START_TIME]
[--remove-redis-config=[KEY,...]] [--replica-count=REPLICA_COUNT]
[--shard-count=SHARD_COUNT] [--update-redis-config=KEY=VALUE]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
@ -56,16 +61,65 @@ POSITIONAL ARGUMENTS
▸ set the property redis/region.
FLAGS
--aof-append-fsync=AOF_APPEND_FSYNC
Fsync configuration. AOF_APPEND_FSYNC must be one of:
always
Redis explicitly calls fsync for every write command.
everysec
(default) Redis explicitly calls fsync every second.
no
Redis will not explicitly call fsync.
--async
Return immediately, without waiting for the operation in progress to
complete.
--persistence-mode=PERSISTENCE_MODE
Operation mode for persistence. PERSISTENCE_MODE must be one of:
aof
AOF-based persistence
disabled
Persistence mode is disabled
rdb
RDB-based persistence
--rdb-snapshot-period=RDB_SNAPSHOT_PERIOD
Attempted period between RDB snapshots. RDB_SNAPSHOT_PERIOD must be one
of:
12h
12 hours
1h
1 hour
24h
(default) 24 hours
6h
6 hours
--rdb-snapshot-start-time=RDB_SNAPSHOT_START_TIME
Date and time of the first snapshot in the ISO 1801 format, and
alignment time for future snapshots. For example, 2024-01-01T01:00:00Z.
If not specified, the current time will be used.
--remove-redis-config=[KEY,...]
A list of Redis Cluster config parameters to remove. Removing a
non-existent config parameter is silently ignored.
--replica-count=REPLICA_COUNT
The replica count of each shard.
--shard-count=SHARD_COUNT
The shard count of the cluster.
--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.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,