gogol-sqladmin-0.0.1: Google Cloud SQL Administration SDK.

Copyright(c) 2015 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.PromoteReplica

Contents

Description

Promotes the read replica instance to be a stand-alone Cloud SQL instance.

See: Cloud SQL Administration API Reference for sql.instances.promoteReplica.

Synopsis

REST Resource

type InstancesPromoteReplicaResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("promoteReplica" :> (QueryParam "alt" AltJSON :> Post `[JSON]` Operation))))))) Source

A resource alias for sql.instances.promoteReplica method which the InstancesPromoteReplica request conforms to.

Creating a Request

instancesPromoteReplica Source

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

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

Request Lenses

iprProject :: Lens' InstancesPromoteReplica Text Source

ID of the project that contains the read replica.

iprInstance :: Lens' InstancesPromoteReplica Text Source

Cloud SQL read replica instance name.