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 |
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))))))))) Source #
A resource alias for compute.instances.reset
method which the
InstancesReset
request conforms to.
Creating a Request
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 Source #
Performs a hard reset on the instance.
See: instancesReset
smart constructor.
Request Lenses
irInstance :: Lens' InstancesReset Text Source #
Name of the instance scoping this request.