Resource: NfsShare
An NFS share.
JSON representation |
---|
{ "name": string, "nfsShareId": string, "state": enum ( |
Fields | |
---|---|
name |
Output only. The name of the NFS share. |
nfsShareId |
Output only. An identifier for the NFS share, generated by the backend. |
state |
The state of the NFS share. |
volume |
The volume containing the share. |
allowedClients[] |
List of allowed access points. |
labels |
Labels as key value pairs. |
State
The possible states for this NFS share.
Enums | |
---|---|
STATE_UNSPECIFIED |
The share is in an unknown state. |
PROVISIONED |
The share has been provisioned. |
AllowedClient
Represents an 'access point' for the share.
JSON representation |
---|
{
"network": string,
"shareIp": string,
"allowedClientsCidr": string,
"mountPermissions": enum ( |
Fields | |
---|---|
network |
The network the access point sits on. |
shareIp |
The IP address of the share on this network. |
allowedClientsCidr |
The subnet of IP addresses permitted to access the share. |
mountPermissions |
Mount permissions. |
allowDev |
Allow dev flag. Which controls whether to allow creation of devices. |
allowSuid |
Allow the setuid flag. |
noRootSquash |
Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication. |
MountPermissions
The possible mount permissions.
Enums | |
---|---|
MOUNT_PERMISSIONS_UNSPECIFIED |
Permissions were not specified. |
READ |
NFS share can be mount with read-only permissions. |
READ_WRITE |
NFS share can be mount with read-write permissions. |
Methods |
|
---|---|
|
Get details of a single NFS share. |
|
List NFS shares. |
|
Update details of a single NFS share. |