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 |
Stops the replication in the read replica instance.
See: Cloud SQL Admin API Reference for sql.instances.stopReplica
.
Synopsis
- type InstancesStopReplicaResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("stopReplica" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation)))))))
- instancesStopReplica :: Text -> Text -> InstancesStopReplica
- data InstancesStopReplica
- isrProject :: Lens' InstancesStopReplica Text
- isrInstance :: Lens' InstancesStopReplica Text
REST Resource
type InstancesStopReplicaResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("stopReplica" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation))))))) Source #
A resource alias for sql.instances.stopReplica
method which the
InstancesStopReplica
request conforms to.
Creating a Request
Creates a value of InstancesStopReplica
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstancesStopReplica Source #
Stops the replication in the read replica instance.
See: instancesStopReplica
smart constructor.
Instances
Request Lenses
isrProject :: Lens' InstancesStopReplica Text Source #
ID of the project that contains the read replica.
isrInstance :: Lens' InstancesStopReplica Text Source #
Cloud SQL read replica instance name.