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