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 the specified Instance resource. For more information, see Stopping or Deleting an Instance.
See: Compute Engine API Reference for compute.instances.delete
.
- type InstancesDeleteResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instances" :> (Capture "instance" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation))))))))
- instancesDelete :: Text -> Text -> Text -> InstancesDelete
- data InstancesDelete
- idProject :: Lens' InstancesDelete Text
- idZone :: Lens' InstancesDelete Text
- idInstance :: Lens' InstancesDelete Text
REST Resource
type InstancesDeleteResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instances" :> (Capture "instance" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation)))))))) Source #
A resource alias for compute.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 the specified Instance resource. For more information, see Stopping or Deleting an Instance.
See: instancesDelete
smart constructor.
Request Lenses
idInstance :: Lens' InstancesDelete Text Source #
Name of the instance resource to delete.