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 |
Retrieves a particular SSL certificate. Does not include the private key (required for usage). The private key must be saved from the response to initial creation.
See: Cloud SQL Admin API Reference for sql.sslCerts.get
.
Synopsis
- type SSLCertsGetResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("sslCerts" :> (Capture "sha1Fingerprint" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SSLCert))))))))
- sslCertsGet :: Text -> Text -> Text -> SSLCertsGet
- data SSLCertsGet
- scgProject :: Lens' SSLCertsGet Text
- scgSha1Fingerprint :: Lens' SSLCertsGet Text
- scgInstance :: Lens' SSLCertsGet Text
REST Resource
type SSLCertsGetResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("sslCerts" :> (Capture "sha1Fingerprint" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SSLCert)))))))) Source #
A resource alias for sql.sslCerts.get
method which the
SSLCertsGet
request conforms to.
Creating a Request
Creates a value of SSLCertsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SSLCertsGet Source #
Retrieves a particular SSL certificate. Does not include the private key (required for usage). The private key must be saved from the response to initial creation.
See: sslCertsGet
smart constructor.
Instances
Request Lenses
scgProject :: Lens' SSLCertsGet Text Source #
Project ID of the project that contains the instance.
scgSha1Fingerprint :: Lens' SSLCertsGet Text Source #
Sha1 FingerPrint.
scgInstance :: Lens' SSLCertsGet Text Source #
Cloud SQL instance ID. This does not include the project ID.