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