nfs_shares
Overview
Name | nfs_shares |
Type | Resource |
Id | google.baremetalsolution.nfs_shares |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Output only. An identifier for the NFS share, generated by the backend. This is the same value as nfs_share_id and will replace it in the future. |
name | string | Immutable. The name of the NFS share. |
nfsShareId | string | Output only. An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use id instead. |
requestedSizeGib | string | The requested size, in GiB. |
volume | string | Output only. The underlying volume of the share. Created automatically during provisioning. |
storageType | string | Immutable. The storage type of the underlying volume. |
allowedClients | array | List of allowed access points. |
state | string | Output only. The state of the NFS share. |
labels | object | Labels as key value pairs. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | locationsId, nfsSharesId, projectsId | Get details of a single NFS share. |
list | SELECT | locationsId, projectsId | List NFS shares. |
create | INSERT | locationsId, projectsId | Create an NFS share. |
delete | DELETE | locationsId, nfsSharesId, projectsId | Delete an NFS share. The underlying volume is automatically deleted. |
_list | EXEC | locationsId, projectsId | List NFS shares. |
patch | EXEC | locationsId, nfsSharesId, projectsId | Update details of a single NFS share. |
rename | EXEC | locationsId, nfsSharesId, projectsId | RenameNfsShare sets a new name for an nfsshare. Use with caution, previous names become immediately invalidated. |