Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.
See: Cloud SQL Admin API Reference for sql.sslCerts.createEphemeral
.
Synopsis
- type SSLCertsCreateEphemeralResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("createEphemeral" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SSLCertsCreateEphemeralRequest :> Post '[JSON] SSLCert))))))))
- sslCertsCreateEphemeral :: Text -> SSLCertsCreateEphemeralRequest -> Text -> SSLCertsCreateEphemeral
- data SSLCertsCreateEphemeral
- scceProject :: Lens' SSLCertsCreateEphemeral Text
- sccePayload :: Lens' SSLCertsCreateEphemeral SSLCertsCreateEphemeralRequest
- scceInstance :: Lens' SSLCertsCreateEphemeral Text
REST Resource
type SSLCertsCreateEphemeralResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("createEphemeral" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SSLCertsCreateEphemeralRequest :> Post '[JSON] SSLCert)))))))) Source #
A resource alias for sql.sslCerts.createEphemeral
method which the
SSLCertsCreateEphemeral
request conforms to.
Creating a Request
sslCertsCreateEphemeral Source #
Creates a value of SSLCertsCreateEphemeral
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SSLCertsCreateEphemeral Source #
Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.
See: sslCertsCreateEphemeral
smart constructor.
Instances
Request Lenses
scceProject :: Lens' SSLCertsCreateEphemeral Text Source #
Project ID of the Cloud SQL project.
sccePayload :: Lens' SSLCertsCreateEphemeral SSLCertsCreateEphemeralRequest Source #
Multipart request metadata.
scceInstance :: Lens' SSLCertsCreateEphemeral Text Source #
Cloud SQL instance ID. This does not include the project ID.