- Resource: Datastore
- NfsDatastore
- GoogleFileService
- ThirdPartyFileService
- GoogleVmwareFileService
- State
- Methods
Resource: Datastore
Represents a datastore resource.
| JSON representation |
|---|
{ "name": string, "createTime": string, "updateTime": string, "description": string, "clusters": [ string ], "nfsDatastore": { object ( |
| Fields | |
|---|---|
name |
Output only. Identifier. The resource name of this datastore. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: |
createTime |
Output only. Creation time of this resource. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. Last update time of this resource. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
description |
Optional. User-provided description for this datastore |
clusters[] |
Output only. Clusters to which the datastore is attached. |
nfsDatastore |
Required. Settings for the NFS datastore. |
state |
Output only. The state of the Datastore. |
uid |
Output only. System-generated unique identifier for the resource. |
etag |
Optional. Checksum that may be sent on update and delete requests to ensure that the user-provided value is up to date before the server processes a request. The server computes checksums based on the value of other fields in the request. |
NfsDatastore
The NFS datastore configuration.
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field FileServiceOption. The file service option of the NFS datastore. FileServiceOption can be only one of the following: |
|
googleFileService |
Google file service configuration |
thirdPartyFileService |
Third party file service configuration |
googleVmwareFileService |
GCVE file service configuration |
GoogleFileService
Google service file service configuration
| JSON representation |
|---|
{ // Union field |
| Fields | |
|---|---|
Union field FileServiceOption. Google service file service name FileServiceOption can be only one of the following: |
|
netappVolume |
Google netapp volume resource name e.g. projects/my-project/locations/me-west1-b/volumes/my-volume |
filestoreInstance |
Google filestore instance resource name e.g. projects/my-project/locations/me-west1-b/instances/my-instance |
ThirdPartyFileService
Third party file service configuration
| JSON representation |
|---|
{ "servers": [ string ], "fileShare": string, "network": string } |
| Fields | |
|---|---|
servers[] |
Required. Server IP addresses of the NFS file service. NFS v3, provide a single IP address or DNS name. Multiple servers can be supported in future when NFS 4.1 protocol support is enabled. |
fileShare |
Required. Required Mount Folder name |
network |
Required. Required to identify vpc peering used for NFS access network name of NFS's vpc e.g. projects/project-id/global/networks/my-network_id |
GoogleVmwareFileService
This type has no fields.
Volume message captures user inputs for creation of file services managed by GCVE
State
The state of the Datastore
| Enums | |
|---|---|
STATE_UNSPECIFIED |
The default value. This value should never be used. |
CREATING |
The NFS volume is being created. |
ACTIVE |
The NFS volume is active. |
UPDATING |
The NFS volume is being updated. |
DELETING |
The NFS volume is being deleted. |
Methods |
|
|---|---|
|
Creates a new Datastore resource in a given project and location. |
|
Deletes a Datastore resource. |
|
Retrieves a Datastore resource by its resource name. |
|
Lists Datastore resources in a given project and location. |
|
Modifies a Datastore resource. |