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
|
|
@ -7,6 +7,9 @@ SYNOPSIS
|
|||
--node-count=NODE_COUNT --node-cpu=NODE_CPU --node-memory=NODE_MEMORY
|
||||
[--async] [--authorized-network=AUTHORIZED_NETWORK]
|
||||
[--display-name=DISPLAY_NAME] [--labels=KEY=VALUE]
|
||||
[--maintenance-window-day=MAINTENANCE_WINDOW_DAY]
|
||||
[--maintenance-window-duration=MAINTENANCE_WINDOW_DURATION]
|
||||
[--maintenance-window-start-time=MAINTENANCE_WINDOW_START_TIME]
|
||||
[--memcached-version=MEMCACHED_VERSION] [--parameters=KEY=VALUE]
|
||||
[--zones=[ZONES,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
|
|
@ -87,6 +90,18 @@ OPTIONAL FLAGS
|
|||
--labels=KEY=VALUE
|
||||
List of label KEY=VALUE pairs to add.
|
||||
|
||||
--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-duration=MAINTENANCE_WINDOW_DURATION
|
||||
Duration of the maintenance window in integer hours, e.g 4.
|
||||
|
||||
--maintenance-window-start-time=MAINTENANCE_WINDOW_START_TIME
|
||||
Hour of day (0 to 23) for the start of maintenance window, in UTC time
|
||||
zone.
|
||||
|
||||
--memcached-version=MEMCACHED_VERSION
|
||||
Optional major version of Memcached software to use with the instance.
|
||||
If not provided, default of "1.5" will be used. MEMCACHED_VERSION must
|
||||
|
|
|
|||
|
|
@ -36,6 +36,9 @@ COMMANDS
|
|||
list
|
||||
(BETA) List Memorystore Memcached instances.
|
||||
|
||||
reschedule-maintenance
|
||||
(BETA) Reschedule maintenance window for a Memcache instance.
|
||||
|
||||
update
|
||||
(BETA) Update a Memorystore Memcached instance.
|
||||
|
||||
|
|
|
|||
90
gcloud/beta/memcache/instances/reschedule-maintenance
Normal file
90
gcloud/beta/memcache/instances/reschedule-maintenance
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
NAME
|
||||
gcloud beta memcache instances reschedule-maintenance - reschedule
|
||||
maintenance window for a Memcache instance
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta memcache instances reschedule-maintenance
|
||||
(INSTANCE : --region=REGION) --reschedule-type=RESCHEDULE_TYPE
|
||||
[--async] [--schedule-time=SCHEDULE_TIME] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Reschedule maintenance window for a Memcache instance.
|
||||
|
||||
EXAMPLES
|
||||
To reschedule maintenance window for an instance with the name
|
||||
'my-memcache-instance' in region 'us-central-1' with next available window,
|
||||
run:
|
||||
|
||||
$ gcloud beta memcache instances reschedule-maintenance \
|
||||
my-memcache-instance --region=us-central1 \
|
||||
--reschedule-type=next-available-window
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Instance resource - Arguments and flags that specify the Cloud Memorystore
|
||||
for Memcache 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 Memcached region of the instance. Overrides the
|
||||
default memcache/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 memcache/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.
|
||||
next-available-window
|
||||
Reschedule the maintenance to the next available window.
|
||||
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 memcache/v1beta2 API. The full documentation for this
|
||||
API can be found at: https://cloud.google.com/memorystore/
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha memcache instances reschedule-maintenance
|
||||
|
||||
|
|
@ -5,8 +5,11 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud beta memcache instances update (INSTANCE : --region=REGION)
|
||||
(--parameters=KEY=VALUE | --display-name=DISPLAY_NAME
|
||||
--labels=KEY=VALUE --node-count=NODE_COUNT) [--async]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
--labels=KEY=VALUE --node-count=NODE_COUNT --maintenance-window-any
|
||||
| --maintenance-window-day=MAINTENANCE_WINDOW_DAY
|
||||
--maintenance-window-duration=MAINTENANCE_WINDOW_DURATION
|
||||
--maintenance-window-start-time=MAINTENANCE_WINDOW_START_TIME)
|
||||
[--async] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Update a Memcached instance with one or more of the following
|
||||
|
|
@ -144,6 +147,23 @@ REQUIRED FLAGS
|
|||
Number of memcache nodes in this instance. Valid values range from 1
|
||||
to 20.
|
||||
|
||||
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-duration=MAINTENANCE_WINDOW_DURATION
|
||||
Duration of the maintenance window in integer hours, e.g '4'.
|
||||
|
||||
--maintenance-window-start-time=MAINTENANCE_WINDOW_START_TIME
|
||||
Hour of day (0 to 23) for the start of maintenance window, in UTC
|
||||
time zone.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue