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.NodeGroups.AddNodes

Contents

Description

Adds specified number of nodes to the node group.

See: Compute Engine API Reference for compute.nodeGroups.addNodes.

Synopsis

REST Resource

type NodeGroupsAddNodesResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("nodeGroups" :> (Capture "nodeGroup" Text :> ("addNodes" :> (QueryParam "requestId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] NodeGroupsAddNodesRequest :> Post '[JSON] Operation))))))))))) Source #

A resource alias for compute.nodeGroups.addNodes method which the NodeGroupsAddNodes request conforms to.

Creating a Request

nodeGroupsAddNodes Source #

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

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

data NodeGroupsAddNodes Source #

Adds specified number of nodes to the node group.

See: nodeGroupsAddNodes smart constructor.

Instances
Eq NodeGroupsAddNodes Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.AddNodes

Data NodeGroupsAddNodes Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.AddNodes

Methods

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

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

toConstr :: NodeGroupsAddNodes -> Constr #

dataTypeOf :: NodeGroupsAddNodes -> DataType #

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

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

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

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

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

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

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

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

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

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

Show NodeGroupsAddNodes Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.AddNodes

Generic NodeGroupsAddNodes Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.AddNodes

Associated Types

type Rep NodeGroupsAddNodes :: Type -> Type #

GoogleRequest NodeGroupsAddNodes Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.AddNodes

Associated Types

type Rs NodeGroupsAddNodes :: Type #

type Scopes NodeGroupsAddNodes :: [Symbol] #

type Rep NodeGroupsAddNodes Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.AddNodes

type Rep NodeGroupsAddNodes = D1 (MetaData "NodeGroupsAddNodes" "Network.Google.Resource.Compute.NodeGroups.AddNodes" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "NodeGroupsAddNodes'" PrefixI True) ((S1 (MetaSel (Just "_nganRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_nganNodeGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_nganProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_nganZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_nganPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 NodeGroupsAddNodesRequest)))))
type Scopes NodeGroupsAddNodes Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.AddNodes

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

Defined in Network.Google.Resource.Compute.NodeGroups.AddNodes

Request Lenses

nganRequestId :: Lens' NodeGroupsAddNodes (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).

nganNodeGroup :: Lens' NodeGroupsAddNodes Text Source #

Name of the NodeGroup resource.

nganProject :: Lens' NodeGroupsAddNodes Text Source #

Project ID for this request.

nganZone :: Lens' NodeGroupsAddNodes Text Source #

The name of the zone for this request.