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 |
Restarts a Cloud SQL instance.
See: Cloud SQL Admin API Reference for sql.instances.restart
.
Synopsis
- type InstancesRestartResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("restart" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation)))))))
- instancesRestart :: Text -> Text -> InstancesRestart
- data InstancesRestart
- irProject :: Lens' InstancesRestart Text
- irInstance :: Lens' InstancesRestart Text
REST Resource
type InstancesRestartResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("restart" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation))))))) Source #
A resource alias for sql.instances.restart
method which the
InstancesRestart
request conforms to.
Creating a Request
Creates a value of InstancesRestart
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstancesRestart Source #
Restarts a Cloud SQL instance.
See: instancesRestart
smart constructor.
Instances
Request Lenses
irProject :: Lens' InstancesRestart Text Source #
Project ID of the project that contains the instance to be restarted.
irInstance :: Lens' InstancesRestart Text Source #
Cloud SQL instance ID. This does not include the project ID.