Network File Storage Share
Creates and manages Network File Storage (NFS) Share objects on IonosCloud.
Creates and manages Network File Storage (NFS) Share objects on IonosCloud.
Example Usage
Argument Reference
Argument Reference
The following arguments are supported:
location
- (Required) The location of the Network File Storage Cluster.cluster_id
- (Required) The ID of the Network File Storage Cluster.name
- (Required) The directory being exported.quota
- (Optional) The quota in MiB for the export. The quota can restrict the amount of data that can be stored within the export. The quota can be disabled using0
. Default is0
.gid
- (Optional) The group ID that will own the exported directory. If not set, anonymous (512
) will be used.uid
- (Optional) The user ID that will own the exported directory. If not set, anonymous (512
) will be used.client_groups
- (Required) The groups of clients are the systems connecting to the Network File Storage cluster. Each group includes:description
- (Optional) Optional description for the clients groups.ip_networks
- (Required) The allowed host or network to which the export is being shared. The IP address can be either IPv4 or IPv6 and has to be given with CIDR notation.hosts
- (Required) A singular host allowed to connect to the share. The host can be specified as IP address and can be either IPv4 or IPv6.nfs
- (Required) NFS specific configurations. Each configuration includes:squash
- (Required) The squash mode for the export. The squash mode can be:none
- No squash mode. no mapping,root-anonymous
- Map root user to anonymous uid,all-anonymous
- Map all users to anonymous uid.
Import
A Network File Storage Share resource can be imported using its location
, cluster_id
and resource id
:
Last updated