mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Tue Jan 20 11:05:01 UTC 2026
This commit is contained in:
parent
bdd724fcf3
commit
582f364023
247 changed files with 5698 additions and 1205 deletions
|
|
@ -35,5 +35,11 @@ COMMANDS
|
|||
list
|
||||
List clusters in a Google Cloud VMware Engine private cloud.
|
||||
|
||||
mount-datastore
|
||||
Mount a datastore to a Google Cloud VMware Engine cluster.
|
||||
|
||||
unmount-datastore
|
||||
Unmount a datastore from a Google Cloud VMware Engine cluster.
|
||||
|
||||
update
|
||||
Update a Google Cloud VMware Engine cluster.
|
||||
|
|
|
|||
140
gcloud/vmware/private-clouds/clusters/mount-datastore
Normal file
140
gcloud/vmware/private-clouds/clusters/mount-datastore
Normal file
|
|
@ -0,0 +1,140 @@
|
|||
NAME
|
||||
gcloud vmware private-clouds clusters mount-datastore - mount a datastore
|
||||
to a Google Cloud VMware Engine cluster
|
||||
|
||||
SYNOPSIS
|
||||
gcloud vmware private-clouds clusters mount-datastore
|
||||
(CLUSTER : --location=LOCATION --private-cloud=PRIVATE_CLOUD)
|
||||
--datastore=DATASTORE
|
||||
(--datastore-network=PATH_TO_FILE
|
||||
| [--subnet=SUBNET : --connection-count=CONNECTION_COUNT --mtu=MTU])
|
||||
[--access-mode=ACCESS_MODE] [--async] [--ignore-colocation]
|
||||
[--nfs-version=NFS_VERSION] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Mount a datastore to a cluster in a VMware Engine private cloud.
|
||||
|
||||
EXAMPLES
|
||||
To mount a datastore my-datastore to cluster my-cluster in private cloud
|
||||
my-private-cloud in zone us-west2-a, providing subnet, run:
|
||||
|
||||
$ gcloud vmware private-clouds clusters mount-datastore my-cluster \
|
||||
--location=us-west2-a --project=my-project \
|
||||
--private-cloud=my-private-cloud \
|
||||
--datastore=projects/my-project/locations/us-west2-a/\
|
||||
datastores/my-datastore --subnet=my-subnet
|
||||
|
||||
Or:
|
||||
|
||||
$ gcloud vmware private-clouds clusters mount-datastore my-cluster \
|
||||
--private-cloud=my-private-cloud \
|
||||
--datastore=projects/my-project/locations/us-west2-a/\
|
||||
datastores/my-datastore --subnet=my-subnet
|
||||
|
||||
To mount a datastore my-datastore to cluster my-cluster in private cloud
|
||||
my-private-cloud in zone us-west2-a, providing a json file for datastore
|
||||
network, run:
|
||||
|
||||
$ gcloud vmware private-clouds clusters mount-datastore my-cluster \
|
||||
--location=us-west2-a --project=my-project \
|
||||
--private-cloud=my-private-cloud \
|
||||
--datastore=projects/my-project/locations/us-west2-a/\
|
||||
datastores/my-datastore --datastore-network=network-config.json
|
||||
|
||||
Where `network-config.json` contains:
|
||||
{
|
||||
"subnet": "my-subnet",
|
||||
"mtu": 1500,
|
||||
"connection-count": 4
|
||||
}
|
||||
|
||||
In the examples without location and project, the project and location are taken from gcloud properties core/project and compute/zone.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Cluster resource - cluster. 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 cluster 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.
|
||||
|
||||
CLUSTER
|
||||
ID of the cluster or fully qualified identifier for the cluster.
|
||||
|
||||
To set the cluster attribute:
|
||||
▸ provide the argument cluster on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
Location of the private cloud or cluster.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument cluster on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property compute/zone.
|
||||
|
||||
--private-cloud=PRIVATE_CLOUD
|
||||
VMware Engine private cloud.
|
||||
|
||||
To set the private-cloud attribute:
|
||||
▸ provide the argument cluster on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --private-cloud on the command line.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--datastore=DATASTORE
|
||||
The datastore resource name to mount.
|
||||
|
||||
Exactly one of these must be specified:
|
||||
|
||||
--datastore-network=PATH_TO_FILE
|
||||
Path to a JSON file containing the datastore network configuration.
|
||||
Use a full or relative path to a local file containing the value of
|
||||
datastore_network.
|
||||
|
||||
Datastore network configuration if not providing via file.
|
||||
|
||||
--subnet=SUBNET
|
||||
Subnet to use for inlined datastore network configuration.
|
||||
|
||||
This flag argument must be specified if any of the other arguments
|
||||
in this group are specified.
|
||||
|
||||
--connection-count=CONNECTION_COUNT
|
||||
Connection count for inlined datastore network configuration.
|
||||
|
||||
--mtu=MTU
|
||||
MTU for inlined datastore network configuration.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--access-mode=ACCESS_MODE
|
||||
Access mode for the datastore. ACCESS_MODE must be one of: READ_WRITE,
|
||||
READ_ONLY.
|
||||
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete. The default is True. Enabled by default, use --no-async to
|
||||
disable.
|
||||
|
||||
--ignore-colocation
|
||||
If set, ignore colocation checks.
|
||||
|
||||
--nfs-version=NFS_VERSION
|
||||
NFS version for the datastore. NFS_VERSION must be one of: NFS_V3,
|
||||
NFS_V4.
|
||||
|
||||
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.
|
||||
87
gcloud/vmware/private-clouds/clusters/unmount-datastore
Normal file
87
gcloud/vmware/private-clouds/clusters/unmount-datastore
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
NAME
|
||||
gcloud vmware private-clouds clusters unmount-datastore - unmount a
|
||||
datastore from a Google Cloud VMware Engine cluster
|
||||
|
||||
SYNOPSIS
|
||||
gcloud vmware private-clouds clusters unmount-datastore
|
||||
(CLUSTER : --location=LOCATION --private-cloud=PRIVATE_CLOUD)
|
||||
--datastore=DATASTORE [--async] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Unmount a datastore from a cluster in a VMware Engine private cloud.
|
||||
|
||||
EXAMPLES
|
||||
To unmount a datastore my-datastore from cluster my-cluster in private
|
||||
cloud my-private-cloud in zone us-west2-a, run:
|
||||
|
||||
$ gcloud vmware private-clouds clusters unmount-datastore \
|
||||
my-cluster --location=us-west2-a --project=my-project \
|
||||
--private-cloud=my-private-cloud \
|
||||
--datastore=projects/my-project/locations/us-west2-a/\
|
||||
datastores/my-datastore
|
||||
|
||||
Or:
|
||||
|
||||
$ gcloud vmware private-clouds clusters unmount-datastore \
|
||||
my-cluster --private-cloud=my-private-cloud \
|
||||
--datastore=projects/my-project/locations/us-west2-a/\
|
||||
datastores/my-datastore
|
||||
|
||||
In the second example, the project and location are taken from gcloud properties core/project and compute/zone.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Cluster resource - cluster. 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 cluster 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.
|
||||
|
||||
CLUSTER
|
||||
ID of the cluster or fully qualified identifier for the cluster.
|
||||
|
||||
To set the cluster attribute:
|
||||
▸ provide the argument cluster on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
Location of the private cloud or cluster.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument cluster on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property compute/zone.
|
||||
|
||||
--private-cloud=PRIVATE_CLOUD
|
||||
VMware Engine private cloud.
|
||||
|
||||
To set the private-cloud attribute:
|
||||
▸ provide the argument cluster on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --private-cloud on the command line.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--datastore=DATASTORE
|
||||
The datastore resource name to unmount.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete. The default is True. Enabled by default, use --no-async to
|
||||
disable.
|
||||
|
||||
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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue