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 |
Add a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in.
See: Cloud SQL Admin API Reference for sql.instances.addServerCa
.
Synopsis
- type InstancesAddServerCaResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("addServerCa" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation)))))))
- instancesAddServerCa :: Text -> Text -> InstancesAddServerCa
- data InstancesAddServerCa
- iascProject :: Lens' InstancesAddServerCa Text
- iascInstance :: Lens' InstancesAddServerCa Text
REST Resource
type InstancesAddServerCaResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("addServerCa" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation))))))) Source #
A resource alias for sql.instances.addServerCa
method which the
InstancesAddServerCa
request conforms to.
Creating a Request
Creates a value of InstancesAddServerCa
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstancesAddServerCa Source #
Add a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in.
See: instancesAddServerCa
smart constructor.
Instances
Request Lenses
iascProject :: Lens' InstancesAddServerCa Text Source #
Project ID of the project that contains the instance.
iascInstance :: Lens' InstancesAddServerCa Text Source #
Cloud SQL instance ID. This does not include the project ID.