DOH-0.1.4.0: Complete API bindings for DigitalOcean API V2

Safe HaskellNone
LanguageHaskell2010

Network.DigitalOcean.Services.Droplet

Documentation

data Kernel Source #

Constructors

Kernel 

Instances

Show Kernel Source # 
Generic Kernel Source # 

Associated Types

type Rep Kernel :: * -> * #

Methods

from :: Kernel -> Rep Kernel x #

to :: Rep Kernel x -> Kernel #

FromJSON Kernel Source # 
FromJSON (Response [Kernel]) Source # 
type Rep Kernel Source # 
type Rep Kernel = D1 * (MetaData "Kernel" "Network.DigitalOcean.Services.Droplet" "DOH-0.1.4.0-1E19JRUoTXIFgbVw80VcOk" False) (C1 * (MetaCons "Kernel" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "kernelId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)) ((:*:) * (S1 * (MetaSel (Just Symbol "kernelName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) (S1 * (MetaSel (Just Symbol "kernelVersion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)))))

data DropletStatus Source #

Constructors

New 
Active 
Off 
Archive 

Instances

Show DropletStatus Source # 
Generic DropletStatus Source # 

Associated Types

type Rep DropletStatus :: * -> * #

FromJSON DropletStatus Source # 
type Rep DropletStatus Source # 
type Rep DropletStatus = D1 * (MetaData "DropletStatus" "Network.DigitalOcean.Services.Droplet" "DOH-0.1.4.0-1E19JRUoTXIFgbVw80VcOk" False) ((:+:) * ((:+:) * (C1 * (MetaCons "New" PrefixI False) (U1 *)) (C1 * (MetaCons "Active" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "Off" PrefixI False) (U1 *)) (C1 * (MetaCons "Archive" PrefixI False) (U1 *))))

data Network Source #

Constructors

Network 

Fields

Instances

Show Network Source # 
Generic Network Source # 

Associated Types

type Rep Network :: * -> * #

Methods

from :: Network -> Rep Network x #

to :: Rep Network x -> Network #

FromJSON Network Source # 
type Rep Network Source # 
type Rep Network = D1 * (MetaData "Network" "Network.DigitalOcean.Services.Droplet" "DOH-0.1.4.0-1E19JRUoTXIFgbVw80VcOk" False) (C1 * (MetaCons "Network" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "networkIpAddress") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * IpAddress)) (S1 * (MetaSel (Just Symbol "networkNetmask") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * IpAddress))) ((:*:) * (S1 * (MetaSel (Just Symbol "networkGateway") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * IpAddress)) (S1 * (MetaSel (Just Symbol "networkType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)))))

data Droplet Source #

Instances

Show Droplet Source # 
Generic Droplet Source # 

Associated Types

type Rep Droplet :: * -> * #

Methods

from :: Droplet -> Rep Droplet x #

to :: Rep Droplet x -> Droplet #

FromJSON Droplet Source # 
Paginatable Droplet Source # 
FromJSON (Response [Droplet]) Source # 
FromJSON (Response Droplet) Source # 
FromJSON (PaginationState Droplet) Source # 
type Rep Droplet Source # 
type Rep Droplet = D1 * (MetaData "Droplet" "Network.DigitalOcean.Services.Droplet" "DOH-0.1.4.0-1E19JRUoTXIFgbVw80VcOk" False) (C1 * (MetaCons "Droplet" PrefixI True) ((:*:) * ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "dropletId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * DropletId)) (S1 * (MetaSel (Just Symbol "dropletName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String))) ((:*:) * (S1 * (MetaSel (Just Symbol "dropletMemory") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "dropletVcpus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "dropletDisk") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "dropletLocked") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "dropletCreatedAt") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * UTCTime)) ((:*:) * (S1 * (MetaSel (Just Symbol "dropletStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * DropletStatus)) (S1 * (MetaSel (Just Symbol "dropletBackupIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [Int])))))) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "dropletSnapshotIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [SnapshotId])) (S1 * (MetaSel (Just Symbol "dropletFeatures") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [String]))) ((:*:) * (S1 * (MetaSel (Just Symbol "dropletRegion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Region)) ((:*:) * (S1 * (MetaSel (Just Symbol "dropletImage") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Image)) (S1 * (MetaSel (Just Symbol "dropletSize") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Size))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "dropletSizeSlug") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) (S1 * (MetaSel (Just Symbol "dropletNetworks") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Networks))) ((:*:) * (S1 * (MetaSel (Just Symbol "dropletKernel") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Kernel))) ((:*:) * (S1 * (MetaSel (Just Symbol "dropletTags") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [String])) (S1 * (MetaSel (Just Symbol "dropletVolumeIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe [VolumeId])))))))))

data IDropletPayload Source #

Instances

Show IDropletPayload Source # 
Generic IDropletPayload Source # 
ToJSON IDropletPayload Source # 
type Rep IDropletPayload Source # 
type Rep IDropletPayload = D1 * (MetaData "IDropletPayload" "Network.DigitalOcean.Services.Droplet" "DOH-0.1.4.0-1E19JRUoTXIFgbVw80VcOk" False) (C1 * (MetaCons "IDropletPayload" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "dropletpayloadRegion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) (S1 * (MetaSel (Just Symbol "dropletpayloadSize") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String))) ((:*:) * (S1 * (MetaSel (Just Symbol "dropletpayloadImage") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * PublicImage)) ((:*:) * (S1 * (MetaSel (Just Symbol "dropletpayloadSshKeys") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe [String]))) (S1 * (MetaSel (Just Symbol "dropletpayloadBackups") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Bool)))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "dropletpayloadIpv6") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "dropletpayloadPrivateNetworking") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "dropletpayloadUserData") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe String))))) ((:*:) * (S1 * (MetaSel (Just Symbol "dropletpayloadMonitoring") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "dropletpayloadVolumes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe [String]))) (S1 * (MetaSel (Just Symbol "dropletpayloadTags") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe [String]))))))))