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.UpdateOpenZFSVolumeConfiguration

Description

 
Synopsis

Documentation

data UpdateOpenZFSVolumeConfiguration Source #

Used to specify changes to the OpenZFS configuration for the volume that you are updating.

See: newUpdateOpenZFSVolumeConfiguration smart constructor.

Constructors

UpdateOpenZFSVolumeConfiguration' 

Fields

  • 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.
  • nfsExports :: Maybe [OpenZFSNfsExport]

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

  • readOnly :: Maybe Bool

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

  • recordSizeKiB :: Maybe Natural

    Specifies 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. Database workflows can benefit from a smaller record size, while streaming workflows can benefit from a larger record size. For additional guidance on when to set a custom record size, see Tips for maximizing performance in the Amazon FSx for OpenZFS User Guide.

  • storageCapacityQuotaGiB :: Maybe Int

    The maximum amount of storage in gibibytes (GiB) that the volume can use from its parent. You can specify a quota larger than the storage on the parent volume. You can specify a value of -1 to unset a volume's storage capacity quota.

  • storageCapacityReservationGiB :: Maybe Int

    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. You can specify a value of -1 to unset a volume's storage capacity reservation.

  • userAndGroupQuotas :: Maybe [OpenZFSUserOrGroupQuota]

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

Instances

Instances details
ToJSON UpdateOpenZFSVolumeConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.UpdateOpenZFSVolumeConfiguration

Generic UpdateOpenZFSVolumeConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.UpdateOpenZFSVolumeConfiguration

Associated Types

type Rep UpdateOpenZFSVolumeConfiguration :: Type -> Type #

Read UpdateOpenZFSVolumeConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.UpdateOpenZFSVolumeConfiguration

Show UpdateOpenZFSVolumeConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.UpdateOpenZFSVolumeConfiguration

NFData UpdateOpenZFSVolumeConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.UpdateOpenZFSVolumeConfiguration

Eq UpdateOpenZFSVolumeConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.UpdateOpenZFSVolumeConfiguration

Hashable UpdateOpenZFSVolumeConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.UpdateOpenZFSVolumeConfiguration

type Rep UpdateOpenZFSVolumeConfiguration Source # 
Instance details

Defined in Amazonka.FSx.Types.UpdateOpenZFSVolumeConfiguration

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

newUpdateOpenZFSVolumeConfiguration :: UpdateOpenZFSVolumeConfiguration Source #

Create a value of UpdateOpenZFSVolumeConfiguration 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:dataCompressionType:UpdateOpenZFSVolumeConfiguration', updateOpenZFSVolumeConfiguration_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:nfsExports:UpdateOpenZFSVolumeConfiguration', updateOpenZFSVolumeConfiguration_nfsExports - The configuration object for mounting a Network File System (NFS) file system.

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

$sel:recordSizeKiB:UpdateOpenZFSVolumeConfiguration', updateOpenZFSVolumeConfiguration_recordSizeKiB - Specifies 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. Database workflows can benefit from a smaller record size, while streaming workflows can benefit from a larger record size. For additional guidance on when to set a custom record size, see Tips for maximizing performance in the Amazon FSx for OpenZFS User Guide.

UpdateOpenZFSVolumeConfiguration, updateOpenZFSVolumeConfiguration_storageCapacityQuotaGiB - The maximum amount of storage in gibibytes (GiB) that the volume can use from its parent. You can specify a quota larger than the storage on the parent volume. You can specify a value of -1 to unset a volume's storage capacity quota.

$sel:storageCapacityReservationGiB:UpdateOpenZFSVolumeConfiguration', updateOpenZFSVolumeConfiguration_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. You can specify a value of -1 to unset a volume's storage capacity reservation.

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

updateOpenZFSVolumeConfiguration_dataCompressionType :: Lens' UpdateOpenZFSVolumeConfiguration (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.

updateOpenZFSVolumeConfiguration_nfsExports :: Lens' UpdateOpenZFSVolumeConfiguration (Maybe [OpenZFSNfsExport]) Source #

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

updateOpenZFSVolumeConfiguration_readOnly :: Lens' UpdateOpenZFSVolumeConfiguration (Maybe Bool) Source #

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

updateOpenZFSVolumeConfiguration_recordSizeKiB :: Lens' UpdateOpenZFSVolumeConfiguration (Maybe Natural) Source #

Specifies 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. Database workflows can benefit from a smaller record size, while streaming workflows can benefit from a larger record size. For additional guidance on when to set a custom record size, see Tips for maximizing performance in the Amazon FSx for OpenZFS User Guide.

updateOpenZFSVolumeConfiguration_storageCapacityQuotaGiB :: Lens' UpdateOpenZFSVolumeConfiguration (Maybe Int) Source #

The maximum amount of storage in gibibytes (GiB) that the volume can use from its parent. You can specify a quota larger than the storage on the parent volume. You can specify a value of -1 to unset a volume's storage capacity quota.

updateOpenZFSVolumeConfiguration_storageCapacityReservationGiB :: Lens' UpdateOpenZFSVolumeConfiguration (Maybe Int) 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. You can specify a value of -1 to unset a volume's storage capacity reservation.

updateOpenZFSVolumeConfiguration_userAndGroupQuotas :: Lens' UpdateOpenZFSVolumeConfiguration (Maybe [OpenZFSUserOrGroupQuota]) Source #

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