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

Contents

Description

Creates a new Cloud SQL instance.

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

Synopsis

REST Resource

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

A resource alias for sql.instances.insert method which the InstancesInsert request conforms to.

Creating a Request

instancesInsert Source

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

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

Request Lenses

insProject :: Lens' InstancesInsert Text Source

Project ID of the project to which the newly created Cloud SQL instances should belong.