mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-22 07:40:10 +00:00
gcloud: Thu Feb 20 10:40:27 UTC 2025
This commit is contained in:
parent
44f319c56c
commit
8d1a988ab5
295 changed files with 11246 additions and 956 deletions
|
|
@ -3,12 +3,14 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud beta memorystore instances create (INSTANCE : --location=LOCATION)
|
||||
--psc-auto-connections=[network=NETWORK],[projectId=PROJECTID]
|
||||
[--async] [--authorization-mode=AUTHORIZATION_MODE]
|
||||
[--deletion-protection-enabled] [--engine-configs=[ENGINE_CONFIGS,...]]
|
||||
[--deletion-protection-enabled] [--endpoints=[connections=CONNECTIONS]]
|
||||
[--engine-configs=[ENGINE_CONFIGS,...]]
|
||||
[--engine-version=ENGINE_VERSION] [--labels=[LABELS,...]] [--mode=MODE]
|
||||
[--node-type=NODE_TYPE] [--replica-count=REPLICA_COUNT]
|
||||
[--request-id=REQUEST_ID] [--shard-count=SHARD_COUNT]
|
||||
[--node-type=NODE_TYPE]
|
||||
[--psc-auto-connections=[network=NETWORK],[projectId=PROJECTID]]
|
||||
[--replica-count=REPLICA_COUNT] [--request-id=REQUEST_ID]
|
||||
[--shard-count=SHARD_COUNT]
|
||||
[--transit-encryption-mode=TRANSIT_ENCRYPTION_MODE]
|
||||
[--aof-config-append-fsync=AOF_CONFIG_APPEND_FSYNC
|
||||
--persistence-config-mode=PERSISTENCE_CONFIG_MODE
|
||||
|
|
@ -76,31 +78,7 @@ POSITIONAL ARGUMENTS
|
|||
specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--psc-auto-connections=[network=NETWORK],[projectId=PROJECTID]
|
||||
Required, User inputs and resource details of the auto-created PSC
|
||||
connections.
|
||||
|
||||
network
|
||||
The consumer network where the IP address resides, in the form of
|
||||
projects/{project_id}/global/networks/{network_id}.
|
||||
|
||||
projectId
|
||||
The consumer project_id where the forwarding rule is created from.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--psc-auto-connections=network=string,projectId=string --psc-auto-connections=network=string,projectId=string
|
||||
|
||||
JSON Example:
|
||||
|
||||
--psc-auto-connections='[{"network": "string", "projectId": "string"}]'
|
||||
|
||||
File Example:
|
||||
|
||||
--psc-auto-connections=path_to_file.(yaml|json)
|
||||
|
||||
OPTIONAL FLAGS
|
||||
FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
|
@ -118,6 +96,38 @@ OPTIONAL FLAGS
|
|||
--deletion-protection-enabled
|
||||
If set to true deletion of the instance will fail.
|
||||
|
||||
--endpoints=[connections=CONNECTIONS]
|
||||
Endpoints for the instance.
|
||||
|
||||
connections
|
||||
A group of PSC connections. They are created in the same VPC
|
||||
network, one for each service attachment in the cluster.
|
||||
|
||||
pscAutoConnection
|
||||
Detailed information of a PSC connection that is created
|
||||
through service connectivity automation.
|
||||
|
||||
network
|
||||
The network where the PSC endpoints are created, in the
|
||||
form of projects/{project_id}/global/networks/{network_id}.
|
||||
|
||||
projectId
|
||||
The consumer project_id where PSC connections are
|
||||
established. This should be the same project_id that the
|
||||
instance is being created in.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--endpoints=connections=[{pscAutoConnection={network=string,projectId=string}}] --endpoints=connections=[{pscAutoConnection={network=string,projectId=string}}]
|
||||
|
||||
JSON Example:
|
||||
|
||||
--endpoints='[{"connections": [{"pscAutoConnection": {"network": "string", "projectId": "string"}}]}]'
|
||||
|
||||
File Example:
|
||||
|
||||
--endpoints=path_to_file.(yaml|json)
|
||||
|
||||
--engine-configs=[ENGINE_CONFIGS,...]
|
||||
User-provided engine configurations for the instance.
|
||||
|
||||
|
|
@ -172,6 +182,8 @@ OPTIONAL FLAGS
|
|||
Instance is in cluster mode.
|
||||
cluster-disabled
|
||||
Cluster mode is disabled for the instance.
|
||||
standalone
|
||||
Deprecated: Use CLUSTER_DISABLED instead.
|
||||
|
||||
--node-type=NODE_TYPE
|
||||
Machine type for individual nodes of the instance. NODE_TYPE must be
|
||||
|
|
@ -186,6 +198,30 @@ OPTIONAL FLAGS
|
|||
standard-small
|
||||
Standard small.
|
||||
|
||||
--psc-auto-connections=[network=NETWORK],[projectId=PROJECTID]
|
||||
User inputs and resource details of the auto-created PSC connections.
|
||||
|
||||
network
|
||||
The network where the PSC endpoints are created, in the form of
|
||||
projects/{project_id}/global/networks/{network_id}.
|
||||
|
||||
projectId
|
||||
The consumer project_id where PSC connections are established. This
|
||||
should be the same project_id that the instance is being created
|
||||
in.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--psc-auto-connections=network=string,projectId=string --psc-auto-connections=network=string,projectId=string
|
||||
|
||||
JSON Example:
|
||||
|
||||
--psc-auto-connections='[{"network": "string", "projectId": "string"}]'
|
||||
|
||||
File Example:
|
||||
|
||||
--psc-auto-connections=path_to_file.(yaml|json)
|
||||
|
||||
Arguments for the replica count.
|
||||
|
||||
--replica-count=REPLICA_COUNT
|
||||
|
|
|
|||
|
|
@ -4,13 +4,17 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud beta memorystore instances update (INSTANCE : --location=LOCATION)
|
||||
[--async] [--[no-]deletion-protection-enabled]
|
||||
[--async] [--[no-]deletion-protection-enabled] [--mode=MODE]
|
||||
[--replica-count=REPLICA_COUNT] [--request-id=REQUEST_ID]
|
||||
[--shard-count=SHARD_COUNT]
|
||||
[--aof-config-append-fsync=AOF_CONFIG_APPEND_FSYNC
|
||||
--clear-persistence-config
|
||||
--persistence-config-mode=PERSISTENCE_CONFIG_MODE
|
||||
--rdb-config-snapshot-period=RDB_CONFIG_SNAPSHOT_PERIOD
|
||||
--rdb-config-snapshot-start-time=RDB_CONFIG_SNAPSHOT_START_TIME]
|
||||
[--endpoints=[connections=CONNECTIONS]
|
||||
| --add-endpoints=[connections=CONNECTIONS] --clear-endpoints
|
||||
| --remove-endpoints=[connections=CONNECTIONS]]
|
||||
[--engine-configs=[ENGINE_CONFIGS,...]
|
||||
| --update-engine-configs=[UPDATE_ENGINE_CONFIGS,...]
|
||||
--clear-engine-configs
|
||||
|
|
@ -80,6 +84,16 @@ FLAGS
|
|||
--deletion-protection-enabled to enable and
|
||||
--no-deletion-protection-enabled to disable.
|
||||
|
||||
--mode=MODE
|
||||
The mode config for the instance. MODE must be one of:
|
||||
|
||||
cluster
|
||||
Instance is in cluster mode.
|
||||
cluster-disabled
|
||||
Cluster mode is disabled for the instance.
|
||||
standalone
|
||||
Deprecated: Use CLUSTER_DISABLED instead.
|
||||
|
||||
Arguments for the replica count.
|
||||
|
||||
--replica-count=REPLICA_COUNT
|
||||
|
|
@ -122,6 +136,9 @@ FLAGS
|
|||
with this configuration, but it's up to the kernel's exact
|
||||
tuning.
|
||||
|
||||
--clear-persistence-config
|
||||
Set instance.persistenceConfig back to default value.
|
||||
|
||||
--persistence-config-mode=PERSISTENCE_CONFIG_MODE
|
||||
Current persistence mode. PERSISTENCE_CONFIG_MODE must be one of:
|
||||
|
||||
|
|
@ -152,6 +169,151 @@ FLAGS
|
|||
future snapshots will be aligned. If not provided, the current time
|
||||
will be used.
|
||||
|
||||
Update endpoints.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--endpoints=[connections=CONNECTIONS]
|
||||
Set endpoints to new value. Endpoints for the instance.
|
||||
|
||||
connections
|
||||
A group of PSC connections. They are created in the same VPC
|
||||
network, one for each service attachment in the cluster.
|
||||
|
||||
pscConnection
|
||||
Detailed information of a PSC connection that is created by
|
||||
the user.
|
||||
|
||||
forwardingRule
|
||||
The URI of the consumer side forwarding rule. Format:
|
||||
projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}.
|
||||
|
||||
ipAddress
|
||||
The IP allocated on the consumer network for the PSC
|
||||
forwarding rule.
|
||||
|
||||
network
|
||||
The consumer network where the IP address resides, in the
|
||||
form of
|
||||
projects/{project_id}/global/networks/{network_id}.
|
||||
|
||||
pscConnectionId
|
||||
The PSC connection id of the forwarding rule connected to
|
||||
the service attachment.
|
||||
|
||||
serviceAttachment
|
||||
The service attachment which is the target of the PSC
|
||||
connection, in the form of
|
||||
projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--endpoints=connections=[{pscConnection={forwardingRule=string,ipAddress=string,network=string,pscConnectionId=string,serviceAttachment=string}}] --endpoints=connections=[{pscConnection={forwardingRule=string,ipAddress=string,network=string,pscConnectionId=string,serviceAttachment=string}}]
|
||||
|
||||
JSON Example:
|
||||
|
||||
--endpoints='[{"connections": [{"pscConnection": {"forwardingRule": "string", "ipAddress": "string", "network": "string", "pscConnectionId": "string", "serviceAttachment": "string"}}]}]'
|
||||
|
||||
File Example:
|
||||
|
||||
--endpoints=path_to_file.(yaml|json)
|
||||
|
||||
--add-endpoints=[connections=CONNECTIONS]
|
||||
Add new value to endpoints list. Endpoints for the instance.
|
||||
|
||||
connections
|
||||
A group of PSC connections. They are created in the same VPC
|
||||
network, one for each service attachment in the cluster.
|
||||
|
||||
pscConnection
|
||||
Detailed information of a PSC connection that is created by
|
||||
the user.
|
||||
|
||||
forwardingRule
|
||||
The URI of the consumer side forwarding rule. Format:
|
||||
projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}.
|
||||
|
||||
ipAddress
|
||||
The IP allocated on the consumer network for the PSC
|
||||
forwarding rule.
|
||||
|
||||
network
|
||||
The consumer network where the IP address resides, in the
|
||||
form of
|
||||
projects/{project_id}/global/networks/{network_id}.
|
||||
|
||||
pscConnectionId
|
||||
The PSC connection id of the forwarding rule connected to
|
||||
the service attachment.
|
||||
|
||||
serviceAttachment
|
||||
The service attachment which is the target of the PSC
|
||||
connection, in the form of
|
||||
projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--add-endpoints=connections=[{pscConnection={forwardingRule=string,ipAddress=string,network=string,pscConnectionId=string,serviceAttachment=string}}] --add-endpoints=connections=[{pscConnection={forwardingRule=string,ipAddress=string,network=string,pscConnectionId=string,serviceAttachment=string}}]
|
||||
|
||||
JSON Example:
|
||||
|
||||
--add-endpoints='[{"connections": [{"pscConnection": {"forwardingRule": "string", "ipAddress": "string", "network": "string", "pscConnectionId": "string", "serviceAttachment": "string"}}]}]'
|
||||
|
||||
File Example:
|
||||
|
||||
--add-endpoints=path_to_file.(yaml|json)
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-endpoints
|
||||
Clear endpoints value and set to empty list.
|
||||
|
||||
--remove-endpoints=[connections=CONNECTIONS]
|
||||
Remove existing value from endpoints list. Endpoints for the
|
||||
instance.
|
||||
|
||||
connections
|
||||
A group of PSC connections. They are created in the same VPC
|
||||
network, one for each service attachment in the cluster.
|
||||
|
||||
pscConnection
|
||||
Detailed information of a PSC connection that is created by
|
||||
the user.
|
||||
|
||||
forwardingRule
|
||||
The URI of the consumer side forwarding rule. Format:
|
||||
projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}.
|
||||
|
||||
ipAddress
|
||||
The IP allocated on the consumer network for the PSC
|
||||
forwarding rule.
|
||||
|
||||
network
|
||||
The consumer network where the IP address resides, in
|
||||
the form of
|
||||
projects/{project_id}/global/networks/{network_id}.
|
||||
|
||||
pscConnectionId
|
||||
The PSC connection id of the forwarding rule connected
|
||||
to the service attachment.
|
||||
|
||||
serviceAttachment
|
||||
The service attachment which is the target of the PSC
|
||||
connection, in the form of
|
||||
projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
|
||||
|
||||
Shorthand Example:
|
||||
|
||||
--remove-endpoints=connections=[{pscConnection={forwardingRule=string,ipAddress=string,network=string,pscConnectionId=string,serviceAttachment=string}}] --remove-endpoints=connections=[{pscConnection={forwardingRule=string,ipAddress=string,network=string,pscConnectionId=string,serviceAttachment=string}}]
|
||||
|
||||
JSON Example:
|
||||
|
||||
--remove-endpoints='[{"connections": [{"pscConnection": {"forwardingRule": "string", "ipAddress": "string", "network": "string", "pscConnectionId": "string", "serviceAttachment": "string"}}]}]'
|
||||
|
||||
File Example:
|
||||
|
||||
--remove-endpoints=path_to_file.(yaml|json)
|
||||
|
||||
Update engine_configs.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue