mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
gcloud: Wed Mar 23 08:27:29 UTC 2022
This commit is contained in:
parent
971306823a
commit
cd34e797ae
109 changed files with 1563 additions and 627 deletions
|
|
@ -6,6 +6,8 @@ SYNOPSIS
|
|||
[--alternative-zone=ALTERNATIVE_ZONE] [--async]
|
||||
[--connect-mode=CONNECT_MODE] [--display-name=DISPLAY_NAME]
|
||||
[--enable-auth] [--labels=[KEY=VALUE,...]]
|
||||
[--maintenance-window-day=MAINTENANCE_WINDOW_DAY]
|
||||
[--maintenance-window-hour=MAINTENANCE_WINDOW_HOUR]
|
||||
[--network=NETWORK; default="default"]
|
||||
[--read-replicas-mode=READ_REPLICAS_MODE] [--redis-config=KEY=VALUE]
|
||||
[--redis-version=VERSION] [--replica-count=REPLICA_COUNT]
|
||||
|
|
@ -88,6 +90,16 @@ FLAGS
|
|||
contain only hyphens (-), underscores (_), lowercase characters, and
|
||||
numbers.
|
||||
|
||||
--maintenance-window-day=MAINTENANCE_WINDOW_DAY
|
||||
Day of week for maintenance window, in UTC time zone.
|
||||
MAINTENANCE_WINDOW_DAY must be one of: SUNDAY, MONDAY, TUESDAY,
|
||||
WEDNESDAY, THURSDAY, FRIDAY, SATURDAY. MAINTENANCE_WINDOW_DAY must be
|
||||
one of: day-of-week-unspecified, friday, monday, saturday, sunday,
|
||||
thursday, tuesday, wednesday.
|
||||
|
||||
--maintenance-window-hour=MAINTENANCE_WINDOW_HOUR
|
||||
Hour of day (0 to 23) for maintenance window, in UTC time zone.
|
||||
|
||||
--network=NETWORK; default="default"
|
||||
The name of the Google Compute Engine network to which the instance
|
||||
will be connected. If left unspecified, the default network will be
|
||||
|
|
@ -138,10 +150,15 @@ FLAGS
|
|||
The replica count of the instance.
|
||||
|
||||
--reserved-ip-range=RESERVED_IP_RANGE
|
||||
The CIDR range of internal addresses that are reserved for this
|
||||
instance. For example, 10.0.0.0/29 or 192.168.0.0/29. Range must be
|
||||
unique and non-overlapping with existing ranges in the network. If left
|
||||
unspecified, the service will automatically pick an available range.
|
||||
For DIRECT_PEERING mode, the CIDR range of internal addresses that are
|
||||
reserved for this instance. Range must be unique and non-overlapping
|
||||
with existing subnets in an authorized network. For
|
||||
PRIVATE_SERVICE_ACCESS mode, the name of an IP address range allocated
|
||||
for the private service access connection. If not provided, the service
|
||||
will choose an unused /29 block, for example, 10.0.0.0/29 or
|
||||
192.168.0.0/29. If READ_REPLICAS_ENABLED is used for the
|
||||
--read-replicas-mode flag, then the block size required for this flag
|
||||
is /28.
|
||||
|
||||
--size=SIZE; default=1
|
||||
The memory size of the instance in GiB. If not provided, size of 1 GiB
|
||||
|
|
|
|||
|
|
@ -60,6 +60,9 @@ COMMANDS
|
|||
list
|
||||
List Memorystore Redis instances.
|
||||
|
||||
reschedule-maintenance
|
||||
Reschedule maintenance window for a Redis instance.
|
||||
|
||||
update
|
||||
Update Memorystore Redis instances.
|
||||
|
||||
|
|
|
|||
91
gcloud/redis/instances/reschedule-maintenance
Normal file
91
gcloud/redis/instances/reschedule-maintenance
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
NAME
|
||||
gcloud redis instances reschedule-maintenance - reschedule maintenance
|
||||
window for a Redis instance
|
||||
|
||||
SYNOPSIS
|
||||
gcloud redis instances reschedule-maintenance (INSTANCE : --region=REGION)
|
||||
--reschedule-type=RESCHEDULE_TYPE [--async]
|
||||
[--schedule-time=SCHEDULE_TIME] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Reschedule maintenance window for a Redis instance.
|
||||
|
||||
EXAMPLES
|
||||
To reschedule maintenance window for an instance with the name
|
||||
'my-redis-instance' in region 'us-central-1' with next available window,
|
||||
run:
|
||||
|
||||
$ gcloud redis instances reschedule-maintenance my-redis-instance \
|
||||
--region=us-central1 --reschedule-type=next-available-window
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Instance resource - Arguments and flags that specify the Cloud Memorystore
|
||||
for Redis 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 instance 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.
|
||||
|
||||
INSTANCE
|
||||
ID of the instance or fully qualified identifier for the instance. To
|
||||
set the instance attribute:
|
||||
▸ provide the argument instance on the command line.
|
||||
|
||||
This positional must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--region=REGION
|
||||
The name of the Redis region of the instance. Overrides the default
|
||||
redis/region property value for this command invocation.
|
||||
|
||||
To set the region attribute:
|
||||
▸ provide the argument instance 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, NEXT-AVAILABLE-WINDOW, or
|
||||
SPECIFIC-TIME. RESCHEDULE_TYPE must be one of:
|
||||
|
||||
immediate
|
||||
Reschedule the maintenance window to perform now.
|
||||
next-available-window
|
||||
Reschedule the maintenance window to the next available window.
|
||||
specific-time
|
||||
Reschedule the maintenance window 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 instances reschedule-maintenance
|
||||
|
||||
$ gcloud beta redis instances reschedule-maintenance
|
||||
|
||||
|
|
@ -8,7 +8,11 @@ SYNOPSIS
|
|||
[--remove-redis-config=[KEY,...]] [--replica-count=REPLICA_COUNT]
|
||||
[--secondary-ip-range=SECONDARY_IP_RANGE] [--size=SIZE]
|
||||
[--update-labels=[KEY=VALUE,...]] [--update-redis-config=KEY=VALUE]
|
||||
[--clear-labels | --remove-labels=[KEY,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
[--clear-labels | --remove-labels=[KEY,...]]
|
||||
[--maintenance-window-any
|
||||
| --maintenance-window-day=MAINTENANCE_WINDOW_DAY
|
||||
--maintenance-window-hour=MAINTENANCE_WINDOW_HOUR]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Update the metadata and/or configuration parameters of a Redis instance.
|
||||
|
|
@ -149,6 +153,21 @@ FLAGS
|
|||
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
|
||||
Removes the user-specified maintenance window.
|
||||
|
||||
--maintenance-window-day=MAINTENANCE_WINDOW_DAY
|
||||
Day of week for maintenance window, in UTC time zone.
|
||||
MAINTENANCE_WINDOW_DAY must be one of: SUNDAY, MONDAY, TUESDAY,
|
||||
WEDNESDAY, THURSDAY, FRIDAY, SATURDAY. MAINTENANCE_WINDOW_DAY must be
|
||||
one of: day-of-week-unspecified, friday, monday, saturday, sunday,
|
||||
thursday, tuesday, wednesday.
|
||||
|
||||
--maintenance-window-hour=MAINTENANCE_WINDOW_HOUR
|
||||
Hour of day (0 to 23) for 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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue