Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data OpenZFSClientConfiguration = OpenZFSClientConfiguration' {}
- newOpenZFSClientConfiguration :: Text -> NonEmpty Text -> OpenZFSClientConfiguration
- openZFSClientConfiguration_clients :: Lens' OpenZFSClientConfiguration Text
- openZFSClientConfiguration_options :: Lens' OpenZFSClientConfiguration (NonEmpty Text)
Documentation
data OpenZFSClientConfiguration Source #
Specifies who can mount an OpenZFS file system and the options available while mounting the file system.
See: newOpenZFSClientConfiguration
smart constructor.
OpenZFSClientConfiguration' | |
|
Instances
newOpenZFSClientConfiguration Source #
Create a value of OpenZFSClientConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clients:OpenZFSClientConfiguration'
, openZFSClientConfiguration_clients
- A value that specifies who can mount the file system. You can provide a
wildcard character (*
), an IP address (0.0.0.0
), or a CIDR address
(192.0.2.0/24
). By default, Amazon FSx uses the wildcard character
when specifying the client.
$sel:options:OpenZFSClientConfiguration'
, openZFSClientConfiguration_options
- The options to use when mounting the file system. For a list of options
that you can use with Network File System (NFS), see the
exports(5) - Linux man page. When
choosing your options, consider the following:
crossmnt
is used by default. If you don't specifycrossmnt
when changing the client configuration, you won't be able to see or access snapshots in your file system's snapshot directory.sync
is used by default. If you instead specifyasync
, the system acknowledges writes before writing to disk. If the system crashes before the writes are finished, you lose the unwritten data.
openZFSClientConfiguration_clients :: Lens' OpenZFSClientConfiguration Text Source #
A value that specifies who can mount the file system. You can provide a
wildcard character (*
), an IP address (0.0.0.0
), or a CIDR address
(192.0.2.0/24
). By default, Amazon FSx uses the wildcard character
when specifying the client.
openZFSClientConfiguration_options :: Lens' OpenZFSClientConfiguration (NonEmpty Text) Source #
The options to use when mounting the file system. For a list of options that you can use with Network File System (NFS), see the exports(5) - Linux man page. When choosing your options, consider the following:
crossmnt
is used by default. If you don't specifycrossmnt
when changing the client configuration, you won't be able to see or access snapshots in your file system's snapshot directory.sync
is used by default. If you instead specifyasync
, the system acknowledges writes before writing to disk. If the system crashes before the writes are finished, you lose the unwritten data.