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 |
Network.Google.Resource.Compute.Instances.DetachDisk
Description
Detaches a disk from an instance.
See: Compute Engine API Reference for compute.instances.detachDisk
.
- type InstancesDetachDiskResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instances" :> (Capture "instance" Text :> ("detachDisk" :> (QueryParam "deviceName" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation))))))))))
- instancesDetachDisk :: Text -> Text -> Text -> Text -> InstancesDetachDisk
- data InstancesDetachDisk
- iddProject :: Lens' InstancesDetachDisk Text
- iddZone :: Lens' InstancesDetachDisk Text
- iddDeviceName :: Lens' InstancesDetachDisk Text
- iddInstance :: Lens' InstancesDetachDisk Text
REST Resource
type InstancesDetachDiskResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instances" :> (Capture "instance" Text :> ("detachDisk" :> (QueryParam "deviceName" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation)))))))))) #
A resource alias for compute.instances.detachDisk
method which the
InstancesDetachDisk
request conforms to.
Creating a Request
Arguments
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> InstancesDetachDisk |
Creates a value of InstancesDetachDisk
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstancesDetachDisk #
Detaches a disk from an instance.
See: instancesDetachDisk
smart constructor.
Request Lenses
iddProject :: Lens' InstancesDetachDisk Text #
Project ID for this request.
iddZone :: Lens' InstancesDetachDisk Text #
The name of the zone for this request.
iddDeviceName :: Lens' InstancesDetachDisk Text #
Disk device name to detach.
iddInstance :: Lens' InstancesDetachDisk Text #
Instance name.