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 |
Starts an instance that was stopped using the using the instances().stop method. For more information, see Restart an instance.
See: Compute Engine API Reference for compute.instances.start
.
- type InstancesStartResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instances" :> (Capture "instance" Text :> ("start" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation)))))))))
- instancesStart :: Text -> Text -> Text -> InstancesStart
- data InstancesStart
- insProject :: Lens' InstancesStart Text
- insZone :: Lens' InstancesStart Text
- insInstance :: Lens' InstancesStart Text
REST Resource
type InstancesStartResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instances" :> (Capture "instance" Text :> ("start" :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation))))))))) Source #
A resource alias for compute.instances.start
method which the
InstancesStart
request conforms to.
Creating a Request
Creates a value of InstancesStart
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstancesStart Source #
Starts an instance that was stopped using the using the instances().stop method. For more information, see Restart an instance.
See: instancesStart
smart constructor.
Request Lenses
insProject :: Lens' InstancesStart Text Source #
Project ID for this request.
insInstance :: Lens' InstancesStart Text Source #
Name of the instance resource to start.