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 |
Rotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method.
See: Cloud SQL Admin API Reference for sql.instances.rotateServerCa
.
Synopsis
- type InstancesRotateServerCaResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("rotateServerCa" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstancesRotateServerCaRequest :> Post '[JSON] Operation))))))))
- instancesRotateServerCa :: Text -> InstancesRotateServerCaRequest -> Text -> InstancesRotateServerCa
- data InstancesRotateServerCa
- iProject :: Lens' InstancesRotateServerCa Text
- iPayload :: Lens' InstancesRotateServerCa InstancesRotateServerCaRequest
- iInstance :: Lens' InstancesRotateServerCa Text
REST Resource
type InstancesRotateServerCaResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("rotateServerCa" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstancesRotateServerCaRequest :> Post '[JSON] Operation)))))))) Source #
A resource alias for sql.instances.rotateServerCa
method which the
InstancesRotateServerCa
request conforms to.
Creating a Request
instancesRotateServerCa Source #
Creates a value of InstancesRotateServerCa
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstancesRotateServerCa Source #
Rotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method.
See: instancesRotateServerCa
smart constructor.
Instances
Request Lenses
iProject :: Lens' InstancesRotateServerCa Text Source #
Project ID of the project that contains the instance.
iPayload :: Lens' InstancesRotateServerCa InstancesRotateServerCaRequest Source #
Multipart request metadata.