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.Reset
Description
Performs a hard reset on the instance.
See: Compute Engine API Reference for compute.instances.reset
.
- type InstancesResetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instances" :> (Capture "instance" Text :> ("reset" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation)))))))))
- instancesReset :: Text -> Text -> Text -> InstancesReset
- data InstancesReset
- irProject :: Lens' InstancesReset Text
- irZone :: Lens' InstancesReset Text
- irInstance :: Lens' InstancesReset Text
REST Resource
type InstancesResetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instances" :> (Capture "instance" Text :> ("reset" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation))))))))) #
A resource alias for compute.instances.reset
method which the
InstancesReset
request conforms to.
Creating a Request
Arguments
:: Text | |
-> Text | |
-> Text | |
-> InstancesReset |
Creates a value of InstancesReset
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstancesReset #
Performs a hard reset on the instance.
See: instancesReset
smart constructor.
Instances
Request Lenses
irProject :: Lens' InstancesReset Text #
Project ID for this request.
irZone :: Lens' InstancesReset Text #
The name of the zone for this request.
irInstance :: Lens' InstancesReset Text #
Name of the instance scoping this request.