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.Insert

Contents

Description

Creates an instance group manager, as well as the instance group and the specified number of instances.

See: Google Compute Engine Instance Group Manager API Reference for replicapool.instanceGroupManagers.insert.

Synopsis

REST Resource

type InstanceGroupManagersInsertResource = "replicapool" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instanceGroupManagers" :> (QueryParam "size" (Textual Int32) :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` InstanceGroupManager :> Post `[JSON]` Operation))))))))) Source

A resource alias for replicapool.instanceGroupManagers.insert method which the InstanceGroupManagersInsert request conforms to.

Creating a Request

instanceGroupManagersInsert Source

Creates a value of InstanceGroupManagersInsert with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

igmiProject :: Lens' InstanceGroupManagersInsert Text Source

The Google Developers Console project name.

igmiSize :: Lens' InstanceGroupManagersInsert Int32 Source

Number of instances that should exist.

igmiZone :: Lens' InstanceGroupManagersInsert Text Source

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