gogol-autoscaler-0.0.1: Google Compute Engine Autoscaler 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.Autoscaler.Autoscalers.Insert

Contents

Description

Adds new Autoscaler resource.

See: Google Compute Engine Autoscaler API Reference for autoscaler.autoscalers.insert.

Synopsis

REST Resource

type AutoscalersInsertResource = "autoscaler" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("autoscalers" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Autoscaler :> Post `[JSON]` Operation)))))))) Source

A resource alias for autoscaler.autoscalers.insert method which the AutoscalersInsert request conforms to.

Creating a Request

autoscalersInsert Source

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

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

Request Lenses

aiProject :: Lens' AutoscalersInsert Text Source

Project ID of Autoscaler resource.

aiZone :: Lens' AutoscalersInsert Text Source

Zone name of Autoscaler resource.

aiPayload :: Lens' AutoscalersInsert Autoscaler Source

Multipart request metadata.