gogol-deploymentmanager-0.1.0: Google Cloud Deployment Manager 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.DeploymentManager.Deployments.Insert

Contents

Description

Creates a deployment and all of the resources described by the deployment manifest.

See: Google Cloud Deployment Manager API Reference for deploymentmanager.deployments.insert.

Synopsis

REST Resource

type DeploymentsInsertResource = "deploymentmanager" :> ("v2" :> ("projects" :> (Capture "project" Text :> ("global" :> ("deployments" :> (QueryParam "preview" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Deployment :> Post '[JSON] Operation)))))))) Source #

A resource alias for deploymentmanager.deployments.insert method which the DeploymentsInsert request conforms to.

Creating a Request

deploymentsInsert Source #

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

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

data DeploymentsInsert Source #

Creates a deployment and all of the resources described by the deployment manifest.

See: deploymentsInsert smart constructor.

Instances

Eq DeploymentsInsert Source # 
Data DeploymentsInsert Source # 

Methods

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

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

toConstr :: DeploymentsInsert -> Constr #

dataTypeOf :: DeploymentsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DeploymentsInsert Source # 
Generic DeploymentsInsert Source # 
GoogleRequest DeploymentsInsert Source # 
type Rep DeploymentsInsert Source # 
type Rep DeploymentsInsert = D1 (MetaData "DeploymentsInsert" "Network.Google.Resource.DeploymentManager.Deployments.Insert" "gogol-deploymentmanager-0.1.0-AuzSIPU3oEZ6JJ1sl7zu2t" False) (C1 (MetaCons "DeploymentsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_diProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_diPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Deployment)) (S1 (MetaSel (Just Symbol "_diPreview") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))
type Scopes DeploymentsInsert Source # 
type Scopes DeploymentsInsert = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/ndev.cloudman" ([] Symbol))
type Rs DeploymentsInsert Source # 

Request Lenses

diProject :: Lens' DeploymentsInsert Text Source #

The project ID for this request.

diPayload :: Lens' DeploymentsInsert Deployment Source #

Multipart request metadata.

diPreview :: Lens' DeploymentsInsert (Maybe Bool) Source #

If set to true, creates a deployment and creates "shell" resources but does not actually instantiate these resources. This allows you to preview what your deployment looks like. After previewing a deployment, you can deploy your resources by making a request with the update() method or you can use the cancelPreview() method to cancel the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.