gogol-compute-0.4.0: Google Compute Engine SDK.

Copyright(c) 2015-2016 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.Compute.InstanceGroups.AddInstances

Contents

Description

Adds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. Read Adding instances for more information.

See: Compute Engine API Reference for compute.instanceGroups.addInstances.

Synopsis

REST Resource

type InstanceGroupsAddInstancesResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instanceGroups" :> (Capture "instanceGroup" Text :> ("addInstances" :> (QueryParam "requestId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstanceGroupsAddInstancesRequest :> Post '[JSON] Operation))))))))))) Source #

A resource alias for compute.instanceGroups.addInstances method which the InstanceGroupsAddInstances request conforms to.

Creating a Request

instanceGroupsAddInstances Source #

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

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

data InstanceGroupsAddInstances Source #

Adds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. Read Adding instances for more information.

See: instanceGroupsAddInstances smart constructor.

Instances
Eq InstanceGroupsAddInstances Source # 
Instance details

Defined in Network.Google.Resource.Compute.InstanceGroups.AddInstances

Data InstanceGroupsAddInstances Source # 
Instance details

Defined in Network.Google.Resource.Compute.InstanceGroups.AddInstances

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstanceGroupsAddInstances -> c InstanceGroupsAddInstances #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstanceGroupsAddInstances #

toConstr :: InstanceGroupsAddInstances -> Constr #

dataTypeOf :: InstanceGroupsAddInstances -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c InstanceGroupsAddInstances) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstanceGroupsAddInstances) #

gmapT :: (forall b. Data b => b -> b) -> InstanceGroupsAddInstances -> InstanceGroupsAddInstances #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstanceGroupsAddInstances -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstanceGroupsAddInstances -> r #

gmapQ :: (forall d. Data d => d -> u) -> InstanceGroupsAddInstances -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InstanceGroupsAddInstances -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstanceGroupsAddInstances -> m InstanceGroupsAddInstances #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceGroupsAddInstances -> m InstanceGroupsAddInstances #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceGroupsAddInstances -> m InstanceGroupsAddInstances #

Show InstanceGroupsAddInstances Source # 
Instance details

Defined in Network.Google.Resource.Compute.InstanceGroups.AddInstances

Generic InstanceGroupsAddInstances Source # 
Instance details

Defined in Network.Google.Resource.Compute.InstanceGroups.AddInstances

Associated Types

type Rep InstanceGroupsAddInstances :: Type -> Type #

GoogleRequest InstanceGroupsAddInstances Source # 
Instance details

Defined in Network.Google.Resource.Compute.InstanceGroups.AddInstances

type Rep InstanceGroupsAddInstances Source # 
Instance details

Defined in Network.Google.Resource.Compute.InstanceGroups.AddInstances

type Rep InstanceGroupsAddInstances = D1 (MetaData "InstanceGroupsAddInstances" "Network.Google.Resource.Compute.InstanceGroups.AddInstances" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "InstanceGroupsAddInstances'" PrefixI True) ((S1 (MetaSel (Just "_igaiRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_igaiProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_igaiZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_igaiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InstanceGroupsAddInstancesRequest) :*: S1 (MetaSel (Just "_igaiInstanceGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes InstanceGroupsAddInstances Source # 
Instance details

Defined in Network.Google.Resource.Compute.InstanceGroups.AddInstances

type Scopes InstanceGroupsAddInstances = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/compute" ': ([] :: [Symbol]))
type Rs InstanceGroupsAddInstances Source # 
Instance details

Defined in Network.Google.Resource.Compute.InstanceGroups.AddInstances

Request Lenses

igaiRequestId :: Lens' InstanceGroupsAddInstances (Maybe Text) Source #

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

igaiProject :: Lens' InstanceGroupsAddInstances Text Source #

Project ID for this request.

igaiZone :: Lens' InstanceGroupsAddInstances Text Source #

The name of the zone where the instance group is located.

igaiInstanceGroup :: Lens' InstanceGroupsAddInstances Text Source #

The name of the instance group where you are adding instances.