gogol-replicapool-0.0.1: Google Compute Engine Instance Group Manager SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.ReplicaPool.InstanceGroupManagers.Resize

Contents

Description

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.

Synopsis

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

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.

igmrZone :: Lens' InstanceGroupManagersResize Text Source

The name of the zone in which the instance group manager resides.