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 |
Sets an instance's scheduling options.
See: Compute Engine API Reference for compute.instances.setScheduling
.
- type InstancesSetSchedulingResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instances" :> (Capture "instance" Text :> ("setScheduling" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Scheduling :> Post '[JSON] Operation))))))))))
- instancesSetScheduling :: Text -> Text -> Scheduling -> Text -> InstancesSetScheduling
- data InstancesSetScheduling
- issProject :: Lens' InstancesSetScheduling Text
- issZone :: Lens' InstancesSetScheduling Text
- issPayload :: Lens' InstancesSetScheduling Scheduling
- issInstance :: Lens' InstancesSetScheduling Text
REST Resource
type InstancesSetSchedulingResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instances" :> (Capture "instance" Text :> ("setScheduling" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Scheduling :> Post '[JSON] Operation)))))))))) Source #
A resource alias for compute.instances.setScheduling
method which the
InstancesSetScheduling
request conforms to.
Creating a Request
instancesSetScheduling Source #
Creates a value of InstancesSetScheduling
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstancesSetScheduling Source #
Sets an instance's scheduling options.
See: instancesSetScheduling
smart constructor.
Request Lenses
issProject :: Lens' InstancesSetScheduling Text Source #
Project ID for this request.
issPayload :: Lens' InstancesSetScheduling Scheduling Source #
Multipart request metadata.
issInstance :: Lens' InstancesSetScheduling Text Source #
Instance name.