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 Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot. For more information, see Deleting snaphots.
See: Compute Engine API Reference for compute.snapshots.delete
.
- type SnapshotsDeleteResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("snapshots" :> (Capture "snapshot" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation)))))))
- snapshotsDelete :: Text -> Text -> SnapshotsDelete
- data SnapshotsDelete
- snaSnapshot :: Lens' SnapshotsDelete Text
- snaProject :: Lens' SnapshotsDelete Text
REST Resource
type SnapshotsDeleteResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("snapshots" :> (Capture "snapshot" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation))))))) Source #
A resource alias for compute.snapshots.delete
method which the
SnapshotsDelete
request conforms to.
Creating a Request
Creates a value of SnapshotsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SnapshotsDelete Source #
Deletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot. For more information, see Deleting snaphots.
See: snapshotsDelete
smart constructor.
Request Lenses
snaSnapshot :: Lens' SnapshotsDelete Text Source #
Name of the Snapshot resource to delete.
snaProject :: Lens' SnapshotsDelete Text Source #
Project ID for this request.