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

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

Instances

Eq SSLCertsInsert Source # 
Data SSLCertsInsert Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SSLCertsInsert -> c SSLCertsInsert #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SSLCertsInsert #

toConstr :: SSLCertsInsert -> Constr #

dataTypeOf :: SSLCertsInsert -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SSLCertsInsert) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SSLCertsInsert) #

gmapT :: (forall b. Data b => b -> b) -> SSLCertsInsert -> SSLCertsInsert #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SSLCertsInsert -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SSLCertsInsert -> r #

gmapQ :: (forall d. Data d => d -> u) -> SSLCertsInsert -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SSLCertsInsert -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SSLCertsInsert -> m SSLCertsInsert #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SSLCertsInsert -> m SSLCertsInsert #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SSLCertsInsert -> m SSLCertsInsert #

Show SSLCertsInsert Source # 
Generic SSLCertsInsert Source # 

Associated Types

type Rep SSLCertsInsert :: * -> * #

GoogleRequest SSLCertsInsert Source # 
type Rep SSLCertsInsert Source # 
type Rep SSLCertsInsert = D1 (MetaData "SSLCertsInsert" "Network.Google.Resource.SQL.SSLCerts.Insert" "gogol-sqladmin-0.2.0-BihfPAXdzgqA8dYlEmHsAp" False) (C1 (MetaCons "SSLCertsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sciProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_sciPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SSLCertsInsertRequest)) (S1 (MetaSel (Just Symbol "_sciInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes SSLCertsInsert Source # 
type Scopes SSLCertsInsert = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/sqlservice.admin" ([] Symbol))
type Rs SSLCertsInsert Source # 

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.