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.Failover

Contents

Description

Failover the instance to its failover replica instance.

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

Synopsis

REST Resource

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

A resource alias for sql.instances.failover method which the InstancesFailover request conforms to.

Creating a Request

instancesFailover Source

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

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

Request Lenses

ifProject :: Lens' InstancesFailover Text Source

ID of the project that contains the read replica.

ifInstance :: Lens' InstancesFailover Text Source

Cloud SQL instance ID. This does not include the project ID.