gogol-replicapool-0.4.0: Google Replica Pool SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.ReplicaPool.Types

Contents

Description

 
Synopsis

Service Configuration

replicaPoolService :: ServiceConfig Source #

Default request referring to version v1beta1 of the Replica Pool API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

cloudPlatformReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform.read-only"] Source #

View your data across Google Cloud Platform services

cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #

View and manage your data across Google Cloud Platform services

ndevCloudmanScope :: Proxy '["https://www.googleapis.com/auth/ndev.cloudman"] Source #

View and manage your Google Cloud Platform management resources and deployment status information

ndevCloudmanReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/ndev.cloudman.readonly"] Source #

View your Google Cloud Platform management resources and deployment status information

replicaPoolScope :: Proxy '["https://www.googleapis.com/auth/replicapool"] Source #

View and manage replica pools

replicaPoolReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/replicapool.readonly"] Source #

View replica pools

ReplicaStatus

data ReplicaStatus Source #

The current status of a Replica.

See: replicaStatus smart constructor.

Instances
Eq ReplicaStatus Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Data ReplicaStatus Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReplicaStatus -> c ReplicaStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReplicaStatus #

toConstr :: ReplicaStatus -> Constr #

dataTypeOf :: ReplicaStatus -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ReplicaStatus) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReplicaStatus) #

gmapT :: (forall b. Data b => b -> b) -> ReplicaStatus -> ReplicaStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReplicaStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReplicaStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReplicaStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReplicaStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReplicaStatus -> m ReplicaStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReplicaStatus -> m ReplicaStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReplicaStatus -> m ReplicaStatus #

Show ReplicaStatus Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic ReplicaStatus Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep ReplicaStatus :: Type -> Type #

ToJSON ReplicaStatus Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON ReplicaStatus Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep ReplicaStatus Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep ReplicaStatus = D1 (MetaData "ReplicaStatus" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "ReplicaStatus'" PrefixI True) ((S1 (MetaSel (Just "_rsState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rsTemplateVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_rsVMLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rsVMStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rsDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

replicaStatus :: ReplicaStatus Source #

Creates a value of ReplicaStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rsState :: Lens' ReplicaStatus (Maybe Text) Source #

Output Only
The state of the Replica.

rsTemplateVersion :: Lens' ReplicaStatus (Maybe Text) Source #

Output Only
The template used to build the replica.

rsVMLink :: Lens' ReplicaStatus (Maybe Text) Source #

Output Only
Link to the virtual machine that this Replica represents.

rsVMStartTime :: Lens' ReplicaStatus (Maybe Text) Source #

Output Only
The time that this Replica got to the RUNNING state, in RFC 3339 format. If the start time is unknown, UNKNOWN is returned.

rsDetails :: Lens' ReplicaStatus (Maybe Text) Source #

Output Only
Human-readable details about the current state of the replica

DiskAttachment

data DiskAttachment Source #

Specifies how to attach a disk to a Replica.

See: diskAttachment smart constructor.

Instances
Eq DiskAttachment Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Data DiskAttachment Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DiskAttachment -> c DiskAttachment #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DiskAttachment #

toConstr :: DiskAttachment -> Constr #

dataTypeOf :: DiskAttachment -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DiskAttachment) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DiskAttachment) #

gmapT :: (forall b. Data b => b -> b) -> DiskAttachment -> DiskAttachment #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DiskAttachment -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DiskAttachment -> r #

gmapQ :: (forall d. Data d => d -> u) -> DiskAttachment -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DiskAttachment -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DiskAttachment -> m DiskAttachment #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DiskAttachment -> m DiskAttachment #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DiskAttachment -> m DiskAttachment #

Show DiskAttachment Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic DiskAttachment Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep DiskAttachment :: Type -> Type #

ToJSON DiskAttachment Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON DiskAttachment Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep DiskAttachment Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep DiskAttachment = D1 (MetaData "DiskAttachment" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "DiskAttachment'" PrefixI True) (S1 (MetaSel (Just "_daDeviceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_daIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))))

diskAttachment :: DiskAttachment Source #

Creates a value of DiskAttachment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

daDeviceName :: Lens' DiskAttachment (Maybe Text) Source #

The device name of this disk.

daIndex :: Lens' DiskAttachment (Maybe Word32) Source #

A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, this is assigned by the server.

PoolsDeleteRequest

data PoolsDeleteRequest Source #

Instances
Eq PoolsDeleteRequest Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Data PoolsDeleteRequest Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PoolsDeleteRequest -> c PoolsDeleteRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PoolsDeleteRequest #

toConstr :: PoolsDeleteRequest -> Constr #

dataTypeOf :: PoolsDeleteRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PoolsDeleteRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PoolsDeleteRequest) #

gmapT :: (forall b. Data b => b -> b) -> PoolsDeleteRequest -> PoolsDeleteRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PoolsDeleteRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PoolsDeleteRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> PoolsDeleteRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PoolsDeleteRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PoolsDeleteRequest -> m PoolsDeleteRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PoolsDeleteRequest -> m PoolsDeleteRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PoolsDeleteRequest -> m PoolsDeleteRequest #

Show PoolsDeleteRequest Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic PoolsDeleteRequest Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep PoolsDeleteRequest :: Type -> Type #

ToJSON PoolsDeleteRequest Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON PoolsDeleteRequest Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep PoolsDeleteRequest Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep PoolsDeleteRequest = D1 (MetaData "PoolsDeleteRequest" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" True) (C1 (MetaCons "PoolsDeleteRequest'" PrefixI True) (S1 (MetaSel (Just "_pdrAbandonInstances") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

poolsDeleteRequest :: PoolsDeleteRequest Source #

Creates a value of PoolsDeleteRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pdrAbandonInstances :: Lens' PoolsDeleteRequest [Text] Source #

If there are instances you would like to keep, you can specify them here. These instances won't be deleted, but the associated replica objects will be removed.

HealthCheck

data HealthCheck Source #

Instances
Eq HealthCheck Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Data HealthCheck Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HealthCheck -> c HealthCheck #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HealthCheck #

toConstr :: HealthCheck -> Constr #

dataTypeOf :: HealthCheck -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c HealthCheck) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HealthCheck) #

gmapT :: (forall b. Data b => b -> b) -> HealthCheck -> HealthCheck #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HealthCheck -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HealthCheck -> r #

gmapQ :: (forall d. Data d => d -> u) -> HealthCheck -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HealthCheck -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HealthCheck -> m HealthCheck #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HealthCheck -> m HealthCheck #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HealthCheck -> m HealthCheck #

Show HealthCheck Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic HealthCheck Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep HealthCheck :: Type -> Type #

ToJSON HealthCheck Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON HealthCheck Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep HealthCheck Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

healthCheck :: HealthCheck Source #

Creates a value of HealthCheck with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

hcHealthyThreshold :: Lens' HealthCheck (Maybe Int32) Source #

The number of consecutive health check requests that need to succeed before the replica is considered healthy again. The default value is 2.

hcPath :: Lens' HealthCheck (Maybe Text) Source #

The localhost request path to send this health check, in the format /path/to/use. For example, /healthcheck.

hcCheckIntervalSec :: Lens' HealthCheck (Maybe Int32) Source #

How often (in seconds) to make HTTP requests for this healthcheck. The default value is 5 seconds.

hcName :: Lens' HealthCheck (Maybe Text) Source #

The name of this health check.

hcHost :: Lens' HealthCheck (Maybe Text) Source #

The value of the host header in the HTTP health check request. If left empty (default value), the localhost IP 127.0.0.1 will be used.

hcTimeoutSec :: Lens' HealthCheck (Maybe Int32) Source #

How long (in seconds) to wait before a timeout failure for this healthcheck. The default value is 5 seconds.

hcDescription :: Lens' HealthCheck (Maybe Text) Source #

The description for this health check.

hcUnhealthyThreshold :: Lens' HealthCheck (Maybe Int32) Source #

The number of consecutive health check requests that need to fail in order to consider the replica unhealthy. The default value is 2.

hcPort :: Lens' HealthCheck (Maybe Int32) Source #

The TCP port for the health check requests.

Tag

data Tag Source #

A Compute Engine Instance tag, identical to the tags on the corresponding Compute Engine Instance resource.

See: tag smart constructor.

Instances
Eq Tag Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

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

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

Data Tag Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Tag -> c Tag #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Tag #

toConstr :: Tag -> Constr #

dataTypeOf :: Tag -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Tag) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Tag) #

gmapT :: (forall b. Data b => b -> b) -> Tag -> Tag #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Tag -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Tag -> r #

gmapQ :: (forall d. Data d => d -> u) -> Tag -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Tag -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Tag -> m Tag #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Tag -> m Tag #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Tag -> m Tag #

Show Tag Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

ToJSON Tag Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON Tag Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep Tag Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep Tag = D1 (MetaData "Tag" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "Tag'" PrefixI True) (S1 (MetaSel (Just "_tFingerPrint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))

tag :: Tag Source #

Creates a value of Tag with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tFingerPrint :: Lens' Tag (Maybe Text) Source #

The fingerprint of the tag. Required for updating the list of tags.

tItems :: Lens' Tag [Text] Source #

Items contained in this tag.

NewDiskInitializeParams

data NewDiskInitializeParams Source #

Initialization parameters for creating a new disk.

See: newDiskInitializeParams smart constructor.

Instances
Eq NewDiskInitializeParams Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Data NewDiskInitializeParams Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NewDiskInitializeParams -> c NewDiskInitializeParams #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NewDiskInitializeParams #

toConstr :: NewDiskInitializeParams -> Constr #

dataTypeOf :: NewDiskInitializeParams -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NewDiskInitializeParams) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NewDiskInitializeParams) #

gmapT :: (forall b. Data b => b -> b) -> NewDiskInitializeParams -> NewDiskInitializeParams #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NewDiskInitializeParams -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NewDiskInitializeParams -> r #

gmapQ :: (forall d. Data d => d -> u) -> NewDiskInitializeParams -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NewDiskInitializeParams -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NewDiskInitializeParams -> m NewDiskInitializeParams #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NewDiskInitializeParams -> m NewDiskInitializeParams #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NewDiskInitializeParams -> m NewDiskInitializeParams #

Show NewDiskInitializeParams Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic NewDiskInitializeParams Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep NewDiskInitializeParams :: Type -> Type #

ToJSON NewDiskInitializeParams Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON NewDiskInitializeParams Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep NewDiskInitializeParams Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep NewDiskInitializeParams = D1 (MetaData "NewDiskInitializeParams" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "NewDiskInitializeParams'" PrefixI True) (S1 (MetaSel (Just "_ndipSourceImage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ndipDiskSizeGb") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: S1 (MetaSel (Just "_ndipDiskType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

newDiskInitializeParams :: NewDiskInitializeParams Source #

Creates a value of NewDiskInitializeParams with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ndipSourceImage :: Lens' NewDiskInitializeParams (Maybe Text) Source #

The name or fully-qualified URL of a source image to use to create this disk. If you provide a name of the source image, Replica Pool will look for an image with that name in your project. If you are specifying an image provided by Compute Engine, you will need to provide the full URL with the correct project, such as: http://www.googleapis.com/compute/v1/projects/debian-cloud/ global/images/debian-wheezy-7-vYYYYMMDD

ndipDiskSizeGb :: Lens' NewDiskInitializeParams (Maybe Int64) Source #

The size of the created disk in gigabytes.

ndipDiskType :: Lens' NewDiskInitializeParams (Maybe Text) Source #

Name of the disk type resource describing which disk type to use to create the disk. For example 'pd-ssd' or 'pd-standard'. Default is 'pd-standard'

MetadataItem

data MetadataItem Source #

A Compute Engine metadata item, defined as a key:value pair. Identical to the metadata on the corresponding Compute Engine resource.

See: metadataItem smart constructor.

Instances
Eq MetadataItem Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Data MetadataItem Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MetadataItem -> c MetadataItem #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MetadataItem #

toConstr :: MetadataItem -> Constr #

dataTypeOf :: MetadataItem -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MetadataItem) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MetadataItem) #

gmapT :: (forall b. Data b => b -> b) -> MetadataItem -> MetadataItem #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MetadataItem -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MetadataItem -> r #

gmapQ :: (forall d. Data d => d -> u) -> MetadataItem -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MetadataItem -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MetadataItem -> m MetadataItem #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MetadataItem -> m MetadataItem #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MetadataItem -> m MetadataItem #

Show MetadataItem Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic MetadataItem Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep MetadataItem :: Type -> Type #

ToJSON MetadataItem Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON MetadataItem Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep MetadataItem Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep MetadataItem = D1 (MetaData "MetadataItem" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "MetadataItem'" PrefixI True) (S1 (MetaSel (Just "_miValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_miKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

metadataItem :: MetadataItem Source #

Creates a value of MetadataItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

miValue :: Lens' MetadataItem (Maybe Text) Source #

A metadata value.

miKey :: Lens' MetadataItem (Maybe Text) Source #

A metadata key.

Replica

data Replica Source #

An individual Replica within a Pool. Replicas are automatically created by the replica pool, using the template provided by the user. You cannot directly create replicas.

See: replica smart constructor.

Instances
Eq Replica Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

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

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

Data Replica Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Replica -> c Replica #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Replica #

toConstr :: Replica -> Constr #

dataTypeOf :: Replica -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Replica) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Replica) #

gmapT :: (forall b. Data b => b -> b) -> Replica -> Replica #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Replica -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Replica -> r #

gmapQ :: (forall d. Data d => d -> u) -> Replica -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Replica -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Replica -> m Replica #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Replica -> m Replica #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Replica -> m Replica #

Show Replica Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic Replica Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep Replica :: Type -> Type #

Methods

from :: Replica -> Rep Replica x #

to :: Rep Replica x -> Replica #

ToJSON Replica Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON Replica Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep Replica Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep Replica = D1 (MetaData "Replica" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "Replica'" PrefixI True) (S1 (MetaSel (Just "_rStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ReplicaStatus)) :*: (S1 (MetaSel (Just "_rSelfLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

replica :: Replica Source #

Creates a value of Replica with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rStatus :: Lens' Replica (Maybe ReplicaStatus) Source #

Output Only
Last known status of the Replica.

rSelfLink :: Lens' Replica (Maybe Text) Source #

Output Only
The self-link of the Replica.

rName :: Lens' Replica (Maybe Text) Source #

Output Only
The name of the Replica object.

NetworkInterface

data NetworkInterface Source #

A Compute Engine NetworkInterface resource. Identical to the NetworkInterface on the corresponding Compute Engine resource.

See: networkInterface smart constructor.

Instances
Eq NetworkInterface Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Data NetworkInterface Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NetworkInterface -> c NetworkInterface #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NetworkInterface #

toConstr :: NetworkInterface -> Constr #

dataTypeOf :: NetworkInterface -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NetworkInterface) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NetworkInterface) #

gmapT :: (forall b. Data b => b -> b) -> NetworkInterface -> NetworkInterface #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NetworkInterface -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NetworkInterface -> r #

gmapQ :: (forall d. Data d => d -> u) -> NetworkInterface -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NetworkInterface -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NetworkInterface -> m NetworkInterface #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NetworkInterface -> m NetworkInterface #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NetworkInterface -> m NetworkInterface #

Show NetworkInterface Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic NetworkInterface Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep NetworkInterface :: Type -> Type #

ToJSON NetworkInterface Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON NetworkInterface Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep NetworkInterface Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep NetworkInterface = D1 (MetaData "NetworkInterface" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "NetworkInterface'" PrefixI True) (S1 (MetaSel (Just "_niNetwork") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_niNetworkIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_niAccessConfigs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AccessConfig])))))

networkInterface :: NetworkInterface Source #

Creates a value of NetworkInterface with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

niNetwork :: Lens' NetworkInterface (Maybe Text) Source #

Name the Network resource to which this interface applies.

niNetworkIP :: Lens' NetworkInterface (Maybe Text) Source #

An optional IPV4 internal network address to assign to the instance for this network interface.

niAccessConfigs :: Lens' NetworkInterface [AccessConfig] Source #

An array of configurations for this interface. This specifies how this interface is configured to interact with other network services.

ExistingDisk

data ExistingDisk Source #

A pre-existing persistent disk that will be attached to every Replica in the Pool in READ_ONLY mode.

See: existingDisk smart constructor.

Instances
Eq ExistingDisk Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Data ExistingDisk Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ExistingDisk -> c ExistingDisk #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExistingDisk #

toConstr :: ExistingDisk -> Constr #

dataTypeOf :: ExistingDisk -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ExistingDisk) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExistingDisk) #

gmapT :: (forall b. Data b => b -> b) -> ExistingDisk -> ExistingDisk #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExistingDisk -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExistingDisk -> r #

gmapQ :: (forall d. Data d => d -> u) -> ExistingDisk -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ExistingDisk -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExistingDisk -> m ExistingDisk #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExistingDisk -> m ExistingDisk #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExistingDisk -> m ExistingDisk #

Show ExistingDisk Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic ExistingDisk Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep ExistingDisk :: Type -> Type #

ToJSON ExistingDisk Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON ExistingDisk Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep ExistingDisk Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep ExistingDisk = D1 (MetaData "ExistingDisk" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "ExistingDisk'" PrefixI True) (S1 (MetaSel (Just "_edAttachment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DiskAttachment)) :*: S1 (MetaSel (Just "_edSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

existingDisk :: ExistingDisk Source #

Creates a value of ExistingDisk with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

edAttachment :: Lens' ExistingDisk (Maybe DiskAttachment) Source #

How the disk will be attached to the Replica.

edSource :: Lens' ExistingDisk (Maybe Text) Source #

The name of the Persistent Disk resource. The Persistent Disk resource must be in the same zone as the Pool.

Action

data Action Source #

An action that gets executed during initialization of the replicas.

See: action smart constructor.

Instances
Eq Action Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

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

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

Data Action Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Action -> c Action #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Action #

toConstr :: Action -> Constr #

dataTypeOf :: Action -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Action) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Action) #

gmapT :: (forall b. Data b => b -> b) -> Action -> Action #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Action -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Action -> r #

gmapQ :: (forall d. Data d => d -> u) -> Action -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Action -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Action -> m Action #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Action -> m Action #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Action -> m Action #

Show Action Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic Action Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep Action :: Type -> Type #

Methods

from :: Action -> Rep Action x #

to :: Rep Action x -> Action #

ToJSON Action Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON Action Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep Action Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep Action = D1 (MetaData "Action" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "Action'" PrefixI True) (S1 (MetaSel (Just "_aCommands") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_aTimeoutMilliSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_aEnvVariables") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EnvVariable])))))

action :: Action Source #

Creates a value of Action with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aCommands :: Lens' Action [Text] Source #

A list of commands to run, one per line. If any command fails, the whole action is considered a failure and no further actions are run. This also marks the virtual machine or replica as a failure.

aTimeoutMilliSeconds :: Lens' Action (Maybe Int32) Source #

If an action's commands on a particular replica do not finish in the specified timeoutMilliSeconds, the replica is considered to be in a FAILING state. No efforts are made to stop any processes that were spawned or created as the result of running the action's commands. The default is the max allowed value, 1 hour (i.e. 3600000 milliseconds).

aEnvVariables :: Lens' Action [EnvVariable] Source #

A list of environment variables to use for the commands in this action.

Pool

data Pool Source #

Instances
Eq Pool Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

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

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

Data Pool Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Pool -> c Pool #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Pool #

toConstr :: Pool -> Constr #

dataTypeOf :: Pool -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Pool) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Pool) #

gmapT :: (forall b. Data b => b -> b) -> Pool -> Pool #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Pool -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Pool -> r #

gmapQ :: (forall d. Data d => d -> u) -> Pool -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Pool -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Pool -> m Pool #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Pool -> m Pool #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Pool -> m Pool #

Show Pool Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

showsPrec :: Int -> Pool -> ShowS #

show :: Pool -> String #

showList :: [Pool] -> ShowS #

Generic Pool Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep Pool :: Type -> Type #

Methods

from :: Pool -> Rep Pool x #

to :: Rep Pool x -> Pool #

ToJSON Pool Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON Pool Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep Pool Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep Pool = D1 (MetaData "Pool" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "Pool'" PrefixI True) (((S1 (MetaSel (Just "_pResourceViews") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_pNumReplicas") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pTargetPool") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pAutoRestart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pBaseInstanceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pInitialNumReplicas") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pCurrentNumReplicas") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))) :*: (((S1 (MetaSel (Just "_pSelfLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Label])) :*: S1 (MetaSel (Just "_pType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pTemplate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Template)) :*: S1 (MetaSel (Just "_pTargetPools") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_pDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pHealthChecks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [HealthCheck])))))))

pool :: Pool Source #

Creates a value of Pool with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pResourceViews :: Lens' Pool [Text] Source #

The list of resource views that should be updated with all the replicas that are managed by this pool.

pNumReplicas :: Lens' Pool (Maybe Int32) Source #

Deprecated! Use initial_num_replicas instead.

pTargetPool :: Lens' Pool (Maybe Text) Source #

Deprecated, please use target_pools instead.

pAutoRestart :: Lens' Pool (Maybe Bool) Source #

Whether replicas in this pool should be restarted if they experience a failure. The default value is true.

pBaseInstanceName :: Lens' Pool (Maybe Text) Source #

The base instance name to use for the replicas in this pool. This must match the regex a-z?. If specified, the instances in this replica pool will be named in the format -. The postfix will be a four character alphanumeric identifier generated by the service. If this is not specified by the user, a random base instance name is generated by the service.

pInitialNumReplicas :: Lens' Pool (Maybe Int32) Source #

The initial number of replicas this pool should have. You must provide a value greater than or equal to 0.

pCurrentNumReplicas :: Lens' Pool (Maybe Int32) Source #

Output Only
The current number of replicas in the pool.

pSelfLink :: Lens' Pool (Maybe Text) Source #

Output Only
A self-link to the replica pool.

pName :: Lens' Pool (Maybe Text) Source #

The name of the replica pool. Must follow the regex a-z? and be 1-28 characters long.

pLabels :: Lens' Pool [Label] Source #

A list of labels to attach to this replica pool and all created virtual machines in this replica pool.

pType :: Lens' Pool (Maybe Text) Source #

Deprecated! Do not set.

pTemplate :: Lens' Pool (Maybe Template) Source #

The template to use when creating replicas in this pool. This template is used during initial instance creation of the pool, when growing the pool in size, or when a replica restarts.

pTargetPools :: Lens' Pool [Text] Source #

A list of target pools to update with the replicas that are managed by this pool. If specified, the replicas in this replica pool will be added to the specified target pools for load balancing purposes. The replica pool must live in the same region as the specified target pools. These values must be the target pool resource names, and not fully qualified URLs.

pDescription :: Lens' Pool (Maybe Text) Source #

An optional description of the replica pool.

pHealthChecks :: Lens' Pool [HealthCheck] Source #

Deprecated. Please use template[].healthChecks instead.

ServiceAccount

data ServiceAccount Source #

A Compute Engine service account, identical to the Compute Engine resource.

See: serviceAccount smart constructor.

Instances
Eq ServiceAccount Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Data ServiceAccount Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ServiceAccount -> c ServiceAccount #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ServiceAccount #

toConstr :: ServiceAccount -> Constr #

dataTypeOf :: ServiceAccount -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ServiceAccount) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ServiceAccount) #

gmapT :: (forall b. Data b => b -> b) -> ServiceAccount -> ServiceAccount #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ServiceAccount -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ServiceAccount -> r #

gmapQ :: (forall d. Data d => d -> u) -> ServiceAccount -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ServiceAccount -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ServiceAccount -> m ServiceAccount #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ServiceAccount -> m ServiceAccount #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ServiceAccount -> m ServiceAccount #

Show ServiceAccount Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic ServiceAccount Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep ServiceAccount :: Type -> Type #

ToJSON ServiceAccount Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON ServiceAccount Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep ServiceAccount Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep ServiceAccount = D1 (MetaData "ServiceAccount" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "ServiceAccount'" PrefixI True) (S1 (MetaSel (Just "_saEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_saScopes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))

serviceAccount :: ServiceAccount Source #

Creates a value of ServiceAccount with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

saEmail :: Lens' ServiceAccount (Maybe Text) Source #

The service account email address, for example: 123845678986'project.gserviceaccount.com

saScopes :: Lens' ServiceAccount [Text] Source #

The list of OAuth2 scopes to obtain for the service account, for example: https://www.googleapis.com/auth/devstorage.full_control

VMParams

data VMParams Source #

Parameters for creating a Compute Engine Instance resource. Most fields are identical to the corresponding Compute Engine resource.

See: vMParams smart constructor.

Instances
Eq VMParams Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Data VMParams Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VMParams -> c VMParams #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VMParams #

toConstr :: VMParams -> Constr #

dataTypeOf :: VMParams -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c VMParams) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VMParams) #

gmapT :: (forall b. Data b => b -> b) -> VMParams -> VMParams #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VMParams -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VMParams -> r #

gmapQ :: (forall d. Data d => d -> u) -> VMParams -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VMParams -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VMParams -> m VMParams #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VMParams -> m VMParams #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VMParams -> m VMParams #

Show VMParams Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic VMParams Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep VMParams :: Type -> Type #

Methods

from :: VMParams -> Rep VMParams x #

to :: Rep VMParams x -> VMParams #

ToJSON VMParams Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON VMParams Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep VMParams Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

vMParams :: VMParams Source #

Creates a value of VMParams with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

vmpServiceAccounts :: Lens' VMParams [ServiceAccount] Source #

A list of Service Accounts to enable for this instance.

vmpNetworkInterfaces :: Lens' VMParams [NetworkInterface] Source #

A list of network interfaces for the instance. Currently only one interface is supported by Google Compute Engine, ONE_TO_ONE_NAT.

vmpBaseInstanceName :: Lens' VMParams (Maybe Text) Source #

Deprecated. Please use baseInstanceName instead.

vmpMachineType :: Lens' VMParams (Maybe Text) Source #

The machine type for this instance. The resource name (e.g. n1-standard-1).

vmpMetadata :: Lens' VMParams (Maybe Metadata) Source #

The metadata key/value pairs assigned to this instance.

vmpDisksToAttach :: Lens' VMParams [ExistingDisk] Source #

A list of existing Persistent Disk resources to attach to each replica in the pool. Each disk will be attached in read-only mode to every replica.

vmpCanIPForward :: Lens' VMParams (Maybe Bool) Source #

Enables IP Forwarding, which allows this instance to receive packets destined for a different IP address, and send packets with a different source IP. See IP Forwarding for more information.

vmpDescription :: Lens' VMParams (Maybe Text) Source #

An optional textual description of the instance.

vmpDisksToCreate :: Lens' VMParams [NewDisk] Source #

A list of Disk resources to create and attach to each Replica in the Pool. Currently, you can only define one disk and it must be a root persistent disk. Note that Replica Pool will create a root persistent disk for each replica.

vmpTags :: Lens' VMParams (Maybe Tag) Source #

A list of tags to apply to the Google Compute Engine instance to identify resources.

ReplicasListResponse

data ReplicasListResponse Source #

Instances
Eq ReplicasListResponse Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Data ReplicasListResponse Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReplicasListResponse -> c ReplicasListResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReplicasListResponse #

toConstr :: ReplicasListResponse -> Constr #

dataTypeOf :: ReplicasListResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ReplicasListResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReplicasListResponse) #

gmapT :: (forall b. Data b => b -> b) -> ReplicasListResponse -> ReplicasListResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReplicasListResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReplicasListResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReplicasListResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReplicasListResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReplicasListResponse -> m ReplicasListResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReplicasListResponse -> m ReplicasListResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReplicasListResponse -> m ReplicasListResponse #

Show ReplicasListResponse Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic ReplicasListResponse Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep ReplicasListResponse :: Type -> Type #

ToJSON ReplicasListResponse Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON ReplicasListResponse Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep ReplicasListResponse Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep ReplicasListResponse = D1 (MetaData "ReplicasListResponse" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "ReplicasListResponse'" PrefixI True) (S1 (MetaSel (Just "_rlrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rlrResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Replica]))))

replicasListResponse :: ReplicasListResponse Source #

Creates a value of ReplicasListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Metadata

data Metadata Source #

A Compute Engine metadata entry. Identical to the metadata on the corresponding Compute Engine resource.

See: metadata smart constructor.

Instances
Eq Metadata Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Data Metadata Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Metadata -> c Metadata #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Metadata #

toConstr :: Metadata -> Constr #

dataTypeOf :: Metadata -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Metadata) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Metadata) #

gmapT :: (forall b. Data b => b -> b) -> Metadata -> Metadata #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Metadata -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Metadata -> r #

gmapQ :: (forall d. Data d => d -> u) -> Metadata -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Metadata -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Metadata -> m Metadata #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Metadata -> m Metadata #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Metadata -> m Metadata #

Show Metadata Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic Metadata Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep Metadata :: Type -> Type #

Methods

from :: Metadata -> Rep Metadata x #

to :: Rep Metadata x -> Metadata #

ToJSON Metadata Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON Metadata Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep Metadata Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep Metadata = D1 (MetaData "Metadata" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "Metadata'" PrefixI True) (S1 (MetaSel (Just "_mFingerPrint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MetadataItem]))))

metadata :: Metadata Source #

Creates a value of Metadata with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mFingerPrint :: Lens' Metadata (Maybe Text) Source #

The fingerprint of the metadata. Required for updating the metadata entries for this instance.

mItems :: Lens' Metadata [MetadataItem] Source #

A list of metadata items.

Template

data Template Source #

The template used for creating replicas in the pool.

See: template smart constructor.

Instances
Eq Template Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Data Template Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Template -> c Template #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Template #

toConstr :: Template -> Constr #

dataTypeOf :: Template -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Template) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Template) #

gmapT :: (forall b. Data b => b -> b) -> Template -> Template #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Template -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Template -> r #

gmapQ :: (forall d. Data d => d -> u) -> Template -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Template -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Template -> m Template #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Template -> m Template #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Template -> m Template #

Show Template Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic Template Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep Template :: Type -> Type #

Methods

from :: Template -> Rep Template x #

to :: Rep Template x -> Template #

ToJSON Template Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON Template Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep Template Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep Template = D1 (MetaData "Template" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "Template'" PrefixI True) ((S1 (MetaSel (Just "_tAction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Action)) :*: S1 (MetaSel (Just "_tVMParams") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VMParams))) :*: (S1 (MetaSel (Just "_tVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tHealthChecks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [HealthCheck])))))

template :: Template Source #

Creates a value of Template with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tAction :: Lens' Template (Maybe Action) Source #

An action to run during initialization of your replicas. An action is run as shell commands which are executed one after the other in the same bash shell, so any state established by one command is inherited by later commands.

tVMParams :: Lens' Template (Maybe VMParams) Source #

The virtual machine parameters to use for creating replicas. You can define settings such as the machine type and the image of replicas in this pool. This is required if replica type is SMART_VM.

tVersion :: Lens' Template (Maybe Text) Source #

A free-form string describing the version of this template. You can provide any versioning string you would like. For example, version1 or template-v1.

tHealthChecks :: Lens' Template [HealthCheck] Source #

A list of HTTP Health Checks to configure for this replica pool and all virtual machines in this replica pool.

EnvVariable

data EnvVariable Source #

An environment variable to set for an action.

See: envVariable smart constructor.

Instances
Eq EnvVariable Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Data EnvVariable Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EnvVariable -> c EnvVariable #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EnvVariable #

toConstr :: EnvVariable -> Constr #

dataTypeOf :: EnvVariable -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EnvVariable) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EnvVariable) #

gmapT :: (forall b. Data b => b -> b) -> EnvVariable -> EnvVariable #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EnvVariable -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EnvVariable -> r #

gmapQ :: (forall d. Data d => d -> u) -> EnvVariable -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EnvVariable -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EnvVariable -> m EnvVariable #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EnvVariable -> m EnvVariable #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EnvVariable -> m EnvVariable #

Show EnvVariable Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic EnvVariable Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep EnvVariable :: Type -> Type #

ToJSON EnvVariable Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON EnvVariable Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep EnvVariable Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep EnvVariable = D1 (MetaData "EnvVariable" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "EnvVariable'" PrefixI True) (S1 (MetaSel (Just "_evValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_evName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_evHidden") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))

envVariable :: EnvVariable Source #

Creates a value of EnvVariable with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

evValue :: Lens' EnvVariable (Maybe Text) Source #

The value of the variable.

evName :: Lens' EnvVariable (Maybe Text) Source #

The name of the environment variable.

evHidden :: Lens' EnvVariable (Maybe Bool) Source #

Deprecated, do not use.

ReplicasDeleteRequest

data ReplicasDeleteRequest Source #

Instances
Eq ReplicasDeleteRequest Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Data ReplicasDeleteRequest Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReplicasDeleteRequest -> c ReplicasDeleteRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReplicasDeleteRequest #

toConstr :: ReplicasDeleteRequest -> Constr #

dataTypeOf :: ReplicasDeleteRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ReplicasDeleteRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReplicasDeleteRequest) #

gmapT :: (forall b. Data b => b -> b) -> ReplicasDeleteRequest -> ReplicasDeleteRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReplicasDeleteRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReplicasDeleteRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReplicasDeleteRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReplicasDeleteRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReplicasDeleteRequest -> m ReplicasDeleteRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReplicasDeleteRequest -> m ReplicasDeleteRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReplicasDeleteRequest -> m ReplicasDeleteRequest #

Show ReplicasDeleteRequest Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic ReplicasDeleteRequest Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep ReplicasDeleteRequest :: Type -> Type #

ToJSON ReplicasDeleteRequest Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON ReplicasDeleteRequest Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep ReplicasDeleteRequest Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep ReplicasDeleteRequest = D1 (MetaData "ReplicasDeleteRequest" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" True) (C1 (MetaCons "ReplicasDeleteRequest'" PrefixI True) (S1 (MetaSel (Just "_rdrAbandonInstance") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))))

replicasDeleteRequest :: ReplicasDeleteRequest Source #

Creates a value of ReplicasDeleteRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rdrAbandonInstance :: Lens' ReplicasDeleteRequest (Maybe Bool) Source #

Whether the instance resource represented by this replica should be deleted or abandoned. If abandoned, the replica will be deleted but the virtual machine instance will remain. By default, this is set to false and the instance will be deleted along with the replica.

AccessConfig

data AccessConfig Source #

A Compute Engine network accessConfig. Identical to the accessConfig on corresponding Compute Engine resource.

See: accessConfig smart constructor.

Instances
Eq AccessConfig Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Data AccessConfig Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AccessConfig -> c AccessConfig #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AccessConfig #

toConstr :: AccessConfig -> Constr #

dataTypeOf :: AccessConfig -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AccessConfig) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AccessConfig) #

gmapT :: (forall b. Data b => b -> b) -> AccessConfig -> AccessConfig #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AccessConfig -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AccessConfig -> r #

gmapQ :: (forall d. Data d => d -> u) -> AccessConfig -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AccessConfig -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AccessConfig -> m AccessConfig #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AccessConfig -> m AccessConfig #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AccessConfig -> m AccessConfig #

Show AccessConfig Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic AccessConfig Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep AccessConfig :: Type -> Type #

ToJSON AccessConfig Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON AccessConfig Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep AccessConfig Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep AccessConfig = D1 (MetaData "AccessConfig" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "AccessConfig'" PrefixI True) (S1 (MetaSel (Just "_acName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_acNATIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_acType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

accessConfig :: AccessConfig Source #

Creates a value of AccessConfig with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

acName :: Lens' AccessConfig (Maybe Text) Source #

Name of this access configuration.

acNATIP :: Lens' AccessConfig (Maybe Text) Source #

An external IP address associated with this instance.

acType :: Lens' AccessConfig (Maybe Text) Source #

Type of this access configuration file. Currently only ONE_TO_ONE_NAT is supported.

Label

data Label Source #

A label to apply to this replica pool.

See: label smart constructor.

Instances
Eq Label Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

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

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

Data Label Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Label -> c Label #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Label #

toConstr :: Label -> Constr #

dataTypeOf :: Label -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Label) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Label) #

gmapT :: (forall b. Data b => b -> b) -> Label -> Label #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Label -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Label -> r #

gmapQ :: (forall d. Data d => d -> u) -> Label -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Label -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Label -> m Label #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Label -> m Label #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Label -> m Label #

Show Label Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

showsPrec :: Int -> Label -> ShowS #

show :: Label -> String #

showList :: [Label] -> ShowS #

Generic Label Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep Label :: Type -> Type #

Methods

from :: Label -> Rep Label x #

to :: Rep Label x -> Label #

ToJSON Label Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON Label Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep Label Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep Label = D1 (MetaData "Label" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "Label'" PrefixI True) (S1 (MetaSel (Just "_lValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

label :: Label Source #

Creates a value of Label with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lValue :: Lens' Label (Maybe Text) Source #

The value of this label.

lKey :: Lens' Label (Maybe Text) Source #

The key for this label.

PoolsListResponse

data PoolsListResponse Source #

Instances
Eq PoolsListResponse Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Data PoolsListResponse Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PoolsListResponse -> c PoolsListResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PoolsListResponse #

toConstr :: PoolsListResponse -> Constr #

dataTypeOf :: PoolsListResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PoolsListResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PoolsListResponse) #

gmapT :: (forall b. Data b => b -> b) -> PoolsListResponse -> PoolsListResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PoolsListResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PoolsListResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> PoolsListResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PoolsListResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PoolsListResponse -> m PoolsListResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PoolsListResponse -> m PoolsListResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PoolsListResponse -> m PoolsListResponse #

Show PoolsListResponse Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic PoolsListResponse Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep PoolsListResponse :: Type -> Type #

ToJSON PoolsListResponse Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON PoolsListResponse Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep PoolsListResponse Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep PoolsListResponse = D1 (MetaData "PoolsListResponse" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "PoolsListResponse'" PrefixI True) (S1 (MetaSel (Just "_plrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plrResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Pool]))))

poolsListResponse :: PoolsListResponse Source #

Creates a value of PoolsListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

NewDisk

data NewDisk Source #

A Persistent Disk resource that will be created and attached to each Replica in the Pool. Each Replica will have a unique persistent disk that is created and attached to that Replica in READ_WRITE mode.

See: newDisk smart constructor.

Instances
Eq NewDisk Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

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

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

Data NewDisk Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NewDisk -> c NewDisk #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NewDisk #

toConstr :: NewDisk -> Constr #

dataTypeOf :: NewDisk -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NewDisk) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NewDisk) #

gmapT :: (forall b. Data b => b -> b) -> NewDisk -> NewDisk #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NewDisk -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NewDisk -> r #

gmapQ :: (forall d. Data d => d -> u) -> NewDisk -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NewDisk -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NewDisk -> m NewDisk #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NewDisk -> m NewDisk #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NewDisk -> m NewDisk #

Show NewDisk Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Generic NewDisk Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

Associated Types

type Rep NewDisk :: Type -> Type #

Methods

from :: NewDisk -> Rep NewDisk x #

to :: Rep NewDisk x -> NewDisk #

ToJSON NewDisk Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

FromJSON NewDisk Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep NewDisk Source # 
Instance details

Defined in Network.Google.ReplicaPool.Types.Product

type Rep NewDisk = D1 (MetaData "NewDisk" "Network.Google.ReplicaPool.Types.Product" "gogol-replicapool-0.4.0-l56ptZixCn8PWsfP2iNmj" False) (C1 (MetaCons "NewDisk'" PrefixI True) ((S1 (MetaSel (Just "_ndBoot") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_ndAutoDelete") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_ndAttachment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DiskAttachment)) :*: S1 (MetaSel (Just "_ndInitializeParams") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NewDiskInitializeParams)))))

newDisk :: NewDisk Source #

Creates a value of NewDisk with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ndBoot :: Lens' NewDisk (Maybe Bool) Source #

If true, indicates that this is the root persistent disk.

ndAutoDelete :: Lens' NewDisk (Maybe Bool) Source #

If true, then this disk will be deleted when the instance is deleted. The default value is true.

ndAttachment :: Lens' NewDisk (Maybe DiskAttachment) Source #

How the disk will be attached to the Replica.

ndInitializeParams :: Lens' NewDisk (Maybe NewDiskInitializeParams) Source #

Create the new disk using these parameters. The name of the disk will be -