DOH-0.1.3.0: Complete API bindings for DigitalOcean API V2

Safe HaskellNone
LanguageHaskell2010

Network.DigitalOcean.Services.LoadBalancer

Documentation

data ForwardingRule Source #

Instances

Show ForwardingRule Source # 
Generic ForwardingRule Source # 

Associated Types

type Rep ForwardingRule :: * -> * #

ToJSON ForwardingRule Source # 
FromJSON ForwardingRule Source # 
Payload [ForwardingRule] Source # 
type Rep ForwardingRule Source # 
type Rep ForwardingRule = D1 * (MetaData "ForwardingRule" "Network.DigitalOcean.Services.LoadBalancer" "DOH-0.1.3.0-AldE09gdLyeESCT8BsF6gN" False) (C1 * (MetaCons "ForwardingRule" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "forwardingrulesEntryProtocol") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) ((:*:) * (S1 * (MetaSel (Just Symbol "forwardingrulesEntryPort") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "forwardingrulesTargetProtocol") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)))) ((:*:) * (S1 * (MetaSel (Just Symbol "forwardingrulesTargetPort") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)) ((:*:) * (S1 * (MetaSel (Just Symbol "forwardingrulesCertificateId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe String))) (S1 * (MetaSel (Just Symbol "forwardingrulesTlsPassthrough") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Bool)))))))

data HealthCheck Source #

Instances

Show HealthCheck Source # 
Generic HealthCheck Source # 

Associated Types

type Rep HealthCheck :: * -> * #

ToJSON HealthCheck Source # 
FromJSON HealthCheck Source # 
type Rep HealthCheck Source # 
type Rep HealthCheck = D1 * (MetaData "HealthCheck" "Network.DigitalOcean.Services.LoadBalancer" "DOH-0.1.3.0-AldE09gdLyeESCT8BsF6gN" False) (C1 * (MetaCons "HealthCheck" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "healthcheckProtocol") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) ((:*:) * (S1 * (MetaSel (Just Symbol "healthcheckPort") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "healthcheckPath") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe String))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "healthcheckCheckIntervalSeconds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "healthcheckResponseTimeoutSeconds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Int)))) ((:*:) * (S1 * (MetaSel (Just Symbol "healthcheckUnhealthyThreshold") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "healthcheckHealthyThreshold") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Int)))))))

data LoadBalancer Source #

Instances

Show LoadBalancer Source # 
Generic LoadBalancer Source # 

Associated Types

type Rep LoadBalancer :: * -> * #

ToJSON LoadBalancer Source # 
FromJSON LoadBalancer Source # 
Paginatable LoadBalancer Source # 
FromJSON (Response [LoadBalancer]) Source # 
FromJSON (Response LoadBalancer) Source # 
FromJSON (PaginationState LoadBalancer) Source # 
type Rep LoadBalancer Source # 
type Rep LoadBalancer = D1 * (MetaData "LoadBalancer" "Network.DigitalOcean.Services.LoadBalancer" "DOH-0.1.3.0-AldE09gdLyeESCT8BsF6gN" False) (C1 * (MetaCons "LoadBalancer" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "loadbalancerId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) ((:*:) * (S1 * (MetaSel (Just Symbol "loadbalancerName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) (S1 * (MetaSel (Just Symbol "loadbalancerIp") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * IpAddress)))) ((:*:) * (S1 * (MetaSel (Just Symbol "loadbalancerAlgorithm") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * LoadBalancerAlgorithm)) ((:*:) * (S1 * (MetaSel (Just Symbol "loadbalancerStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) (S1 * (MetaSel (Just Symbol "loadbalancerCreatedAt") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * UTCTime))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "loadbalancerForwardingRules") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [ForwardingRule])) ((:*:) * (S1 * (MetaSel (Just Symbol "loadbalancerHealthCheck") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * HealthCheck)) (S1 * (MetaSel (Just Symbol "loadbalancerStickySessions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * StickySessions)))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "loadbalancerRegion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Region)) (S1 * (MetaSel (Just Symbol "loadbalancerTag") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String))) ((:*:) * (S1 * (MetaSel (Just Symbol "loadbalancerDropletIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [DropletId])) (S1 * (MetaSel (Just Symbol "loadbalancerRedirectHttpToHttps") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Bool)))))))

data LoadBalancerPayload Source #

Instances

Show LoadBalancerPayload Source # 
Generic LoadBalancerPayload Source # 
ToJSON LoadBalancerPayload Source # 
Payload LoadBalancerPayload Source # 
type Rep LoadBalancerPayload Source # 
type Rep LoadBalancerPayload = D1 * (MetaData "LoadBalancerPayload" "Network.DigitalOcean.Services.LoadBalancer" "DOH-0.1.3.0-AldE09gdLyeESCT8BsF6gN" False) (C1 * (MetaCons "LoadBalancerPayload" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "loadbalancerpayloadName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) (S1 * (MetaSel (Just Symbol "loadbalancerpayloadAlgorithm") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe String)))) ((:*:) * (S1 * (MetaSel (Just Symbol "loadbalancerpayloadRegion") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)) (S1 * (MetaSel (Just Symbol "loadbalancerpayloadForwardingRules") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [ForwardingRule])))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "loadbalancerpayloadHealthCheck") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe HealthCheck))) (S1 * (MetaSel (Just Symbol "loadbalancerpayloadStickySessions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe StickySessions)))) ((:*:) * (S1 * (MetaSel (Just Symbol "loadbalancerpayloadRedirectHttpToHttps") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "loadbalancerpayloadDropletIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe [Int]))) (S1 * (MetaSel (Just Symbol "loadbalancerpayloadTag") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * String)))))))