module Stratosphere.FSx.Volume.OpenZFSConfigurationProperty (
        module Exports, OpenZFSConfigurationProperty(..),
        mkOpenZFSConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.FSx.Volume.NfsExportsProperty as Exports
import {-# SOURCE #-} Stratosphere.FSx.Volume.OriginSnapshotProperty as Exports
import {-# SOURCE #-} Stratosphere.FSx.Volume.UserAndGroupQuotasProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data OpenZFSConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-openzfsconfiguration.html>
    OpenZFSConfigurationProperty {OpenZFSConfigurationProperty -> ()
haddock_workaround_ :: (),
                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-openzfsconfiguration.html#cfn-fsx-volume-openzfsconfiguration-copytagstosnapshots>
                                  OpenZFSConfigurationProperty -> Maybe (Value Bool)
copyTagsToSnapshots :: (Prelude.Maybe (Value Prelude.Bool)),
                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-openzfsconfiguration.html#cfn-fsx-volume-openzfsconfiguration-datacompressiontype>
                                  OpenZFSConfigurationProperty -> Maybe (Value Text)
dataCompressionType :: (Prelude.Maybe (Value Prelude.Text)),
                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-openzfsconfiguration.html#cfn-fsx-volume-openzfsconfiguration-nfsexports>
                                  OpenZFSConfigurationProperty -> Maybe [NfsExportsProperty]
nfsExports :: (Prelude.Maybe [NfsExportsProperty]),
                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-openzfsconfiguration.html#cfn-fsx-volume-openzfsconfiguration-options>
                                  OpenZFSConfigurationProperty -> Maybe (ValueList Text)
options :: (Prelude.Maybe (ValueList Prelude.Text)),
                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-openzfsconfiguration.html#cfn-fsx-volume-openzfsconfiguration-originsnapshot>
                                  OpenZFSConfigurationProperty -> Maybe OriginSnapshotProperty
originSnapshot :: (Prelude.Maybe OriginSnapshotProperty),
                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-openzfsconfiguration.html#cfn-fsx-volume-openzfsconfiguration-parentvolumeid>
                                  OpenZFSConfigurationProperty -> Value Text
parentVolumeId :: (Value Prelude.Text),
                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-openzfsconfiguration.html#cfn-fsx-volume-openzfsconfiguration-readonly>
                                  OpenZFSConfigurationProperty -> Maybe (Value Bool)
readOnly :: (Prelude.Maybe (Value Prelude.Bool)),
                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-openzfsconfiguration.html#cfn-fsx-volume-openzfsconfiguration-recordsizekib>
                                  OpenZFSConfigurationProperty -> Maybe (Value Integer)
recordSizeKiB :: (Prelude.Maybe (Value Prelude.Integer)),
                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-openzfsconfiguration.html#cfn-fsx-volume-openzfsconfiguration-storagecapacityquotagib>
                                  OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityQuotaGiB :: (Prelude.Maybe (Value Prelude.Integer)),
                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-openzfsconfiguration.html#cfn-fsx-volume-openzfsconfiguration-storagecapacityreservationgib>
                                  OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityReservationGiB :: (Prelude.Maybe (Value Prelude.Integer)),
                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-openzfsconfiguration.html#cfn-fsx-volume-openzfsconfiguration-userandgroupquotas>
                                  OpenZFSConfigurationProperty -> Maybe [UserAndGroupQuotasProperty]
userAndGroupQuotas :: (Prelude.Maybe [UserAndGroupQuotasProperty])}
  deriving stock (OpenZFSConfigurationProperty
-> OpenZFSConfigurationProperty -> Bool
(OpenZFSConfigurationProperty
 -> OpenZFSConfigurationProperty -> Bool)
-> (OpenZFSConfigurationProperty
    -> OpenZFSConfigurationProperty -> Bool)
-> Eq OpenZFSConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: OpenZFSConfigurationProperty
-> OpenZFSConfigurationProperty -> Bool
== :: OpenZFSConfigurationProperty
-> OpenZFSConfigurationProperty -> Bool
$c/= :: OpenZFSConfigurationProperty
-> OpenZFSConfigurationProperty -> Bool
/= :: OpenZFSConfigurationProperty
-> OpenZFSConfigurationProperty -> Bool
Prelude.Eq, Int -> OpenZFSConfigurationProperty -> ShowS
[OpenZFSConfigurationProperty] -> ShowS
OpenZFSConfigurationProperty -> String
(Int -> OpenZFSConfigurationProperty -> ShowS)
-> (OpenZFSConfigurationProperty -> String)
-> ([OpenZFSConfigurationProperty] -> ShowS)
-> Show OpenZFSConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> OpenZFSConfigurationProperty -> ShowS
showsPrec :: Int -> OpenZFSConfigurationProperty -> ShowS
$cshow :: OpenZFSConfigurationProperty -> String
show :: OpenZFSConfigurationProperty -> String
$cshowList :: [OpenZFSConfigurationProperty] -> ShowS
showList :: [OpenZFSConfigurationProperty] -> ShowS
Prelude.Show)
mkOpenZFSConfigurationProperty ::
  Value Prelude.Text -> OpenZFSConfigurationProperty
mkOpenZFSConfigurationProperty :: Value Text -> OpenZFSConfigurationProperty
mkOpenZFSConfigurationProperty Value Text
parentVolumeId
  = OpenZFSConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), parentVolumeId :: Value Text
parentVolumeId = Value Text
parentVolumeId,
       copyTagsToSnapshots :: Maybe (Value Bool)
copyTagsToSnapshots = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       dataCompressionType :: Maybe (Value Text)
dataCompressionType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       nfsExports :: Maybe [NfsExportsProperty]
nfsExports = Maybe [NfsExportsProperty]
forall a. Maybe a
Prelude.Nothing, options :: Maybe (ValueList Text)
options = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
       originSnapshot :: Maybe OriginSnapshotProperty
originSnapshot = Maybe OriginSnapshotProperty
forall a. Maybe a
Prelude.Nothing, readOnly :: Maybe (Value Bool)
readOnly = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       recordSizeKiB :: Maybe (Value Integer)
recordSizeKiB = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityQuotaGiB = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       storageCapacityReservationGiB :: Maybe (Value Integer)
storageCapacityReservationGiB = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
userAndGroupQuotas = Maybe [UserAndGroupQuotasProperty]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties OpenZFSConfigurationProperty where
  toResourceProperties :: OpenZFSConfigurationProperty -> ResourceProperties
toResourceProperties OpenZFSConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: OpenZFSConfigurationProperty -> ()
copyTagsToSnapshots :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: OpenZFSConfigurationProperty -> Maybe (Value Text)
nfsExports :: OpenZFSConfigurationProperty -> Maybe [NfsExportsProperty]
options :: OpenZFSConfigurationProperty -> Maybe (ValueList Text)
originSnapshot :: OpenZFSConfigurationProperty -> Maybe OriginSnapshotProperty
parentVolumeId :: OpenZFSConfigurationProperty -> Value Text
readOnly :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityQuotaGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityReservationGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: OpenZFSConfigurationProperty -> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::FSx::Volume.OpenZFSConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"ParentVolumeId" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
parentVolumeId]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CopyTagsToSnapshots" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
copyTagsToSnapshots,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DataCompressionType" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
dataCompressionType,
                               Key -> [NfsExportsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NfsExports" ([NfsExportsProperty] -> (Key, Value))
-> Maybe [NfsExportsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [NfsExportsProperty]
nfsExports,
                               Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Options" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
options,
                               Key -> OriginSnapshotProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OriginSnapshot" (OriginSnapshotProperty -> (Key, Value))
-> Maybe OriginSnapshotProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OriginSnapshotProperty
originSnapshot,
                               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ReadOnly" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
readOnly,
                               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RecordSizeKiB" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
recordSizeKiB,
                               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"StorageCapacityQuotaGiB"
                                 (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
storageCapacityQuotaGiB,
                               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"StorageCapacityReservationGiB"
                                 (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
storageCapacityReservationGiB,
                               Key -> [UserAndGroupQuotasProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"UserAndGroupQuotas" ([UserAndGroupQuotasProperty] -> (Key, Value))
-> Maybe [UserAndGroupQuotasProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [UserAndGroupQuotasProperty]
userAndGroupQuotas]))}
instance JSON.ToJSON OpenZFSConfigurationProperty where
  toJSON :: OpenZFSConfigurationProperty -> Value
toJSON OpenZFSConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: OpenZFSConfigurationProperty -> ()
copyTagsToSnapshots :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: OpenZFSConfigurationProperty -> Maybe (Value Text)
nfsExports :: OpenZFSConfigurationProperty -> Maybe [NfsExportsProperty]
options :: OpenZFSConfigurationProperty -> Maybe (ValueList Text)
originSnapshot :: OpenZFSConfigurationProperty -> Maybe OriginSnapshotProperty
parentVolumeId :: OpenZFSConfigurationProperty -> Value Text
readOnly :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityQuotaGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityReservationGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: OpenZFSConfigurationProperty -> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"ParentVolumeId" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
parentVolumeId]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CopyTagsToSnapshots" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
copyTagsToSnapshots,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DataCompressionType" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
dataCompressionType,
                  Key -> [NfsExportsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NfsExports" ([NfsExportsProperty] -> (Key, Value))
-> Maybe [NfsExportsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [NfsExportsProperty]
nfsExports,
                  Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Options" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
options,
                  Key -> OriginSnapshotProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OriginSnapshot" (OriginSnapshotProperty -> (Key, Value))
-> Maybe OriginSnapshotProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OriginSnapshotProperty
originSnapshot,
                  Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ReadOnly" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
readOnly,
                  Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RecordSizeKiB" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
recordSizeKiB,
                  Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"StorageCapacityQuotaGiB"
                    (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
storageCapacityQuotaGiB,
                  Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"StorageCapacityReservationGiB"
                    (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
storageCapacityReservationGiB,
                  Key -> [UserAndGroupQuotasProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"UserAndGroupQuotas" ([UserAndGroupQuotasProperty] -> (Key, Value))
-> Maybe [UserAndGroupQuotasProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [UserAndGroupQuotasProperty]
userAndGroupQuotas])))
instance Property "CopyTagsToSnapshots" OpenZFSConfigurationProperty where
  type PropertyType "CopyTagsToSnapshots" OpenZFSConfigurationProperty = Value Prelude.Bool
  set :: PropertyType "CopyTagsToSnapshots" OpenZFSConfigurationProperty
-> OpenZFSConfigurationProperty -> OpenZFSConfigurationProperty
set PropertyType "CopyTagsToSnapshots" OpenZFSConfigurationProperty
newValue OpenZFSConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: OpenZFSConfigurationProperty -> ()
copyTagsToSnapshots :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: OpenZFSConfigurationProperty -> Maybe (Value Text)
nfsExports :: OpenZFSConfigurationProperty -> Maybe [NfsExportsProperty]
options :: OpenZFSConfigurationProperty -> Maybe (ValueList Text)
originSnapshot :: OpenZFSConfigurationProperty -> Maybe OriginSnapshotProperty
parentVolumeId :: OpenZFSConfigurationProperty -> Value Text
readOnly :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityQuotaGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityReservationGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: OpenZFSConfigurationProperty -> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = OpenZFSConfigurationProperty
        {copyTagsToSnapshots :: Maybe (Value Bool)
copyTagsToSnapshots = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CopyTagsToSnapshots" OpenZFSConfigurationProperty
Value Bool
newValue, Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: ()
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
instance Property "DataCompressionType" OpenZFSConfigurationProperty where
  type PropertyType "DataCompressionType" OpenZFSConfigurationProperty = Value Prelude.Text
  set :: PropertyType "DataCompressionType" OpenZFSConfigurationProperty
-> OpenZFSConfigurationProperty -> OpenZFSConfigurationProperty
set PropertyType "DataCompressionType" OpenZFSConfigurationProperty
newValue OpenZFSConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: OpenZFSConfigurationProperty -> ()
copyTagsToSnapshots :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: OpenZFSConfigurationProperty -> Maybe (Value Text)
nfsExports :: OpenZFSConfigurationProperty -> Maybe [NfsExportsProperty]
options :: OpenZFSConfigurationProperty -> Maybe (ValueList Text)
originSnapshot :: OpenZFSConfigurationProperty -> Maybe OriginSnapshotProperty
parentVolumeId :: OpenZFSConfigurationProperty -> Value Text
readOnly :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityQuotaGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityReservationGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: OpenZFSConfigurationProperty -> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = OpenZFSConfigurationProperty
        {dataCompressionType :: Maybe (Value Text)
dataCompressionType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DataCompressionType" OpenZFSConfigurationProperty
Value Text
newValue, Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
instance Property "NfsExports" OpenZFSConfigurationProperty where
  type PropertyType "NfsExports" OpenZFSConfigurationProperty = [NfsExportsProperty]
  set :: PropertyType "NfsExports" OpenZFSConfigurationProperty
-> OpenZFSConfigurationProperty -> OpenZFSConfigurationProperty
set PropertyType "NfsExports" OpenZFSConfigurationProperty
newValue OpenZFSConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: OpenZFSConfigurationProperty -> ()
copyTagsToSnapshots :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: OpenZFSConfigurationProperty -> Maybe (Value Text)
nfsExports :: OpenZFSConfigurationProperty -> Maybe [NfsExportsProperty]
options :: OpenZFSConfigurationProperty -> Maybe (ValueList Text)
originSnapshot :: OpenZFSConfigurationProperty -> Maybe OriginSnapshotProperty
parentVolumeId :: OpenZFSConfigurationProperty -> Value Text
readOnly :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityQuotaGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityReservationGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: OpenZFSConfigurationProperty -> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = OpenZFSConfigurationProperty
        {nfsExports :: Maybe [NfsExportsProperty]
nfsExports = [NfsExportsProperty] -> Maybe [NfsExportsProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [NfsExportsProperty]
PropertyType "NfsExports" OpenZFSConfigurationProperty
newValue, Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
instance Property "Options" OpenZFSConfigurationProperty where
  type PropertyType "Options" OpenZFSConfigurationProperty = ValueList Prelude.Text
  set :: PropertyType "Options" OpenZFSConfigurationProperty
-> OpenZFSConfigurationProperty -> OpenZFSConfigurationProperty
set PropertyType "Options" OpenZFSConfigurationProperty
newValue OpenZFSConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: OpenZFSConfigurationProperty -> ()
copyTagsToSnapshots :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: OpenZFSConfigurationProperty -> Maybe (Value Text)
nfsExports :: OpenZFSConfigurationProperty -> Maybe [NfsExportsProperty]
options :: OpenZFSConfigurationProperty -> Maybe (ValueList Text)
originSnapshot :: OpenZFSConfigurationProperty -> Maybe OriginSnapshotProperty
parentVolumeId :: OpenZFSConfigurationProperty -> Value Text
readOnly :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityQuotaGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityReservationGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: OpenZFSConfigurationProperty -> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = OpenZFSConfigurationProperty
        {options :: Maybe (ValueList Text)
options = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Options" OpenZFSConfigurationProperty
ValueList Text
newValue, Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
instance Property "OriginSnapshot" OpenZFSConfigurationProperty where
  type PropertyType "OriginSnapshot" OpenZFSConfigurationProperty = OriginSnapshotProperty
  set :: PropertyType "OriginSnapshot" OpenZFSConfigurationProperty
-> OpenZFSConfigurationProperty -> OpenZFSConfigurationProperty
set PropertyType "OriginSnapshot" OpenZFSConfigurationProperty
newValue OpenZFSConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: OpenZFSConfigurationProperty -> ()
copyTagsToSnapshots :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: OpenZFSConfigurationProperty -> Maybe (Value Text)
nfsExports :: OpenZFSConfigurationProperty -> Maybe [NfsExportsProperty]
options :: OpenZFSConfigurationProperty -> Maybe (ValueList Text)
originSnapshot :: OpenZFSConfigurationProperty -> Maybe OriginSnapshotProperty
parentVolumeId :: OpenZFSConfigurationProperty -> Value Text
readOnly :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityQuotaGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityReservationGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: OpenZFSConfigurationProperty -> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = OpenZFSConfigurationProperty
        {originSnapshot :: Maybe OriginSnapshotProperty
originSnapshot = OriginSnapshotProperty -> Maybe OriginSnapshotProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OriginSnapshot" OpenZFSConfigurationProperty
OriginSnapshotProperty
newValue, Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
instance Property "ParentVolumeId" OpenZFSConfigurationProperty where
  type PropertyType "ParentVolumeId" OpenZFSConfigurationProperty = Value Prelude.Text
  set :: PropertyType "ParentVolumeId" OpenZFSConfigurationProperty
-> OpenZFSConfigurationProperty -> OpenZFSConfigurationProperty
set PropertyType "ParentVolumeId" OpenZFSConfigurationProperty
newValue OpenZFSConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: OpenZFSConfigurationProperty -> ()
copyTagsToSnapshots :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: OpenZFSConfigurationProperty -> Maybe (Value Text)
nfsExports :: OpenZFSConfigurationProperty -> Maybe [NfsExportsProperty]
options :: OpenZFSConfigurationProperty -> Maybe (ValueList Text)
originSnapshot :: OpenZFSConfigurationProperty -> Maybe OriginSnapshotProperty
parentVolumeId :: OpenZFSConfigurationProperty -> Value Text
readOnly :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityQuotaGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityReservationGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: OpenZFSConfigurationProperty -> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = OpenZFSConfigurationProperty {parentVolumeId :: Value Text
parentVolumeId = PropertyType "ParentVolumeId" OpenZFSConfigurationProperty
Value Text
newValue, Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
instance Property "ReadOnly" OpenZFSConfigurationProperty where
  type PropertyType "ReadOnly" OpenZFSConfigurationProperty = Value Prelude.Bool
  set :: PropertyType "ReadOnly" OpenZFSConfigurationProperty
-> OpenZFSConfigurationProperty -> OpenZFSConfigurationProperty
set PropertyType "ReadOnly" OpenZFSConfigurationProperty
newValue OpenZFSConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: OpenZFSConfigurationProperty -> ()
copyTagsToSnapshots :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: OpenZFSConfigurationProperty -> Maybe (Value Text)
nfsExports :: OpenZFSConfigurationProperty -> Maybe [NfsExportsProperty]
options :: OpenZFSConfigurationProperty -> Maybe (ValueList Text)
originSnapshot :: OpenZFSConfigurationProperty -> Maybe OriginSnapshotProperty
parentVolumeId :: OpenZFSConfigurationProperty -> Value Text
readOnly :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityQuotaGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityReservationGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: OpenZFSConfigurationProperty -> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = OpenZFSConfigurationProperty
        {readOnly :: Maybe (Value Bool)
readOnly = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ReadOnly" OpenZFSConfigurationProperty
Value Bool
newValue, Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
instance Property "RecordSizeKiB" OpenZFSConfigurationProperty where
  type PropertyType "RecordSizeKiB" OpenZFSConfigurationProperty = Value Prelude.Integer
  set :: PropertyType "RecordSizeKiB" OpenZFSConfigurationProperty
-> OpenZFSConfigurationProperty -> OpenZFSConfigurationProperty
set PropertyType "RecordSizeKiB" OpenZFSConfigurationProperty
newValue OpenZFSConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: OpenZFSConfigurationProperty -> ()
copyTagsToSnapshots :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: OpenZFSConfigurationProperty -> Maybe (Value Text)
nfsExports :: OpenZFSConfigurationProperty -> Maybe [NfsExportsProperty]
options :: OpenZFSConfigurationProperty -> Maybe (ValueList Text)
originSnapshot :: OpenZFSConfigurationProperty -> Maybe OriginSnapshotProperty
parentVolumeId :: OpenZFSConfigurationProperty -> Value Text
readOnly :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityQuotaGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityReservationGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: OpenZFSConfigurationProperty -> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = OpenZFSConfigurationProperty
        {recordSizeKiB :: Maybe (Value Integer)
recordSizeKiB = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RecordSizeKiB" OpenZFSConfigurationProperty
Value Integer
newValue, Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
instance Property "StorageCapacityQuotaGiB" OpenZFSConfigurationProperty where
  type PropertyType "StorageCapacityQuotaGiB" OpenZFSConfigurationProperty = Value Prelude.Integer
  set :: PropertyType "StorageCapacityQuotaGiB" OpenZFSConfigurationProperty
-> OpenZFSConfigurationProperty -> OpenZFSConfigurationProperty
set PropertyType "StorageCapacityQuotaGiB" OpenZFSConfigurationProperty
newValue OpenZFSConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: OpenZFSConfigurationProperty -> ()
copyTagsToSnapshots :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: OpenZFSConfigurationProperty -> Maybe (Value Text)
nfsExports :: OpenZFSConfigurationProperty -> Maybe [NfsExportsProperty]
options :: OpenZFSConfigurationProperty -> Maybe (ValueList Text)
originSnapshot :: OpenZFSConfigurationProperty -> Maybe OriginSnapshotProperty
parentVolumeId :: OpenZFSConfigurationProperty -> Value Text
readOnly :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityQuotaGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityReservationGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: OpenZFSConfigurationProperty -> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = OpenZFSConfigurationProperty
        {storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityQuotaGiB = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "StorageCapacityQuotaGiB" OpenZFSConfigurationProperty
Value Integer
newValue, Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
instance Property "StorageCapacityReservationGiB" OpenZFSConfigurationProperty where
  type PropertyType "StorageCapacityReservationGiB" OpenZFSConfigurationProperty = Value Prelude.Integer
  set :: PropertyType
  "StorageCapacityReservationGiB" OpenZFSConfigurationProperty
-> OpenZFSConfigurationProperty -> OpenZFSConfigurationProperty
set PropertyType
  "StorageCapacityReservationGiB" OpenZFSConfigurationProperty
newValue OpenZFSConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: OpenZFSConfigurationProperty -> ()
copyTagsToSnapshots :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: OpenZFSConfigurationProperty -> Maybe (Value Text)
nfsExports :: OpenZFSConfigurationProperty -> Maybe [NfsExportsProperty]
options :: OpenZFSConfigurationProperty -> Maybe (ValueList Text)
originSnapshot :: OpenZFSConfigurationProperty -> Maybe OriginSnapshotProperty
parentVolumeId :: OpenZFSConfigurationProperty -> Value Text
readOnly :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityQuotaGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityReservationGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: OpenZFSConfigurationProperty -> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = OpenZFSConfigurationProperty
        {storageCapacityReservationGiB :: Maybe (Value Integer)
storageCapacityReservationGiB = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "StorageCapacityReservationGiB" OpenZFSConfigurationProperty
Value Integer
newValue, Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
instance Property "UserAndGroupQuotas" OpenZFSConfigurationProperty where
  type PropertyType "UserAndGroupQuotas" OpenZFSConfigurationProperty = [UserAndGroupQuotasProperty]
  set :: PropertyType "UserAndGroupQuotas" OpenZFSConfigurationProperty
-> OpenZFSConfigurationProperty -> OpenZFSConfigurationProperty
set PropertyType "UserAndGroupQuotas" OpenZFSConfigurationProperty
newValue OpenZFSConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: OpenZFSConfigurationProperty -> ()
copyTagsToSnapshots :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: OpenZFSConfigurationProperty -> Maybe (Value Text)
nfsExports :: OpenZFSConfigurationProperty -> Maybe [NfsExportsProperty]
options :: OpenZFSConfigurationProperty -> Maybe (ValueList Text)
originSnapshot :: OpenZFSConfigurationProperty -> Maybe OriginSnapshotProperty
parentVolumeId :: OpenZFSConfigurationProperty -> Value Text
readOnly :: OpenZFSConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityQuotaGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
storageCapacityReservationGiB :: OpenZFSConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: OpenZFSConfigurationProperty -> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = OpenZFSConfigurationProperty
        {userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
userAndGroupQuotas = [UserAndGroupQuotasProperty] -> Maybe [UserAndGroupQuotasProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [UserAndGroupQuotasProperty]
PropertyType "UserAndGroupQuotas" OpenZFSConfigurationProperty
newValue, Maybe [NfsExportsProperty]
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe OriginSnapshotProperty
()
Value Text
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
options :: Maybe (ValueList Text)
originSnapshot :: Maybe OriginSnapshotProperty
parentVolumeId :: Value Text
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
storageCapacityQuotaGiB :: Maybe (Value Integer)
storageCapacityReservationGiB :: Maybe (Value Integer)
..}