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 template. If you delete an instance template that is being referenced from another instance group, the instance group will not be able to create or recreate virtual machine instances. Deleting an instance template is permanent and cannot be undone.
See: Compute Engine API Reference for compute.instanceTemplates.delete
.
- type InstanceTemplatesDeleteResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("instanceTemplates" :> (Capture "instanceTemplate" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation)))))))
- instanceTemplatesDelete :: Text -> Text -> InstanceTemplatesDelete
- data InstanceTemplatesDelete
- itdProject :: Lens' InstanceTemplatesDelete Text
- itdInstanceTemplate :: Lens' InstanceTemplatesDelete Text
REST Resource
type InstanceTemplatesDeleteResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("instanceTemplates" :> (Capture "instanceTemplate" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation))))))) Source #
A resource alias for compute.instanceTemplates.delete
method which the
InstanceTemplatesDelete
request conforms to.
Creating a Request
instanceTemplatesDelete Source #
Creates a value of InstanceTemplatesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstanceTemplatesDelete Source #
Deletes the specified instance template. If you delete an instance template that is being referenced from another instance group, the instance group will not be able to create or recreate virtual machine instances. Deleting an instance template is permanent and cannot be undone.
See: instanceTemplatesDelete
smart constructor.
Request Lenses
itdProject :: Lens' InstanceTemplatesDelete Text Source #
Project ID for this request.
itdInstanceTemplate :: Lens' InstanceTemplatesDelete Text Source #
The name of the instance template to delete.