1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 02:25:19 +00:00

gcloud: Wed Aug 28 09:41:07 UTC 2024

This commit is contained in:
Automated 2024-08-28 09:41:07 +00:00
parent ed5fe34b64
commit afbe8a5afb
256 changed files with 8602 additions and 358 deletions

View file

@ -5,8 +5,10 @@ NAME
SYNOPSIS
gcloud redis clusters create (CLUSTER : --region=REGION) --network=NETWORK
[--aof-append-fsync=AOF_APPEND_FSYNC] [--async] [--auth-mode=AUTH_MODE]
[--deletion-protection] [--node-type=NODE_TYPE]
[--persistence-mode=PERSISTENCE_MODE]
[--deletion-protection]
[--maintenance-window-day=MAINTENANCE_WINDOW_DAY]
[--maintenance-window-hour=MAINTENANCE_WINDOW_HOUR]
[--node-type=NODE_TYPE] [--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]
@ -116,6 +118,15 @@ OPTIONAL FLAGS
Enable deletion protection for the Redis Cluster. Use
--deletion-protection/--no-deletion-protection to enable/disable it.
--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,
wednesday.
--maintenance-window-hour=MAINTENANCE_WINDOW_HOUR
Hour of day (0 to 23) for the start of maintenance window, in UTC time
zone.
--node-type=NODE_TYPE
Node Type of the redis cluster Node. NODE_TYPE must be one of:
redis-highmem-medium, redis-highmem-xlarge, redis-shared-core-nano,

View file

@ -37,6 +37,10 @@ COMMANDS
list
List Memorystore for Redis Cluster instances.
reschedule-maintenance
Reschedule maintenance window for a Memorystore for Redis Cluster
instance.
switchover
Switchover to a secondary cluster.

View file

@ -0,0 +1,90 @@
NAME
gcloud redis clusters reschedule-maintenance - reschedule maintenance
window for a Memorystore for Redis Cluster instance
SYNOPSIS
gcloud redis clusters reschedule-maintenance (CLUSTER : --region=REGION)
--reschedule-type=RESCHEDULE_TYPE [--async]
[--schedule-time=SCHEDULE_TIME] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Reschedule maintenance window for a Memorystore for Redis Cluster instance.
EXAMPLES
To reschedule maintenance window for an instance with the name
'my-redis-cluster' in region 'us-central-1' with immediate, run:
$ gcloud redis clusters reschedule-maintenance my-redis-cluster \
--region=us-central1 --reschedule-type=IMMEDIATE
POSITIONAL ARGUMENTS
Cluster resource - Arguments and flags that specify the Cloud Memorystore
for Redis cluster instance you want to reschedule maintenance window. The
arguments in this group can be used to specify the attributes of this
resource. (NOTE) Some attributes are not given arguments in this group but
can be set in other ways.
To set the project attribute:
◆ provide the argument cluster on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
CLUSTER
ID of the cluster or fully qualified identifier for the cluster.
To set the cluster attribute:
▸ provide the argument cluster on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--region=REGION
The name of the Redis region of the cluster. Overrides the default
redis/region property value for this command invocation.
To set the region attribute:
▸ provide the argument cluster on the command line with a fully
specified name;
▸ provide the argument --region on the command line;
▸ set the property redis/region.
REQUIRED FLAGS
--reschedule-type=RESCHEDULE_TYPE
Reschedule type to use for the reschedule maintenance window.
RESCHEDULE_TYPE must be one of:
immediate
Reschedule the maintenance to perform now.
specific-time
Reschedule the maintenance to a specific time.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--schedule-time=SCHEDULE_TIME
Time in RFC3339 format, for example: 2012-11-15T16:19:00.094Z
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 $ gcloud help for details.
API REFERENCE
This command uses the redis/v1 API. The full documentation for this API can
be found at: https://cloud.google.com/memorystore/docs/redis/
NOTES
These variants are also available:
$ gcloud alpha redis clusters reschedule-maintenance
$ gcloud beta redis clusters reschedule-maintenance

View file

@ -10,6 +10,9 @@ SYNOPSIS
[--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]
[--maintenance-window-any
| --maintenance-window-day=MAINTENANCE_WINDOW_DAY
--maintenance-window-hour=MAINTENANCE_WINDOW_HOUR]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
@ -123,6 +126,20 @@ FLAGS
parameter is already set, its value is modified; otherwise a new Redis
config parameter is added.
At most one of these can be specified:
--maintenance-window-any
Removes the user-specified maintenance window.
--maintenance-window-day=MAINTENANCE_WINDOW_DAY
The day of week when the window starts, e.g. sunday.
MAINTENANCE_WINDOW_DAY must be one of: friday, monday, saturday,
sunday, thursday, tuesday, wednesday.
--maintenance-window-hour=MAINTENANCE_WINDOW_HOUR
Hour of day (0 to 23) for the start of maintenance window, in UTC
time zone.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,