- Resource: Instance
- State
- FileShareConfig
- NfsExportOptions
- AccessMode
- SquashMode
- NetworkConfig
- AddressMode
- ConnectMode
- SuspensionReason
- Replication
- Role
- ReplicaConfig
- State
- StateReason
- Methods
Resource: Instance
A Filestore instance.
JSON representation |
---|
{ "name": string, "description": string, "state": enum ( |
Fields | |
---|---|
name |
Output only. The resource name of the instance, in the format |
description |
The description of the instance (2048 characters or less). |
state |
Output only. The instance state. |
statusMessage |
Output only. Additional information about the instance state, if available. |
createTime |
Output only. The time when the instance was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
tier |
The service tier of the instance. |
labels |
Resource labels to represent user provided metadata. An object containing a list of |
fileShares[] |
File system shares on the instance. For this version, only a single file share is supported. |
networks[] |
VPC networks to which the instance is connected. For this version, only a single network is supported. |
etag |
Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other. |
satisfiesPzs |
Output only. Reserved for future use. |
satisfiesPzi |
Output only. Reserved for future use. |
kmsKeyName |
KMS key name used for data encryption. |
suspensionReasons[] |
Output only. Field indicates all the reasons the instance is in "SUSPENDED" state. |
replication |
Optional. Replication configuration. |
tags |
Optional. Input only. Immutable. Tag key-value pairs are bound to this resource. For example: "123/environment": "production", "123/costCenter": "marketing" An object containing a list of |
protocol |
Immutable. The protocol indicates the access protocol for all shares in the instance. This field is immutable and it cannot be changed after the instance has been created. Default value: |
deletionProtectionEnabled |
Optional. Indicates whether the instance is protected against deletion. |
deletionProtectionReason |
Optional. The reason for enabling deletion protection. |
State
The instance state.
Enums | |
---|---|
STATE_UNSPECIFIED |
State not set. |
CREATING |
The instance is being created. |
READY |
The instance is available for use. |
REPAIRING |
Work is being done on the instance. You can get further details from the statusMessage field of the Instance resource. |
DELETING |
The instance is shutting down. |
ERROR |
The instance is experiencing an issue and might be unusable. You can get further details from the statusMessage field of the Instance resource. |
RESTORING |
The instance is restoring a backup to an existing file share and may be unusable during this time. |
SUSPENDED |
The instance is suspended. You can get further details from the suspensionReasons field of the Instance resource. |
SUSPENDING |
The instance is in the process of becoming suspended. |
RESUMING |
The instance is in the process of becoming active. |
REVERTING |
The instance is reverting to a snapshot. |
PROMOTING |
The replica instance is being promoted. |
NfsExportOptions
NFS export options specifications.
JSON representation |
---|
{ "ipRanges": [ string ], "accessMode": enum ( |
Fields | |
---|---|
ipRanges[] |
List of either an IPv4 addresses in the format |
accessMode |
Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE. |
squashMode |
Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH. |
anonUid |
An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squashMode of ROOT_SQUASH. An error will be returned if this field is specified for other squashMode settings. |
anonGid |
An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squashMode of ROOT_SQUASH. An error will be returned if this field is specified for other squashMode settings. |
AccessMode
The access mode.
Enums | |
---|---|
ACCESS_MODE_UNSPECIFIED |
AccessMode not set. |
READ_ONLY |
The client can only read the file share. |
READ_WRITE |
The client can read and write the file share (default). |
SquashMode
The squash mode.
Enums | |
---|---|
SQUASH_MODE_UNSPECIFIED |
SquashMode not set. |
NO_ROOT_SQUASH |
The Root user has root access to the file share (default). |
ROOT_SQUASH |
The Root user has squashed access to the anonymous uid/gid. |
NetworkConfig
Network configuration for the instance.
JSON representation |
---|
{ "network": string, "modes": [ enum ( |
Fields | |
---|---|
network |
The name of the Google Compute Engine VPC network to which the instance is connected. |
modes[] |
Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported. |
reservedIpRange |
Optional, reservedIpRange can have one of the following two types of values.
When the name of an allocated IP address range is specified, it must be one of the ranges associated with the private service access connection. When specified as a direct CIDR value, it must be a /29 CIDR block for Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for Enterprise tier in one of the internal IP address ranges that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, respectively. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Filestore instances in the selected VPC network. |
ipAddresses[] |
Output only. IPv4 addresses in the format |
connectMode |
The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING. |
AddressMode
Internet protocol versions supported by Filestore.
Enums | |
---|---|
ADDRESS_MODE_UNSPECIFIED |
Internet protocol not set. |
MODE_IPV4 |
Use the IPv4 internet protocol. |
ConnectMode
Available connection modes.
Enums | |
---|---|
CONNECT_MODE_UNSPECIFIED |
Not set. |
DIRECT_PEERING |
Connect via direct peering to the Filestore service. |
PRIVATE_SERVICE_ACCESS |
Connect to your Filestore instance using Private Service Access. Private services access provides an IP address range for multiple Google Cloud services, including Filestore. |
SuspensionReason
SuspensionReason contains the possible reasons for a suspension.
Enums | |
---|---|
SUSPENSION_REASON_UNSPECIFIED |
Not set. |
KMS_KEY_ISSUE |
The KMS key used by the instance is either revoked or denied access to. |
Replication
Replication specifications.
JSON representation |
---|
{ "role": enum ( |
Fields | |
---|---|
role |
Optional. The replication role. |
replicas[] |
Optional. Replication configuration for the replica instance associated with this instance. Only a single replica is supported. |
Role
Replication role.
Enums | |
---|---|
ROLE_UNSPECIFIED |
Role not set. |
ACTIVE |
The instance is the ACTIVE replication member, functions as the replication source instance. |
STANDBY |
The instance is the STANDBY replication member, functions as the replication destination instance. |
ReplicaConfig
Replica configuration for the instance.
JSON representation |
---|
{ "state": enum ( |
Fields | |
---|---|
state |
Output only. The replica state. |
stateReasons[] |
Output only. Additional information about the replication state, if available. |
peerInstance |
Optional. The peer instance. |
lastActiveSyncTime |
Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
State
The replica state.
Enums | |
---|---|
STATE_UNSPECIFIED |
State not set. |
CREATING |
The replica is being created. |
READY |
The replica is ready. |
REMOVING |
The replica is being removed. |
FAILED |
The replica is experiencing an issue and might be unusable. You can get further details from the stateReasons field of the ReplicaConfig object. |
StateReason
Additional information about the replication state, if available.
Enums | |
---|---|
STATE_REASON_UNSPECIFIED |
Reason not specified. |
PEER_INSTANCE_UNREACHABLE |
The peer instance is unreachable. |
Methods |
|
---|---|
|
Creates an instance. |
|
Deletes an instance. |
|
Gets the details of a specific instance. |
|
Lists all instances in a project for either a specified location or for all locations. |
|
Updates the settings of a specific instance. |
|
Promote the standby instance (replica). |
|
Restores an existing instance's file share from a backup. |
|
Revert an existing instance's file system to a specified snapshot. |