libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway
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.StorageGateway.Types.Disk

Description

 
Synopsis

Documentation

data Disk Source #

Represents a gateway's local disk.

See: newDisk smart constructor.

Constructors

Disk' 

Fields

Instances

Instances details
Eq Disk Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.Disk

Methods

(==) :: Disk -> Disk -> Bool #

(/=) :: Disk -> Disk -> Bool #

Read Disk Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.Disk

Show Disk Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.Disk

Methods

showsPrec :: Int -> Disk -> ShowS #

show :: Disk -> String #

showList :: [Disk] -> ShowS #

Generic Disk Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.Disk

Associated Types

type Rep Disk :: Type -> Type #

Methods

from :: Disk -> Rep Disk x #

to :: Rep Disk x -> Disk #

NFData Disk Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.Disk

Methods

rnf :: Disk -> () #

Hashable Disk Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.Disk

Methods

hashWithSalt :: Int -> Disk -> Int #

hash :: Disk -> Int #

FromJSON Disk Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.Disk

type Rep Disk Source # 
Instance details

Defined in Amazonka.StorageGateway.Types.Disk

type Rep Disk = D1 ('MetaData "Disk" "Amazonka.StorageGateway.Types.Disk" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "Disk'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "diskAllocationResource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "diskAllocationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "diskNode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "diskPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "diskSizeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "diskStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "diskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "diskAttributeList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))))

newDisk :: Disk Source #

Create a value of Disk 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:diskAllocationResource:Disk', disk_diskAllocationResource - The iSCSI qualified name (IQN) that is defined for a disk. This field is not included in the response if the local disk is not defined as an iSCSI target. The format of this field is targetIqn::LUNNumber::region-volumeId.

$sel:diskAllocationType:Disk', disk_diskAllocationType - Undocumented member.

$sel:diskNode:Disk', disk_diskNode - The device node of a local disk as assigned by the virtualization environment.

$sel:diskPath:Disk', disk_diskPath - The path of a local disk in the gateway virtual machine (VM).

$sel:diskSizeInBytes:Disk', disk_diskSizeInBytes - The local disk size in bytes.

$sel:diskStatus:Disk', disk_diskStatus - A value that represents the status of a local disk.

$sel:diskId:Disk', disk_diskId - The unique device ID or other distinguishing data that identifies a local disk.

$sel:diskAttributeList:Disk', disk_diskAttributeList - Undocumented member.

disk_diskAllocationResource :: Lens' Disk (Maybe Text) Source #

The iSCSI qualified name (IQN) that is defined for a disk. This field is not included in the response if the local disk is not defined as an iSCSI target. The format of this field is targetIqn::LUNNumber::region-volumeId.

disk_diskNode :: Lens' Disk (Maybe Text) Source #

The device node of a local disk as assigned by the virtualization environment.

disk_diskPath :: Lens' Disk (Maybe Text) Source #

The path of a local disk in the gateway virtual machine (VM).

disk_diskSizeInBytes :: Lens' Disk (Maybe Integer) Source #

The local disk size in bytes.

disk_diskStatus :: Lens' Disk (Maybe Text) Source #

A value that represents the status of a local disk.

disk_diskId :: Lens' Disk (Maybe Text) Source #

The unique device ID or other distinguishing data that identifies a local disk.

disk_diskAttributeList :: Lens' Disk (Maybe [Text]) Source #

Undocumented member.