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 DiskMap = DiskMap' {}
- newDiskMap :: DiskMap
- diskMap_newDiskName :: Lens' DiskMap (Maybe Text)
- diskMap_originalDiskPath :: Lens' DiskMap (Maybe Text)
Documentation
Describes a block storage disk mapping.
See: newDiskMap
smart constructor.
DiskMap' | |
|
Instances
Eq DiskMap Source # | |
Read DiskMap Source # | |
Show DiskMap Source # | |
Generic DiskMap Source # | |
NFData DiskMap Source # | |
Defined in Amazonka.Lightsail.Types.DiskMap | |
Hashable DiskMap Source # | |
Defined in Amazonka.Lightsail.Types.DiskMap | |
ToJSON DiskMap Source # | |
Defined in Amazonka.Lightsail.Types.DiskMap | |
type Rep DiskMap Source # | |
Defined in Amazonka.Lightsail.Types.DiskMap type Rep DiskMap = D1 ('MetaData "DiskMap" "Amazonka.Lightsail.Types.DiskMap" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "DiskMap'" 'PrefixI 'True) (S1 ('MetaSel ('Just "newDiskName'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "originalDiskPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newDiskMap :: DiskMap Source #
Create a value of DiskMap
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:newDiskName':DiskMap'
, diskMap_newDiskName
- The new disk name (e.g., my-new-disk
).
$sel:originalDiskPath:DiskMap'
, diskMap_originalDiskPath
- The original disk path exposed to the instance (for example,
/dev/sdh
).