libZSservicesZSamazonka-lightsailZSamazonka-lightsail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lightsail.Types.DiskInfo

Description

 
Synopsis

Documentation

data DiskInfo Source #

Describes a disk.

See: newDiskInfo smart constructor.

Constructors

DiskInfo' 

Fields

Instances

Instances details
Eq DiskInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskInfo

Read DiskInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskInfo

Show DiskInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskInfo

Generic DiskInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskInfo

Associated Types

type Rep DiskInfo :: Type -> Type #

Methods

from :: DiskInfo -> Rep DiskInfo x #

to :: Rep DiskInfo x -> DiskInfo #

NFData DiskInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskInfo

Methods

rnf :: DiskInfo -> () #

Hashable DiskInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskInfo

Methods

hashWithSalt :: Int -> DiskInfo -> Int #

hash :: DiskInfo -> Int #

FromJSON DiskInfo Source # 
Instance details

Defined in Amazonka.Lightsail.Types.DiskInfo

type Rep DiskInfo Source # 
Instance details

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).

diskInfo_sizeInGb :: Lens' DiskInfo (Maybe Int) Source #

The size of the disk in GB (e.g., 32).

diskInfo_isSystemDisk :: Lens' DiskInfo (Maybe Bool) Source #

A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).