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 |
Simulates a maintenance event on the instance.
See: Compute Engine API Reference for compute.instances.simulateMaintenanceEvent
.
Synopsis
- type InstancesSimulateMaintenanceEventResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instances" :> (Capture "instance" Text :> ("simulateMaintenanceEvent" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation)))))))))
- instancesSimulateMaintenanceEvent :: Text -> Text -> Text -> InstancesSimulateMaintenanceEvent
- data InstancesSimulateMaintenanceEvent
- ismeProject :: Lens' InstancesSimulateMaintenanceEvent Text
- ismeZone :: Lens' InstancesSimulateMaintenanceEvent Text
- ismeInstance :: Lens' InstancesSimulateMaintenanceEvent Text
REST Resource
type InstancesSimulateMaintenanceEventResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instances" :> (Capture "instance" Text :> ("simulateMaintenanceEvent" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation))))))))) Source #
A resource alias for compute.instances.simulateMaintenanceEvent
method which the
InstancesSimulateMaintenanceEvent
request conforms to.
Creating a Request
instancesSimulateMaintenanceEvent Source #
Creates a value of InstancesSimulateMaintenanceEvent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstancesSimulateMaintenanceEvent Source #
Simulates a maintenance event on the instance.
See: instancesSimulateMaintenanceEvent
smart constructor.
Instances
Request Lenses
ismeProject :: Lens' InstancesSimulateMaintenanceEvent Text Source #
Project ID for this request.
ismeZone :: Lens' InstancesSimulateMaintenanceEvent Text Source #
The name of the zone for this request.
ismeInstance :: Lens' InstancesSimulateMaintenanceEvent Text Source #
Name of the instance scoping this request.