gogol-deploymentmanager-0.4.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.Update

Contents

Description

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

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

Synopsis

REST Resource

type DeploymentsUpdateResource = "deploymentmanager" :> ("v2" :> ("projects" :> (Capture "project" Text :> ("global" :> ("deployments" :> (Capture "deployment" Text :> (QueryParam "createPolicy" DeploymentsUpdateCreatePolicy :> (QueryParam "deletePolicy" DeploymentsUpdateDeletePolicy :> (QueryParam "preview" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Deployment :> Put '[JSON] Operation))))))))))) Source #

A resource alias for deploymentmanager.deployments.update method which the DeploymentsUpdate request conforms to.

Creating a Request

deploymentsUpdate Source #

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

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

data DeploymentsUpdate Source #

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

See: deploymentsUpdate smart constructor.

Instances
Eq DeploymentsUpdate Source # 
Instance details

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

Data DeploymentsUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: DeploymentsUpdate -> Constr #

dataTypeOf :: DeploymentsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DeploymentsUpdate Source # 
Instance details

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

Generic DeploymentsUpdate Source # 
Instance details

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

Associated Types

type Rep DeploymentsUpdate :: Type -> Type #

GoogleRequest DeploymentsUpdate Source # 
Instance details

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

Associated Types

type Rs DeploymentsUpdate :: Type #

type Scopes DeploymentsUpdate :: [Symbol] #

type Rep DeploymentsUpdate Source # 
Instance details

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

type Rep DeploymentsUpdate = D1 (MetaData "DeploymentsUpdate" "Network.Google.Resource.DeploymentManager.Deployments.Update" "gogol-deploymentmanager-0.4.0-1FvxHucO1CjAgqyDzotDSh" False) (C1 (MetaCons "DeploymentsUpdate'" PrefixI True) ((S1 (MetaSel (Just "_duCreatePolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DeploymentsUpdateCreatePolicy) :*: (S1 (MetaSel (Just "_duProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_duPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Deployment))) :*: (S1 (MetaSel (Just "_duDeletePolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DeploymentsUpdateDeletePolicy) :*: (S1 (MetaSel (Just "_duPreview") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool) :*: S1 (MetaSel (Just "_duDeployment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes DeploymentsUpdate Source # 
Instance details

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

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

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

Request Lenses

duCreatePolicy :: Lens' DeploymentsUpdate DeploymentsUpdateCreatePolicy Source #

Sets the policy to use for creating new resources.

duProject :: Lens' DeploymentsUpdate Text Source #

The project ID for this request.

duPayload :: Lens' DeploymentsUpdate Deployment Source #

Multipart request metadata.

duDeletePolicy :: Lens' DeploymentsUpdate DeploymentsUpdateDeletePolicy Source #

Sets the policy to use for deleting resources.

duPreview :: Lens' DeploymentsUpdate Bool Source #

If set to true, updates the deployment and creates and updates the "shell" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the update() or you can cancelPreview() to remove 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.

duDeployment :: Lens' DeploymentsUpdate Text Source #

The name of the deployment for this request.