gogol-sqladmin-0.4.0: Google Cloud SQL Admin 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 Admin 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 # 
Instance details

Defined in Network.Google.Resource.SQL.SSLCerts.Insert

Data SSLCertsInsert Source # 
Instance details

Defined in Network.Google.Resource.SQL.SSLCerts.Insert

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 # 
Instance details

Defined in Network.Google.Resource.SQL.SSLCerts.Insert

Generic SSLCertsInsert Source # 
Instance details

Defined in Network.Google.Resource.SQL.SSLCerts.Insert

Associated Types

type Rep SSLCertsInsert :: Type -> Type #

GoogleRequest SSLCertsInsert Source # 
Instance details

Defined in Network.Google.Resource.SQL.SSLCerts.Insert

Associated Types

type Rs SSLCertsInsert :: Type #

type Scopes SSLCertsInsert :: [Symbol] #

type Rep SSLCertsInsert Source # 
Instance details

Defined in Network.Google.Resource.SQL.SSLCerts.Insert

type Rep SSLCertsInsert = D1 (MetaData "SSLCertsInsert" "Network.Google.Resource.SQL.SSLCerts.Insert" "gogol-sqladmin-0.4.0-E7PrzlfFsl19SfOpZznMc2" False) (C1 (MetaCons "SSLCertsInsert'" PrefixI True) (S1 (MetaSel (Just "_sciProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_sciPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SSLCertsInsertRequest) :*: S1 (MetaSel (Just "_sciInstance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes SSLCertsInsert Source # 
Instance details

Defined in Network.Google.Resource.SQL.SSLCerts.Insert

type Scopes SSLCertsInsert = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/sqlservice.admin" ': ([] :: [Symbol]))
type Rs SSLCertsInsert Source # 
Instance details

Defined in Network.Google.Resource.SQL.SSLCerts.Insert

Request Lenses

sciProject :: Lens' SSLCertsInsert Text Source #

Project ID of the project that contains the instance.

sciInstance :: Lens' SSLCertsInsert Text Source #

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