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

Contents

Description

Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted.

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

Synopsis

REST Resource

type SSLCertsInsertResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("sslCerts" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` SSLCertsInsertRequest :> Post `[JSON]` SSLCertsInsertResponse)))))))) Source

A resource alias for sql.sslCerts.insert method which the SSLCertsInsert request conforms to.

Creating a Request

sslCertsInsert Source

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

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

data SSLCertsInsert Source

Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted.

See: sslCertsInsert smart constructor.

Request Lenses

sciProject :: Lens' SSLCertsInsert Text Source

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

sciInstance :: Lens' SSLCertsInsert Text Source

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