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 OpenZFSOriginSnapshotConfiguration = OpenZFSOriginSnapshotConfiguration' {}
- newOpenZFSOriginSnapshotConfiguration :: OpenZFSOriginSnapshotConfiguration
- openZFSOriginSnapshotConfiguration_copyStrategy :: Lens' OpenZFSOriginSnapshotConfiguration (Maybe OpenZFSCopyStrategy)
- openZFSOriginSnapshotConfiguration_snapshotARN :: Lens' OpenZFSOriginSnapshotConfiguration (Maybe Text)
Documentation
data OpenZFSOriginSnapshotConfiguration Source #
The snapshot configuration to use when creating an OpenZFS volume from a snapshot.
See: newOpenZFSOriginSnapshotConfiguration
smart constructor.
OpenZFSOriginSnapshotConfiguration' | |
|
Instances
newOpenZFSOriginSnapshotConfiguration :: OpenZFSOriginSnapshotConfiguration Source #
Create a value of OpenZFSOriginSnapshotConfiguration
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:copyStrategy:OpenZFSOriginSnapshotConfiguration'
, openZFSOriginSnapshotConfiguration_copyStrategy
- The strategy used when copying data from the snapshot to the new volume.
CLONE
- The new volume references the data in the origin snapshot. Cloning a snapshot is faster than copying the data from a snapshot to a new volume and doesn't consume disk throughput. However, the origin snapshot can't be deleted if there is a volume using its copied data.FULL_COPY
- Copies all data from the snapshot to the new volume.
$sel:snapshotARN:OpenZFSOriginSnapshotConfiguration'
, openZFSOriginSnapshotConfiguration_snapshotARN
- Undocumented member.
openZFSOriginSnapshotConfiguration_copyStrategy :: Lens' OpenZFSOriginSnapshotConfiguration (Maybe OpenZFSCopyStrategy) Source #
The strategy used when copying data from the snapshot to the new volume.
CLONE
- The new volume references the data in the origin snapshot. Cloning a snapshot is faster than copying the data from a snapshot to a new volume and doesn't consume disk throughput. However, the origin snapshot can't be deleted if there is a volume using its copied data.FULL_COPY
- Copies all data from the snapshot to the new volume.
openZFSOriginSnapshotConfiguration_snapshotARN :: Lens' OpenZFSOriginSnapshotConfiguration (Maybe Text) Source #
Undocumented member.