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 |
Resizes the managed instance group up or down. If resized up, new instances are created using the current instance template. If resized down, instances are removed in the order outlined in Resizing a managed instance group.
See: Google Compute Engine Instance Group Manager API Reference for replicapool.instanceGroupManagers.resize
.
- type InstanceGroupManagersResizeResource = "replicapool" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instanceGroupManagers" :> (Capture "instanceGroupManager" Text :> ("resize" :> (QueryParam "size" (Textual Int32) :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation))))))))))
- instanceGroupManagersResize :: Text -> Int32 -> Text -> Text -> InstanceGroupManagersResize
- data InstanceGroupManagersResize
- igmrProject :: Lens' InstanceGroupManagersResize Text
- igmrSize :: Lens' InstanceGroupManagersResize Int32
- igmrInstanceGroupManager :: Lens' InstanceGroupManagersResize Text
- igmrZone :: Lens' InstanceGroupManagersResize Text
REST Resource
type InstanceGroupManagersResizeResource = "replicapool" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instanceGroupManagers" :> (Capture "instanceGroupManager" Text :> ("resize" :> (QueryParam "size" (Textual Int32) :> (QueryParam "alt" AltJSON :> Post '[JSON] Operation)))))))))) Source #
A resource alias for replicapool.instanceGroupManagers.resize
method which the
InstanceGroupManagersResize
request conforms to.
Creating a Request
instanceGroupManagersResize Source #
:: Text | |
-> Int32 | |
-> Text | |
-> Text | |
-> InstanceGroupManagersResize |
Creates a value of InstanceGroupManagersResize
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstanceGroupManagersResize Source #
Resizes the managed instance group up or down. If resized up, new instances are created using the current instance template. If resized down, instances are removed in the order outlined in Resizing a managed instance group.
See: instanceGroupManagersResize
smart constructor.
Request Lenses
igmrProject :: Lens' InstanceGroupManagersResize Text Source #
The Google Developers Console project name.
igmrSize :: Lens' InstanceGroupManagersResize Int32 Source #
Number of instances that should exist in this Instance Group Manager.
igmrInstanceGroupManager :: Lens' InstanceGroupManagersResize Text Source #
The name of the instance group manager.