mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Wed Dec 11 10:18:23 UTC 2024
This commit is contained in:
parent
ad2752c6c9
commit
ec6dc40f99
493 changed files with 17655 additions and 1753 deletions
|
|
@ -4,7 +4,7 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha redis clusters backups list
|
||||
(--backup_collection=BACKUP_COLLECTION : --region=REGION)
|
||||
(--backup-collection=BACKUP_COLLECTION : --region=REGION)
|
||||
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
|
||||
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
|
|
@ -17,7 +17,7 @@ EXAMPLES
|
|||
To list up to 5 backups in the us-central1 region, run:
|
||||
|
||||
$ gcloud alpha redis clusters backups list \
|
||||
--backup_collection=my-collection --region=us-central1 --limit=5
|
||||
--backup-collection=my-collection --region=us-central1 --limit=5
|
||||
|
||||
REQUIRED FLAGS
|
||||
Backup collection resource - The backup collection of the backups to
|
||||
|
|
@ -26,19 +26,19 @@ REQUIRED FLAGS
|
|||
group but can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument --backup_collection on the command line with a
|
||||
◆ provide the argument --backup-collection 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.
|
||||
|
||||
--backup_collection=BACKUP_COLLECTION
|
||||
--backup-collection=BACKUP_COLLECTION
|
||||
ID of the backup collection or fully qualified identifier for the
|
||||
backup collection.
|
||||
|
||||
To set the backup_collection attribute:
|
||||
▸ provide the argument --backup_collection on the command line.
|
||||
To set the backup-collection attribute:
|
||||
▸ provide the argument --backup-collection on the command line.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
|
@ -48,7 +48,7 @@ REQUIRED FLAGS
|
|||
default redis/region property value for this command invocation.
|
||||
|
||||
To set the region attribute:
|
||||
▸ provide the argument --backup_collection on the command line with
|
||||
▸ provide the argument --backup-collection on the command line with
|
||||
a fully specified name;
|
||||
▸ provide the argument --region on the command line;
|
||||
▸ set the property redis/region.
|
||||
|
|
|
|||
|
|
@ -5,6 +5,9 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud alpha redis clusters create (CLUSTER : --region=REGION)
|
||||
[--aof-append-fsync=AOF_APPEND_FSYNC] [--async] [--auth-mode=AUTH_MODE]
|
||||
[--automated-backup-mode=AUTOMATED_BACKUP_MODE]
|
||||
[--automated-backup-start-time=AUTOMATED_BACKUP_START_TIME]
|
||||
[--automated-backup-ttl=AUTOMATED_BACKUP_TTL]
|
||||
[--cross-cluster-replication-role=CROSS_CLUSTER_REPLICATION_ROLE]
|
||||
[--deletion-protection]
|
||||
[--maintenance-window-day=MAINTENANCE_WINDOW_DAY]
|
||||
|
|
@ -111,6 +114,25 @@ FLAGS
|
|||
iam-auth
|
||||
IAM basic authorization is enabled for the cluster.
|
||||
|
||||
--automated-backup-mode=AUTOMATED_BACKUP_MODE
|
||||
Automated backup mode. AUTOMATED_BACKUP_MODE must be one of:
|
||||
|
||||
disabled
|
||||
(default) Automated backup is disabled.
|
||||
|
||||
enabled
|
||||
Automated backup is enabled.
|
||||
|
||||
--automated-backup-start-time=AUTOMATED_BACKUP_START_TIME
|
||||
One-hour window when you want automated-backup operations to start.
|
||||
Specify the time in the format HH:00 on a 24-hour cycle in UTC time.
|
||||
|
||||
--automated-backup-ttl=AUTOMATED_BACKUP_TTL
|
||||
Time to live for automated backups. A backup will be deleted
|
||||
automatically after the TTL is reached. It ranges from 1 day to 365
|
||||
days. For example, "10d" for 10 days. If not specified, the default
|
||||
value is 35 days.
|
||||
|
||||
--cross-cluster-replication-role=CROSS_CLUSTER_REPLICATION_ROLE
|
||||
The role of the cluster in cross cluster replication.
|
||||
CROSS_CLUSTER_REPLICATION_ROLE must be (only one value is supported):
|
||||
|
|
@ -219,11 +241,11 @@ FLAGS
|
|||
At most one of these can be specified:
|
||||
|
||||
--import-gcs-object-uris=[IMPORT_GCS_OBJECT_URIS,...]
|
||||
The URIs of Google Cloud Storage objects to import from. For example,
|
||||
URIs of Google Cloud Storage objects to import from. For example,
|
||||
gs://bucket/folder/file1.rdb,gs://bucket/folder/file2.rdb.
|
||||
|
||||
--import-managed-backup=IMPORT_MANAGED_BACKUP
|
||||
The managed backup to import from. For example,
|
||||
Managed backup to import from. For example,
|
||||
projects/PROJECT_ID/locations/REGION/backupCollections/BACKUP_COLLECTION_ID/backups/BACKUP_ID.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
|
|
|
|||
|
|
@ -4,7 +4,10 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha redis clusters update (CLUSTER : --region=REGION)
|
||||
[--aof-append-fsync=AOF_APPEND_FSYNC] [--async] [--deletion-protection]
|
||||
[--aof-append-fsync=AOF_APPEND_FSYNC] [--async]
|
||||
[--automated-backup-mode=AUTOMATED_BACKUP_MODE]
|
||||
[--automated-backup-start-time=AUTOMATED_BACKUP_START_TIME]
|
||||
[--automated-backup-ttl=AUTOMATED_BACKUP_TTL] [--deletion-protection]
|
||||
[--persistence-mode=PERSISTENCE_MODE]
|
||||
[--rdb-snapshot-period=RDB_SNAPSHOT_PERIOD]
|
||||
[--rdb-snapshot-start-time=RDB_SNAPSHOT_START_TIME]
|
||||
|
|
@ -80,6 +83,25 @@ FLAGS
|
|||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--automated-backup-mode=AUTOMATED_BACKUP_MODE
|
||||
Automated backup mode. AUTOMATED_BACKUP_MODE must be one of:
|
||||
|
||||
disabled
|
||||
(default) Automated backup is disabled.
|
||||
|
||||
enabled
|
||||
Automated backup is enabled.
|
||||
|
||||
--automated-backup-start-time=AUTOMATED_BACKUP_START_TIME
|
||||
One-hour window when you want automated-backup operations to start.
|
||||
Specify the time in the format HH:00 on a 24-hour cycle in UTC time.
|
||||
|
||||
--automated-backup-ttl=AUTOMATED_BACKUP_TTL
|
||||
Time to live for automated backups. A backup will be deleted
|
||||
automatically after the TTL is reached. It ranges from 1 day to 365
|
||||
days. For example, "10d" for 10 days. If not specified, the default
|
||||
value is 35 days.
|
||||
|
||||
--deletion-protection
|
||||
Enable deletion protection for the Redis Cluster. Use
|
||||
--deletion-protection/--no-deletion-protection to enable/disable it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue