- INFORMATION
-
gcloud vmware datastores createis not available in universe domainuniverse. - NAME
-
- gcloud vmware datastores create - create a datastore
- SYNOPSIS
-
-
gcloud vmware datastores create(DATASTORE:--location=LOCATION) (--filestore=FILESTORE|--netapp=NETAPP|--third-party-nfs-file-share=THIRD_PARTY_NFS_FILE_SHARE--third-party-nfs-network=THIRD_PARTY_NFS_NETWORK--third-party-nfs-servers=SERVER,[SERVER,…]) [--async] [--description=DESCRIPTION] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
Create a datastore. Datastore creation is considered finished when the datastore
is in ACTIVE state. Check the progress of a datastore using
gcloud vmware datastores list. - EXAMPLES
-
To create a datastore named
my-datastoreinus-west2-aconnected to filestore instanceprojects/my-project/locations/us-west2-a/instances/my-filestore-instance, run:gcloud vmware datastores create my-datastore --location=us-west2-a --project=my-project --filestore=projects/my-project/locations/us-west2-a/instances/my-filestore-instanceOr:
gcloud vmware datastores create my-datastore --filestore=projects/my-project/locations/us-west2-a/instances/my-filestore-instanceOr:
gcloud vmware datastores create my-datastore --netapp=projects/my-project/locations/us-west2-a/volumes/my-netapp-volumeOr:
gcloud vmware datastores create my-datastore --third-party-nfs-network=my-network --third-party-nfs-file-share=my-fileshare --third-party-nfs-servers=10.0.0.1,10.0.0.2 --location=us-west2-a --project=my-projectIn the second example, the project and location are taken from gcloud properties core/project and compute/zone.
- POSITIONAL ARGUMENTS
-
-
Datastore resource - datastore. 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
projectattribute:-
provide the argument
datastoreon the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
This must be specified.
DATASTORE-
ID of the datastore or fully qualified identifier for the datastore.
To set the
datastoreattribute:-
provide the argument
datastoreon the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--location=LOCATION-
Location of the private cloud or cluster.
To set the
locationattribute:-
provide the argument
datastoreon the command line with a fully specified name; -
provide the argument
--locationon the command line; -
set the property
compute/zone.
-
provide the argument
-
provide the argument
-
Datastore resource - datastore. 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.
- REQUIRED FLAGS
-
-
Exactly one of these must be specified:
--filestore=FILESTORE- Google Filestore instance to be used as datastore.
--netapp=NETAPP- Google NetApp volume to be used as datastore.
-
Mount folder name of NFS.
This flag argument must be specified if any of the other arguments in this group are specified.
--third-party-nfs-network=THIRD_PARTY_NFS_NETWORK-
Network name of NFS's VPC.
This flag argument must be specified if any of the other arguments in this group are specified.
--third-party-nfs-servers=SERVER,[SERVER,…]-
Comma-separated list of server IP addresses of the NFS file service.
This flag argument must be specified if any of the other arguments in this group are specified.
-
Exactly one of these must be specified:
- OPTIONAL FLAGS
-
--async-
Return immediately, without waiting for the operation in progress to complete.
The default is
True. Enabled by default, use--no-asyncto disable. --description=DESCRIPTION- Text describing the datastore.
- 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 helpfor details.
gcloud vmware datastores create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-13 UTC."],[],[]]