gogol-sqladmin-0.3.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)))))))) #

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

Creating a Request

sslCertsInsert #

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 #

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 # 
Data SSLCertsInsert # 

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 # 
Generic SSLCertsInsert # 

Associated Types

type Rep SSLCertsInsert :: * -> * #

GoogleRequest SSLCertsInsert # 
type Rep SSLCertsInsert # 
type Rep SSLCertsInsert = D1 (MetaData "SSLCertsInsert" "Network.Google.Resource.SQL.SSLCerts.Insert" "gogol-sqladmin-0.3.0-BD0t1IiAlhu87AUuRiY1UJ" 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 # 
type Scopes SSLCertsInsert = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/sqlservice.admin" ([] Symbol))
type Rs SSLCertsInsert # 

Request Lenses

sciProject :: Lens' SSLCertsInsert Text #

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

sciPayload :: Lens' SSLCertsInsert SSLCertsInsertRequest #

Multipart request metadata.

sciInstance :: Lens' SSLCertsInsert Text #

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