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

Contents

Description

Restarts a Cloud SQL instance.

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

Synopsis

REST Resource

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

A resource alias for sql.instances.restart method which the InstancesRestart request conforms to.

Creating a Request

instancesRestart Source

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

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

Request Lenses

irProject :: Lens' InstancesRestart Text Source

Project ID of the project that contains the instance to be restarted.

irInstance :: Lens' InstancesRestart Text Source

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