1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 23:08:48 +00:00

gcloud: Thu Sep 7 10:42:28 UTC 2023

This commit is contained in:
Automated 2023-09-07 10:42:28 +00:00
parent f9edf67fe5
commit 6c8d2eb024
307 changed files with 4053 additions and 1615 deletions

View file

@ -107,9 +107,10 @@ REQUIRED FLAGS
nfs-export-options
The NfsExportOptions for the Cloud Filestore instance file share.
Configuring NfsExportOptions is optional. Use the --flags-file flag
to specify the path to a JSON or YAML configuration file that
contains the required NfsExportOptions flags.
Configuring NfsExportOptions is optional and can only be set using
flags-file. Use the --flags-file flag to specify the path to a JSON
or YAML configuration file that contains the required
NfsExportOptions flags.
ip-ranges
A list of IPv4 addresses or CIDR ranges that are allowed to mount

View file

@ -3,12 +3,12 @@ NAME
SYNOPSIS
gcloud filestore instances update (INSTANCE : --zone=ZONE) [--async]
[--description=DESCRIPTION]
[--file-share=[capacity=CAPACITY],
[name=NAME],[nfs-export-options=NFS-EXPORT-OPTIONS]]
[--location=LOCATION] [--region=REGION]
[--description=DESCRIPTION] [--location=LOCATION] [--region=REGION]
[--update-labels=[KEY=VALUE,...]]
[--clear-labels | --remove-labels=[KEY,...]] [GCLOUD_WIDE_FLAG ...]
[--clear-labels | --remove-labels=[KEY,...]]
[[--file-share=[capacity=CAPACITY],
[name=NAME],[nfs-export-options=NFS-EXPORT-OPTIONS]
: --clear-nfs-export-options]] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Update a Filestore instance.
@ -99,61 +99,6 @@ FLAGS
--description=DESCRIPTION
A description of the Cloud Filestore instance.
--file-share=[capacity=CAPACITY],[name=NAME],[nfs-export-options=NFS-EXPORT-OPTIONS]
File share configuration for an instance. Specifying both name and
capacity is required.
capacity
The desired capacity of the volume in GB or TB units. If no
capacity unit is specified, GB is assumed. Acceptable instance
capacities for each tier are as follows:
▸ BASIC_HDD: 1TB-63.9TB in 1GB increments or its multiples.
▸ BASIC_SSD: 2.5TB-63.9TB in 1GB increments or its multiples.
▸ ENTERPRISE: 1TB-10TB in 256GB increments or its multiples.
name
The desired logical name of the volume.
nfs-export-options
The NfsExportOptions for the Cloud Filestore instance file share.
Configuring NfsExportOptions is optional. Use the --flags-file flag
to specify the path to a JSON or YAML configuration file that
contains the required NfsExportOptions flags.
ip-ranges
A list of IPv4 addresses or CIDR ranges that are allowed to mount
the file share. IPv4 addresses format: {octet 1}.{octet 2}.{octet
3}.{octet 4}. CIDR range format: {octet 1}.{octet 2}.{octet
3}.{octet 4}/{mask size}. Overlapping IP ranges are allowed for all
tiers other than BASIC_HDD and BASIC_SSD. The limit of IP
ranges/addresses for each FileShareConfig among all
NfsExportOptions is 64 per instance.
access-mode
The type of access allowed for the specified IP-addresses or CIDR
ranges. READ_ONLY: Allows only read requests on the exported file
share. READ_WRITE: Allows both read and write requests on the
exported file share. The default setting is READ_WRITE.
squash-mode
Enables or disables root squash for the specified IP addresses or
CIDR ranges. NO_ROOT_SQUASH: Disables root squash to allow root
access on the exported file share. ROOT_SQUASH. Enables root squash
to remove root access on the exported file share. The default
setting is NO_ROOT_SQUASH.
anon_uid
An integer that represents the user ID of anonymous users. Anon_uid
may only be set when squash_mode is set to ROOT_SQUASH. If
NO_ROOT_SQUASH is specified, an error will be returned. The default
value is 65534.
anon_gid
An integer that represents the group ID of anonymous groups.
Anon_gid may only be set when squash_mode is set to ROOT_SQUASH. If
NO_ROOT_SQUASH is specified, an error will be returned. The default
value is 65534.
--location=LOCATION
Location of the Cloud Filestore instance/operation.
@ -189,6 +134,71 @@ FLAGS
silently ignored. If --update-labels is also specified then
--update-labels is applied first.
Parameters for file-share.
--file-share=[capacity=CAPACITY],[name=NAME],[nfs-export-options=NFS-EXPORT-OPTIONS]
File share configuration for an instance. Specifying both name and
capacity is required.
capacity
The desired capacity of the volume in GB or TB units. If no
capacity unit is specified, GB is assumed. Acceptable instance
capacities for each tier are as follows:
▸ BASIC_HDD: 1TB-63.9TB in 1GB increments or its multiples.
▸ BASIC_SSD: 2.5TB-63.9TB in 1GB increments or its multiples.
▸ ENTERPRISE: 1TB-10TB in 256GB increments or its multiples.
name
The desired logical name of the volume.
nfs-export-options
The NfsExportOptions for the Cloud Filestore instance file share.
Configuring NfsExportOptions is optional and can only be set
using flags-file. Use the --flags-file flag to specify the path
to a JSON or YAML configuration file that contains the required
NfsExportOptions flags.
ip-ranges
A list of IPv4 addresses or CIDR ranges that are allowed to mount
the file share. IPv4 addresses format: {octet 1}.{octet 2}.{octet
3}.{octet 4}. CIDR range format: {octet 1}.{octet 2}.{octet
3}.{octet 4}/{mask size}. Overlapping IP ranges are allowed for
all tiers other than BASIC_HDD and BASIC_SSD. The limit of IP
ranges/addresses for each FileShareConfig among all
NfsExportOptions is 64 per instance.
access-mode
The type of access allowed for the specified IP-addresses or CIDR
ranges. READ_ONLY: Allows only read requests on the exported file
share. READ_WRITE: Allows both read and write requests on the
exported file share. The default setting is READ_WRITE.
squash-mode
Enables or disables root squash for the specified IP addresses or
CIDR ranges. NO_ROOT_SQUASH: Disables root squash to allow root
access on the exported file share. ROOT_SQUASH. Enables root
squash to remove root access on the exported file share. The
default setting is NO_ROOT_SQUASH.
anon_uid
An integer that represents the user ID of anonymous users.
Anon_uid may only be set when squash_mode is set to ROOT_SQUASH.
If NO_ROOT_SQUASH is specified, an error will be returned. The
default value is 65534.
anon_gid
An integer that represents the group ID of anonymous groups.
Anon_gid may only be set when squash_mode is set to ROOT_SQUASH.
If NO_ROOT_SQUASH is specified, an error will be returned. The
default value is 65534.
This flag argument must be specified if any of the other
arguments in this group are specified.
--clear-nfs-export-options
Clears the NfsExportOptions. Must specify --file-share flag if
--clear-nfs-export-options is specified.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,