| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Lightsail.Types.DiskMap
Description
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.
Constructors
| DiskMap' | |
Fields
| |
Instances
| ToJSON DiskMap Source # | |
Defined in Amazonka.Lightsail.Types.DiskMap | |
| Generic DiskMap Source # | |
| Read DiskMap Source # | |
| Show DiskMap Source # | |
| NFData DiskMap Source # | |
Defined in Amazonka.Lightsail.Types.DiskMap | |
| Eq DiskMap Source # | |
| Hashable 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" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" '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).