gogol-deploymentmanager-0.5.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 "createPolicy" DeploymentsInsertCreatePolicy :> (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 # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.Insert

Data DeploymentsInsert Source # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.Insert

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 # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.Insert

Generic DeploymentsInsert Source # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.Insert

Associated Types

type Rep DeploymentsInsert :: Type -> Type #

GoogleRequest DeploymentsInsert Source # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.Insert

Associated Types

type Rs DeploymentsInsert :: Type #

type Scopes DeploymentsInsert :: [Symbol] #

type Rep DeploymentsInsert Source # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.Insert

type Rep DeploymentsInsert = D1 (MetaData "DeploymentsInsert" "Network.Google.Resource.DeploymentManager.Deployments.Insert" "gogol-deploymentmanager-0.5.0-3URsaVYDWtcAmM8hYWwINC" False) (C1 (MetaCons "DeploymentsInsert'" PrefixI True) ((S1 (MetaSel (Just "_diCreatePolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DeploymentsInsertCreatePolicy) :*: S1 (MetaSel (Just "_diProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_diPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Deployment) :*: S1 (MetaSel (Just "_diPreview") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))
type Scopes DeploymentsInsert Source # 
Instance details

Defined in Network.Google.Resource.DeploymentManager.Deployments.Insert

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

Defined in Network.Google.Resource.DeploymentManager.Deployments.Insert

Request Lenses

diCreatePolicy :: Lens' DeploymentsInsert DeploymentsInsertCreatePolicy Source #

Sets the policy to use for creating new resources.

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.