Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data DiskInfo = DiskInfo' {}
- newDiskInfo :: DiskInfo
- diskInfo_path :: Lens' DiskInfo (Maybe Text)
- diskInfo_name :: Lens' DiskInfo (Maybe Text)
- diskInfo_sizeInGb :: Lens' DiskInfo (Maybe Int)
- diskInfo_isSystemDisk :: Lens' DiskInfo (Maybe Bool)
Documentation
Describes a disk.
See: newDiskInfo
smart constructor.
Instances
Eq DiskInfo Source # | |
Read DiskInfo Source # | |
Show DiskInfo Source # | |
Generic DiskInfo Source # | |
NFData DiskInfo Source # | |
Defined in Amazonka.Lightsail.Types.DiskInfo | |
Hashable DiskInfo Source # | |
Defined in Amazonka.Lightsail.Types.DiskInfo | |
FromJSON DiskInfo Source # | |
type Rep DiskInfo Source # | |
Defined in Amazonka.Lightsail.Types.DiskInfo type Rep DiskInfo = D1 ('MetaData "DiskInfo" "Amazonka.Lightsail.Types.DiskInfo" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "DiskInfo'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "sizeInGb") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "isSystemDisk") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) |
newDiskInfo :: DiskInfo Source #
Create a value of DiskInfo
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:path:DiskInfo'
, diskInfo_path
- The disk path.
$sel:name:DiskInfo'
, diskInfo_name
- The disk name.
$sel:sizeInGb:DiskInfo'
, diskInfo_sizeInGb
- The size of the disk in GB (e.g., 32
).
$sel:isSystemDisk:DiskInfo'
, diskInfo_isSystemDisk
- A Boolean value indicating whether this disk is a system disk (has an
operating system loaded on it).