module Stratosphere.Lightsail.Instance.DiskProperty (
        DiskProperty(..), mkDiskProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data DiskProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html>
    DiskProperty {DiskProperty -> ()
haddock_workaround_ :: (),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-attachedto>
                  DiskProperty -> Maybe (Value Text)
attachedTo :: (Prelude.Maybe (Value Prelude.Text)),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-attachmentstate>
                  DiskProperty -> Maybe (Value Text)
attachmentState :: (Prelude.Maybe (Value Prelude.Text)),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-diskname>
                  DiskProperty -> Value Text
diskName :: (Value Prelude.Text),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-iops>
                  DiskProperty -> Maybe (Value Integer)
iOPS :: (Prelude.Maybe (Value Prelude.Integer)),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-issystemdisk>
                  DiskProperty -> Maybe (Value Bool)
isSystemDisk :: (Prelude.Maybe (Value Prelude.Bool)),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-path>
                  DiskProperty -> Value Text
path :: (Value Prelude.Text),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html#cfn-lightsail-instance-disk-sizeingb>
                  DiskProperty -> Maybe (Value Text)
sizeInGb :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (DiskProperty -> DiskProperty -> Bool
(DiskProperty -> DiskProperty -> Bool)
-> (DiskProperty -> DiskProperty -> Bool) -> Eq DiskProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DiskProperty -> DiskProperty -> Bool
== :: DiskProperty -> DiskProperty -> Bool
$c/= :: DiskProperty -> DiskProperty -> Bool
/= :: DiskProperty -> DiskProperty -> Bool
Prelude.Eq, Int -> DiskProperty -> ShowS
[DiskProperty] -> ShowS
DiskProperty -> String
(Int -> DiskProperty -> ShowS)
-> (DiskProperty -> String)
-> ([DiskProperty] -> ShowS)
-> Show DiskProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DiskProperty -> ShowS
showsPrec :: Int -> DiskProperty -> ShowS
$cshow :: DiskProperty -> String
show :: DiskProperty -> String
$cshowList :: [DiskProperty] -> ShowS
showList :: [DiskProperty] -> ShowS
Prelude.Show)
mkDiskProperty ::
  Value Prelude.Text -> Value Prelude.Text -> DiskProperty
mkDiskProperty :: Value Text -> Value Text -> DiskProperty
mkDiskProperty Value Text
diskName Value Text
path
  = DiskProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), diskName :: Value Text
diskName = Value Text
diskName, path :: Value Text
path = Value Text
path,
       attachedTo :: Maybe (Value Text)
attachedTo = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, attachmentState :: Maybe (Value Text)
attachmentState = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       iOPS :: Maybe (Value Integer)
iOPS = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing, isSystemDisk :: Maybe (Value Bool)
isSystemDisk = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       sizeInGb :: Maybe (Value Text)
sizeInGb = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties DiskProperty where
  toResourceProperties :: DiskProperty -> ResourceProperties
toResourceProperties DiskProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: DiskProperty -> ()
attachedTo :: DiskProperty -> Maybe (Value Text)
attachmentState :: DiskProperty -> Maybe (Value Text)
diskName :: DiskProperty -> Value Text
iOPS :: DiskProperty -> Maybe (Value Integer)
isSystemDisk :: DiskProperty -> Maybe (Value Bool)
path :: DiskProperty -> Value Text
sizeInGb :: DiskProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
attachmentState :: Maybe (Value Text)
diskName :: Value Text
iOPS :: Maybe (Value Integer)
isSystemDisk :: Maybe (Value Bool)
path :: Value Text
sizeInGb :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Lightsail::Instance.Disk",
         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
"DiskName" 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
diskName, Key
"Path" 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
path]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [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
"AttachedTo" (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)
attachedTo,
                               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
"AttachmentState" (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)
attachmentState,
                               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
"IOPS" (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)
iOPS,
                               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
"IsSystemDisk" (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)
isSystemDisk,
                               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
"SizeInGb" (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)
sizeInGb]))}
instance JSON.ToJSON DiskProperty where
  toJSON :: DiskProperty -> Value
toJSON DiskProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: DiskProperty -> ()
attachedTo :: DiskProperty -> Maybe (Value Text)
attachmentState :: DiskProperty -> Maybe (Value Text)
diskName :: DiskProperty -> Value Text
iOPS :: DiskProperty -> Maybe (Value Integer)
isSystemDisk :: DiskProperty -> Maybe (Value Bool)
path :: DiskProperty -> Value Text
sizeInGb :: DiskProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
attachmentState :: Maybe (Value Text)
diskName :: Value Text
iOPS :: Maybe (Value Integer)
isSystemDisk :: Maybe (Value Bool)
path :: Value Text
sizeInGb :: Maybe (Value Text)
..}
    = [(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
"DiskName" 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
diskName, Key
"Path" 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
path]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [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
"AttachedTo" (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)
attachedTo,
                  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
"AttachmentState" (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)
attachmentState,
                  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
"IOPS" (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)
iOPS,
                  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
"IsSystemDisk" (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)
isSystemDisk,
                  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
"SizeInGb" (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)
sizeInGb])))
instance Property "AttachedTo" DiskProperty where
  type PropertyType "AttachedTo" DiskProperty = Value Prelude.Text
  set :: PropertyType "AttachedTo" DiskProperty
-> DiskProperty -> DiskProperty
set PropertyType "AttachedTo" DiskProperty
newValue DiskProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: DiskProperty -> ()
attachedTo :: DiskProperty -> Maybe (Value Text)
attachmentState :: DiskProperty -> Maybe (Value Text)
diskName :: DiskProperty -> Value Text
iOPS :: DiskProperty -> Maybe (Value Integer)
isSystemDisk :: DiskProperty -> Maybe (Value Bool)
path :: DiskProperty -> Value Text
sizeInGb :: DiskProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
attachmentState :: Maybe (Value Text)
diskName :: Value Text
iOPS :: Maybe (Value Integer)
isSystemDisk :: Maybe (Value Bool)
path :: Value Text
sizeInGb :: Maybe (Value Text)
..}
    = DiskProperty {attachedTo :: Maybe (Value Text)
attachedTo = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AttachedTo" DiskProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
attachmentState :: Maybe (Value Text)
diskName :: Value Text
iOPS :: Maybe (Value Integer)
isSystemDisk :: Maybe (Value Bool)
path :: Value Text
sizeInGb :: Maybe (Value Text)
haddock_workaround_ :: ()
attachmentState :: Maybe (Value Text)
diskName :: Value Text
iOPS :: Maybe (Value Integer)
isSystemDisk :: Maybe (Value Bool)
path :: Value Text
sizeInGb :: Maybe (Value Text)
..}
instance Property "AttachmentState" DiskProperty where
  type PropertyType "AttachmentState" DiskProperty = Value Prelude.Text
  set :: PropertyType "AttachmentState" DiskProperty
-> DiskProperty -> DiskProperty
set PropertyType "AttachmentState" DiskProperty
newValue DiskProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: DiskProperty -> ()
attachedTo :: DiskProperty -> Maybe (Value Text)
attachmentState :: DiskProperty -> Maybe (Value Text)
diskName :: DiskProperty -> Value Text
iOPS :: DiskProperty -> Maybe (Value Integer)
isSystemDisk :: DiskProperty -> Maybe (Value Bool)
path :: DiskProperty -> Value Text
sizeInGb :: DiskProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
attachmentState :: Maybe (Value Text)
diskName :: Value Text
iOPS :: Maybe (Value Integer)
isSystemDisk :: Maybe (Value Bool)
path :: Value Text
sizeInGb :: Maybe (Value Text)
..}
    = DiskProperty {attachmentState :: Maybe (Value Text)
attachmentState = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AttachmentState" DiskProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
diskName :: Value Text
iOPS :: Maybe (Value Integer)
isSystemDisk :: Maybe (Value Bool)
path :: Value Text
sizeInGb :: Maybe (Value Text)
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
diskName :: Value Text
iOPS :: Maybe (Value Integer)
isSystemDisk :: Maybe (Value Bool)
path :: Value Text
sizeInGb :: Maybe (Value Text)
..}
instance Property "DiskName" DiskProperty where
  type PropertyType "DiskName" DiskProperty = Value Prelude.Text
  set :: PropertyType "DiskName" DiskProperty
-> DiskProperty -> DiskProperty
set PropertyType "DiskName" DiskProperty
newValue DiskProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: DiskProperty -> ()
attachedTo :: DiskProperty -> Maybe (Value Text)
attachmentState :: DiskProperty -> Maybe (Value Text)
diskName :: DiskProperty -> Value Text
iOPS :: DiskProperty -> Maybe (Value Integer)
isSystemDisk :: DiskProperty -> Maybe (Value Bool)
path :: DiskProperty -> Value Text
sizeInGb :: DiskProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
attachmentState :: Maybe (Value Text)
diskName :: Value Text
iOPS :: Maybe (Value Integer)
isSystemDisk :: Maybe (Value Bool)
path :: Value Text
sizeInGb :: Maybe (Value Text)
..}
    = DiskProperty {diskName :: Value Text
diskName = PropertyType "DiskName" DiskProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
attachmentState :: Maybe (Value Text)
iOPS :: Maybe (Value Integer)
isSystemDisk :: Maybe (Value Bool)
path :: Value Text
sizeInGb :: Maybe (Value Text)
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
attachmentState :: Maybe (Value Text)
iOPS :: Maybe (Value Integer)
isSystemDisk :: Maybe (Value Bool)
path :: Value Text
sizeInGb :: Maybe (Value Text)
..}
instance Property "IOPS" DiskProperty where
  type PropertyType "IOPS" DiskProperty = Value Prelude.Integer
  set :: PropertyType "IOPS" DiskProperty -> DiskProperty -> DiskProperty
set PropertyType "IOPS" DiskProperty
newValue DiskProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: DiskProperty -> ()
attachedTo :: DiskProperty -> Maybe (Value Text)
attachmentState :: DiskProperty -> Maybe (Value Text)
diskName :: DiskProperty -> Value Text
iOPS :: DiskProperty -> Maybe (Value Integer)
isSystemDisk :: DiskProperty -> Maybe (Value Bool)
path :: DiskProperty -> Value Text
sizeInGb :: DiskProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
attachmentState :: Maybe (Value Text)
diskName :: Value Text
iOPS :: Maybe (Value Integer)
isSystemDisk :: Maybe (Value Bool)
path :: Value Text
sizeInGb :: Maybe (Value Text)
..}
    = DiskProperty {iOPS :: Maybe (Value Integer)
iOPS = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IOPS" DiskProperty
Value Integer
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
attachmentState :: Maybe (Value Text)
diskName :: Value Text
isSystemDisk :: Maybe (Value Bool)
path :: Value Text
sizeInGb :: Maybe (Value Text)
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
attachmentState :: Maybe (Value Text)
diskName :: Value Text
isSystemDisk :: Maybe (Value Bool)
path :: Value Text
sizeInGb :: Maybe (Value Text)
..}
instance Property "IsSystemDisk" DiskProperty where
  type PropertyType "IsSystemDisk" DiskProperty = Value Prelude.Bool
  set :: PropertyType "IsSystemDisk" DiskProperty
-> DiskProperty -> DiskProperty
set PropertyType "IsSystemDisk" DiskProperty
newValue DiskProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: DiskProperty -> ()
attachedTo :: DiskProperty -> Maybe (Value Text)
attachmentState :: DiskProperty -> Maybe (Value Text)
diskName :: DiskProperty -> Value Text
iOPS :: DiskProperty -> Maybe (Value Integer)
isSystemDisk :: DiskProperty -> Maybe (Value Bool)
path :: DiskProperty -> Value Text
sizeInGb :: DiskProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
attachmentState :: Maybe (Value Text)
diskName :: Value Text
iOPS :: Maybe (Value Integer)
isSystemDisk :: Maybe (Value Bool)
path :: Value Text
sizeInGb :: Maybe (Value Text)
..}
    = DiskProperty {isSystemDisk :: Maybe (Value Bool)
isSystemDisk = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "IsSystemDisk" DiskProperty
Value Bool
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
attachmentState :: Maybe (Value Text)
diskName :: Value Text
iOPS :: Maybe (Value Integer)
path :: Value Text
sizeInGb :: Maybe (Value Text)
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
attachmentState :: Maybe (Value Text)
diskName :: Value Text
iOPS :: Maybe (Value Integer)
path :: Value Text
sizeInGb :: Maybe (Value Text)
..}
instance Property "Path" DiskProperty where
  type PropertyType "Path" DiskProperty = Value Prelude.Text
  set :: PropertyType "Path" DiskProperty -> DiskProperty -> DiskProperty
set PropertyType "Path" DiskProperty
newValue DiskProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: DiskProperty -> ()
attachedTo :: DiskProperty -> Maybe (Value Text)
attachmentState :: DiskProperty -> Maybe (Value Text)
diskName :: DiskProperty -> Value Text
iOPS :: DiskProperty -> Maybe (Value Integer)
isSystemDisk :: DiskProperty -> Maybe (Value Bool)
path :: DiskProperty -> Value Text
sizeInGb :: DiskProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
attachmentState :: Maybe (Value Text)
diskName :: Value Text
iOPS :: Maybe (Value Integer)
isSystemDisk :: Maybe (Value Bool)
path :: Value Text
sizeInGb :: Maybe (Value Text)
..} = DiskProperty {path :: Value Text
path = PropertyType "Path" DiskProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
attachmentState :: Maybe (Value Text)
diskName :: Value Text
iOPS :: Maybe (Value Integer)
isSystemDisk :: Maybe (Value Bool)
sizeInGb :: Maybe (Value Text)
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
attachmentState :: Maybe (Value Text)
diskName :: Value Text
iOPS :: Maybe (Value Integer)
isSystemDisk :: Maybe (Value Bool)
sizeInGb :: Maybe (Value Text)
..}
instance Property "SizeInGb" DiskProperty where
  type PropertyType "SizeInGb" DiskProperty = Value Prelude.Text
  set :: PropertyType "SizeInGb" DiskProperty
-> DiskProperty -> DiskProperty
set PropertyType "SizeInGb" DiskProperty
newValue DiskProperty {Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: DiskProperty -> ()
attachedTo :: DiskProperty -> Maybe (Value Text)
attachmentState :: DiskProperty -> Maybe (Value Text)
diskName :: DiskProperty -> Value Text
iOPS :: DiskProperty -> Maybe (Value Integer)
isSystemDisk :: DiskProperty -> Maybe (Value Bool)
path :: DiskProperty -> Value Text
sizeInGb :: DiskProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
attachmentState :: Maybe (Value Text)
diskName :: Value Text
iOPS :: Maybe (Value Integer)
isSystemDisk :: Maybe (Value Bool)
path :: Value Text
sizeInGb :: Maybe (Value Text)
..}
    = DiskProperty {sizeInGb :: Maybe (Value Text)
sizeInGb = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SizeInGb" DiskProperty
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
attachmentState :: Maybe (Value Text)
diskName :: Value Text
iOPS :: Maybe (Value Integer)
isSystemDisk :: Maybe (Value Bool)
path :: Value Text
haddock_workaround_ :: ()
attachedTo :: Maybe (Value Text)
attachmentState :: Maybe (Value Text)
diskName :: Value Text
iOPS :: Maybe (Value Integer)
isSystemDisk :: Maybe (Value Bool)
path :: Value Text
..}