amazonka-fsx-2.0: Amazon FSx SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.FSx.Types.OpenZFSVolumeConfiguration

Description

 
Synopsis

Documentation

data OpenZFSVolumeConfiguration Source #

The configuration of an Amazon FSx for OpenZFS volume.

See: newOpenZFSVolumeConfiguration smart constructor.

Constructors

OpenZFSVolumeConfiguration' 

Fields

  • copyTagsToSnapshots :: Maybe Bool

    A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to false. If it's set to true, all tags for the volume are copied to snapshots where the user doesn't specify tags. If this value is true and you specify one or more tags, only the specified tags are copied to snapshots. If you specify one or more tags when creating the snapshot, no tags are copied from the volume, regardless of this value.

  • dataCompressionType :: Maybe OpenZFSDataCompressionType

    Specifies the method used to compress the data on the volume. The compression type is NONE by default.

    • NONE - Doesn't compress the data on the volume. NONE is the default.
    • ZSTD - Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm. Compared to LZ4, Z-Standard provides a better compression ratio to minimize on-disk storage utilization.
    • LZ4 - Compresses the data in the volume using the LZ4 compression algorithm. Compared to Z-Standard, LZ4 is less compute-intensive and delivers higher write throughput speeds.
  • deleteClonedVolumes :: Maybe Bool

    A Boolean value indicating whether dependent clone volumes created from intermediate snapshots should be deleted when a volume is restored from snapshot.

  • deleteIntermediateSnaphots :: Maybe Bool

    A Boolean value indicating whether snapshots between the current state and the specified snapshot should be deleted when a volume is restored from snapshot.

  • nfsExports :: Maybe [OpenZFSNfsExport]

    The configuration object for mounting a Network File System (NFS) file system.

  • originSnapshot :: Maybe OpenZFSOriginSnapshotConfiguration

    The configuration object that specifies the snapshot to use as the origin of the data for the volume.

  • parentVolumeId :: Maybe Text

    The ID of the parent volume.

  • readOnly :: Maybe Bool

    A Boolean value indicating whether the volume is read-only.

  • recordSizeKiB :: Maybe Natural

    The record size of an OpenZFS volume, in kibibytes (KiB). Valid values are 4, 8, 16, 32, 64, 128, 256, 512, or 1024 KiB. The default is 128 KiB. Most workloads should use the default record size. For guidance on when to set a custom record size, see the /Amazon FSx for OpenZFS User Guide/.

  • restoreToSnapshot :: Maybe Text

    Specifies the ID of the snapshot to which the volume was restored.

  • storageCapacityQuotaGiB :: Maybe Natural

    The maximum amount of storage in gibibtyes (GiB) that the volume can use from its parent. You can specify a quota larger than the storage on the parent volume.

  • storageCapacityReservationGiB :: Maybe Natural

    The amount of storage in gibibytes (GiB) to reserve from the parent volume. You can't reserve more storage than the parent volume has reserved.

  • userAndGroupQuotas :: Maybe [OpenZFSUserOrGroupQuota]

    An object specifying how much storage users or groups can use on the volume.

  • volumePath :: Maybe Text

    The path to the volume from the root volume. For example, fsx/parentVolume/volume1.

Instances

Instances details
FromJSON OpenZFSVolumeConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSVolumeConfiguration

Generic OpenZFSVolumeConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSVolumeConfiguration

Associated Types

type Rep OpenZFSVolumeConfiguration :: Type -> Type #

Read OpenZFSVolumeConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSVolumeConfiguration

Show OpenZFSVolumeConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSVolumeConfiguration

NFData OpenZFSVolumeConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSVolumeConfiguration

Eq OpenZFSVolumeConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSVolumeConfiguration

Hashable OpenZFSVolumeConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSVolumeConfiguration

type Rep OpenZFSVolumeConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.OpenZFSVolumeConfiguration

type Rep OpenZFSVolumeConfiguration = D1 ('MetaData "OpenZFSVolumeConfiguration" "Amazonka.FSx.Types.OpenZFSVolumeConfiguration" "amazonka-fsx-2.0-6W1DYEEbHPkD4DJvTvpQG4" 'False) (C1 ('MetaCons "OpenZFSVolumeConfiguration'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "copyTagsToSnapshots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "dataCompressionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OpenZFSDataCompressionType)) :*: S1 ('MetaSel ('Just "deleteClonedVolumes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "deleteIntermediateSnaphots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "nfsExports") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OpenZFSNfsExport]))) :*: (S1 ('MetaSel ('Just "originSnapshot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OpenZFSOriginSnapshotConfiguration)) :*: S1 ('MetaSel ('Just "parentVolumeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "readOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "recordSizeKiB") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "restoreToSnapshot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "storageCapacityQuotaGiB") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "storageCapacityReservationGiB") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "userAndGroupQuotas") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OpenZFSUserOrGroupQuota])) :*: S1 ('MetaSel ('Just "volumePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newOpenZFSVolumeConfiguration :: OpenZFSVolumeConfiguration Source #

Create a value of OpenZFSVolumeConfiguration 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:copyTagsToSnapshots:OpenZFSVolumeConfiguration', openZFSVolumeConfiguration_copyTagsToSnapshots - A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to false. If it's set to true, all tags for the volume are copied to snapshots where the user doesn't specify tags. If this value is true and you specify one or more tags, only the specified tags are copied to snapshots. If you specify one or more tags when creating the snapshot, no tags are copied from the volume, regardless of this value.

$sel:dataCompressionType:OpenZFSVolumeConfiguration', openZFSVolumeConfiguration_dataCompressionType - Specifies the method used to compress the data on the volume. The compression type is NONE by default.

  • NONE - Doesn't compress the data on the volume. NONE is the default.
  • ZSTD - Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm. Compared to LZ4, Z-Standard provides a better compression ratio to minimize on-disk storage utilization.
  • LZ4 - Compresses the data in the volume using the LZ4 compression algorithm. Compared to Z-Standard, LZ4 is less compute-intensive and delivers higher write throughput speeds.

$sel:deleteClonedVolumes:OpenZFSVolumeConfiguration', openZFSVolumeConfiguration_deleteClonedVolumes - A Boolean value indicating whether dependent clone volumes created from intermediate snapshots should be deleted when a volume is restored from snapshot.

$sel:deleteIntermediateSnaphots:OpenZFSVolumeConfiguration', openZFSVolumeConfiguration_deleteIntermediateSnaphots - A Boolean value indicating whether snapshots between the current state and the specified snapshot should be deleted when a volume is restored from snapshot.

$sel:nfsExports:OpenZFSVolumeConfiguration', openZFSVolumeConfiguration_nfsExports - The configuration object for mounting a Network File System (NFS) file system.

$sel:originSnapshot:OpenZFSVolumeConfiguration', openZFSVolumeConfiguration_originSnapshot - The configuration object that specifies the snapshot to use as the origin of the data for the volume.

$sel:parentVolumeId:OpenZFSVolumeConfiguration', openZFSVolumeConfiguration_parentVolumeId - The ID of the parent volume.

$sel:readOnly:OpenZFSVolumeConfiguration', openZFSVolumeConfiguration_readOnly - A Boolean value indicating whether the volume is read-only.

$sel:recordSizeKiB:OpenZFSVolumeConfiguration', openZFSVolumeConfiguration_recordSizeKiB - The record size of an OpenZFS volume, in kibibytes (KiB). Valid values are 4, 8, 16, 32, 64, 128, 256, 512, or 1024 KiB. The default is 128 KiB. Most workloads should use the default record size. For guidance on when to set a custom record size, see the /Amazon FSx for OpenZFS User Guide/.

$sel:restoreToSnapshot:OpenZFSVolumeConfiguration', openZFSVolumeConfiguration_restoreToSnapshot - Specifies the ID of the snapshot to which the volume was restored.

OpenZFSVolumeConfiguration, openZFSVolumeConfiguration_storageCapacityQuotaGiB - The maximum amount of storage in gibibtyes (GiB) that the volume can use from its parent. You can specify a quota larger than the storage on the parent volume.

$sel:storageCapacityReservationGiB:OpenZFSVolumeConfiguration', openZFSVolumeConfiguration_storageCapacityReservationGiB - The amount of storage in gibibytes (GiB) to reserve from the parent volume. You can't reserve more storage than the parent volume has reserved.

$sel:userAndGroupQuotas:OpenZFSVolumeConfiguration', openZFSVolumeConfiguration_userAndGroupQuotas - An object specifying how much storage users or groups can use on the volume.

$sel:volumePath:OpenZFSVolumeConfiguration', openZFSVolumeConfiguration_volumePath - The path to the volume from the root volume. For example, fsx/parentVolume/volume1.

openZFSVolumeConfiguration_copyTagsToSnapshots :: Lens' OpenZFSVolumeConfiguration (Maybe Bool) Source #

A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to false. If it's set to true, all tags for the volume are copied to snapshots where the user doesn't specify tags. If this value is true and you specify one or more tags, only the specified tags are copied to snapshots. If you specify one or more tags when creating the snapshot, no tags are copied from the volume, regardless of this value.

openZFSVolumeConfiguration_dataCompressionType :: Lens' OpenZFSVolumeConfiguration (Maybe OpenZFSDataCompressionType) Source #

Specifies the method used to compress the data on the volume. The compression type is NONE by default.

  • NONE - Doesn't compress the data on the volume. NONE is the default.
  • ZSTD - Compresses the data in the volume using the Zstandard (ZSTD) compression algorithm. Compared to LZ4, Z-Standard provides a better compression ratio to minimize on-disk storage utilization.
  • LZ4 - Compresses the data in the volume using the LZ4 compression algorithm. Compared to Z-Standard, LZ4 is less compute-intensive and delivers higher write throughput speeds.

openZFSVolumeConfiguration_deleteClonedVolumes :: Lens' OpenZFSVolumeConfiguration (Maybe Bool) Source #

A Boolean value indicating whether dependent clone volumes created from intermediate snapshots should be deleted when a volume is restored from snapshot.

openZFSVolumeConfiguration_deleteIntermediateSnaphots :: Lens' OpenZFSVolumeConfiguration (Maybe Bool) Source #

A Boolean value indicating whether snapshots between the current state and the specified snapshot should be deleted when a volume is restored from snapshot.

openZFSVolumeConfiguration_nfsExports :: Lens' OpenZFSVolumeConfiguration (Maybe [OpenZFSNfsExport]) Source #

The configuration object for mounting a Network File System (NFS) file system.

openZFSVolumeConfiguration_originSnapshot :: Lens' OpenZFSVolumeConfiguration (Maybe OpenZFSOriginSnapshotConfiguration) Source #

The configuration object that specifies the snapshot to use as the origin of the data for the volume.

openZFSVolumeConfiguration_readOnly :: Lens' OpenZFSVolumeConfiguration (Maybe Bool) Source #

A Boolean value indicating whether the volume is read-only.

openZFSVolumeConfiguration_recordSizeKiB :: Lens' OpenZFSVolumeConfiguration (Maybe Natural) Source #

The record size of an OpenZFS volume, in kibibytes (KiB). Valid values are 4, 8, 16, 32, 64, 128, 256, 512, or 1024 KiB. The default is 128 KiB. Most workloads should use the default record size. For guidance on when to set a custom record size, see the /Amazon FSx for OpenZFS User Guide/.

openZFSVolumeConfiguration_restoreToSnapshot :: Lens' OpenZFSVolumeConfiguration (Maybe Text) Source #

Specifies the ID of the snapshot to which the volume was restored.

openZFSVolumeConfiguration_storageCapacityQuotaGiB :: Lens' OpenZFSVolumeConfiguration (Maybe Natural) Source #

The maximum amount of storage in gibibtyes (GiB) that the volume can use from its parent. You can specify a quota larger than the storage on the parent volume.

openZFSVolumeConfiguration_storageCapacityReservationGiB :: Lens' OpenZFSVolumeConfiguration (Maybe Natural) Source #

The amount of storage in gibibytes (GiB) to reserve from the parent volume. You can't reserve more storage than the parent volume has reserved.

openZFSVolumeConfiguration_userAndGroupQuotas :: Lens' OpenZFSVolumeConfiguration (Maybe [OpenZFSUserOrGroupQuota]) Source #

An object specifying how much storage users or groups can use on the volume.

openZFSVolumeConfiguration_volumePath :: Lens' OpenZFSVolumeConfiguration (Maybe Text) Source #

The path to the volume from the root volume. For example, fsx/parentVolume/volume1.