gogol-sqladmin-0.4.0: Google Cloud SQL Admin 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.Resource.SQL.Instances.StopReplica

Contents

Description

Stops the replication in the read replica instance.

See: Cloud SQL Admin API Reference for sql.instances.stopReplica.

Synopsis

REST Resource

type InstancesStopReplicaResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("stopReplica" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation))))))) Source #

A resource alias for sql.instances.stopReplica method which the InstancesStopReplica request conforms to.

Creating a Request

instancesStopReplica Source #

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

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

data InstancesStopReplica Source #

Stops the replication in the read replica instance.

See: instancesStopReplica smart constructor.

Instances
Eq InstancesStopReplica Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.StopReplica

Data InstancesStopReplica Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.StopReplica

Methods

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

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

toConstr :: InstancesStopReplica -> Constr #

dataTypeOf :: InstancesStopReplica -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstancesStopReplica Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.StopReplica

Generic InstancesStopReplica Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.StopReplica

Associated Types

type Rep InstancesStopReplica :: Type -> Type #

GoogleRequest InstancesStopReplica Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.StopReplica

Associated Types

type Rs InstancesStopReplica :: Type #

type Scopes InstancesStopReplica :: [Symbol] #

type Rep InstancesStopReplica Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.StopReplica

type Rep InstancesStopReplica = D1 (MetaData "InstancesStopReplica" "Network.Google.Resource.SQL.Instances.StopReplica" "gogol-sqladmin-0.4.0-E7PrzlfFsl19SfOpZznMc2" False) (C1 (MetaCons "InstancesStopReplica'" PrefixI True) (S1 (MetaSel (Just "_isrProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_isrInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes InstancesStopReplica Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.StopReplica

type Scopes InstancesStopReplica = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/sqlservice.admin" ': ([] :: [Symbol]))
type Rs InstancesStopReplica Source # 
Instance details

Defined in Network.Google.Resource.SQL.Instances.StopReplica

Request Lenses

isrProject :: Lens' InstancesStopReplica Text Source #

ID of the project that contains the read replica.

isrInstance :: Lens' InstancesStopReplica Text Source #

Cloud SQL read replica instance name.