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