Skip to main content

nfs_shares

Overview

Namenfs_shares
TypeResource
Idgoogle.baremetalsolution.nfs_shares

Fields

NameDatatypeDescription
idstringOutput 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.
namestringImmutable. The name of the NFS share.
nfsShareIdstringOutput only. An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use id instead.
requestedSizeGibstringThe requested size, in GiB.
volumestringOutput only. The underlying volume of the share. Created automatically during provisioning.
storageTypestringImmutable. The storage type of the underlying volume.
allowedClientsarrayList of allowed access points.
statestringOutput only. The state of the NFS share.
labelsobjectLabels as key value pairs.

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocationsId, nfsSharesId, projectsIdGet details of a single NFS share.
listSELECTlocationsId, projectsIdList NFS shares.
createINSERTlocationsId, projectsIdCreate an NFS share.
deleteDELETElocationsId, nfsSharesId, projectsIdDelete an NFS share. The underlying volume is automatically deleted.
_listEXEClocationsId, projectsIdList NFS shares.
patchEXEClocationsId, nfsSharesId, projectsIdUpdate details of a single NFS share.
renameEXEClocationsId, nfsSharesId, projectsIdRenameNfsShare sets a new name for an nfsshare. Use with caution, previous names become immediately invalidated.