mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-19 07:15:23 +00:00
gcloud: Tue Mar 1 21:43:54 UTC 2022
This commit is contained in:
parent
c1c3b75313
commit
21878eea72
1018 changed files with 4838 additions and 3409 deletions
|
|
@ -21,12 +21,12 @@ EXAMPLES
|
|||
The following command creates a Filestore instance named NAME with a single
|
||||
volume.
|
||||
|
||||
$ gcloud alpha filestore instances create NAME \
|
||||
--description=DESCRIPTION --tier=TIER \
|
||||
--file-share=name=VOLUME_NAME,capacity=CAPACITY \
|
||||
$ gcloud alpha filestore instances create NAME \
|
||||
--description=DESCRIPTION --tier=TIER \
|
||||
--file-share=name=VOLUME_NAME,capacity=CAPACITY \
|
||||
--network=name=NETWORK_NAME,\
|
||||
reserved-ip-range=RESERVED_IP_RANGE,connect-mode=CONNECT_MODE \
|
||||
--zone=ZONE --flags-file=FLAGS_FILE
|
||||
reserved-ip-range=RESERVED_IP_RANGE,connect-mode=CONNECT_MODE \
|
||||
--zone=ZONE --flags-file=FLAGS_FILE
|
||||
|
||||
Example json configuration file:
|
||||
{ "--file-share": { "capacity": "61440",
|
||||
|
|
|
|||
|
|
@ -21,10 +21,8 @@ EXAMPLES
|
|||
'my-backup' in the region europe-west3.
|
||||
|
||||
$ gcloud alpha filestore instances restore my-instance \
|
||||
--zone=europe-west3-a \
|
||||
--file-share=vol1 \
|
||||
--source-backup=my-backup \
|
||||
--source-backup-region=europe-west3
|
||||
--zone=europe-west3-a --file-share=vol1 \
|
||||
--source-backup=my-backup --source-backup-region=europe-west3
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Instance resource - Arguments and flags that specify the Filestore
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ EXAMPLES
|
|||
capacity to CAPACITY.
|
||||
|
||||
$ gcloud alpha filestore instances update NAME \
|
||||
--project=PROJECT_ID --zone=ZONE \
|
||||
--project=PROJECT_ID --zone=ZONE \
|
||||
--file-share=name=VOLUME_NAME,capacity=CAPACITY
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ EXAMPLES
|
|||
run:
|
||||
|
||||
$ gcloud alpha filestore snapshots create my-snapshot \
|
||||
--instance=my-instance --file-share=my-fs
|
||||
--instance=my-instance --file-share=my-fs \
|
||||
--instance-zone=us-central1-c
|
||||
|
||||
To create a snapshot with the name 'my-snapshot' in a particular region
|
||||
|
|
@ -27,7 +27,7 @@ EXAMPLES
|
|||
and the source file share called 'my-fs', run:
|
||||
|
||||
$ gcloud alpha filestore snapshots create my-snapshot \
|
||||
--instance=my-instance --file-share=my-fs
|
||||
--instance=my-instance --file-share=my-fs \
|
||||
--instance-zone=us-central1-c --region=us-central1
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue