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 CreateOpenZFSOriginSnapshotConfiguration = CreateOpenZFSOriginSnapshotConfiguration' {}
- newCreateOpenZFSOriginSnapshotConfiguration :: Text -> OpenZFSCopyStrategy -> CreateOpenZFSOriginSnapshotConfiguration
- createOpenZFSOriginSnapshotConfiguration_snapshotARN :: Lens' CreateOpenZFSOriginSnapshotConfiguration Text
- createOpenZFSOriginSnapshotConfiguration_copyStrategy :: Lens' CreateOpenZFSOriginSnapshotConfiguration OpenZFSCopyStrategy
Documentation
data CreateOpenZFSOriginSnapshotConfiguration Source #
The snapshot configuration to use when creating an OpenZFS volume from a snapshot.
See: newCreateOpenZFSOriginSnapshotConfiguration
smart constructor.
CreateOpenZFSOriginSnapshotConfiguration' | |
|
Instances
newCreateOpenZFSOriginSnapshotConfiguration Source #
Create a value of CreateOpenZFSOriginSnapshotConfiguration
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:snapshotARN:CreateOpenZFSOriginSnapshotConfiguration'
, createOpenZFSOriginSnapshotConfiguration_snapshotARN
- Undocumented member.
$sel:copyStrategy:CreateOpenZFSOriginSnapshotConfiguration'
, createOpenZFSOriginSnapshotConfiguration_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 data from the 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.
createOpenZFSOriginSnapshotConfiguration_snapshotARN :: Lens' CreateOpenZFSOriginSnapshotConfiguration Text Source #
Undocumented member.
createOpenZFSOriginSnapshotConfiguration_copyStrategy :: Lens' CreateOpenZFSOriginSnapshotConfiguration 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 data from the 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.