Show / Hide Table of Contents

Class DeploymentState

Inheritance
System.Object
InputArgs
ResourceArgs
DeploymentState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.DeploymentManager
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class DeploymentState : ResourceArgs

Constructors

View Source

DeploymentState()

Declaration
public DeploymentState()

Properties

View Source

CreatePolicy

Set the policy to use for creating new resources. Only used on create and update. Valid values are CREATE_OR_ACQUIRE (default) or ACQUIRE. If set to ACQUIRE and resources do not already exist, the deployment will fail. Note that updating this field does not actually affect the deployment, just how it is updated.

Declaration
public Input<string> CreatePolicy { get; set; }
Property Value
Type Description
Input<System.String>
View Source

DeletePolicy

Set the policy to use for deleting new resources on update/delete. Valid values are DELETE (default) or ABANDON. If DELETE, resource is deleted after removal from Deployment Manager. If ABANDON, the resource is only removed from Deployment Manager and is not actually deleted. Note that updating this field does not actually change the deployment, just how it is updated.

Declaration
public Input<string> DeletePolicy { get; set; }
Property Value
Type Description
Input<System.String>
View Source

DeploymentId

Unique identifier for deployment. Output only.

Declaration
public Input<string> DeploymentId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Description

Optional user-provided description of deployment.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Labels

Key-value pairs to apply to this labels. Structure is documented below.

Declaration
public InputList<DeploymentLabelGetArgs> Labels { get; set; }
Property Value
Type Description
InputList<DeploymentLabelGetArgs>
View Source

Manifest

Output only. URL of the manifest representing the last manifest that was successfully deployed.

Declaration
public Input<string> Manifest { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Name

The name of the template to import, as declared in the YAML configuration.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Preview

If set to true, a deployment is created with "shell" resources that are not actually instantiated. This allows you to preview a deployment. It can be updated to false to actually deploy with real resources. ~>NOTE: Deployment Manager does not allow update of a deployment in preview (unless updating to preview=false). Thus, the provider will force-recreate deployments if either preview is updated to true or if other fields are updated while preview is true.

Declaration
public Input<bool> Preview { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Declaration
public Input<string> Project { get; set; }
Property Value
Type Description
Input<System.String>
View Source

SelfLink

Output only. Server defined URL for the resource.

Declaration
public Input<string> SelfLink { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Target

Parameters that define your deployment, including the deployment configuration and relevant templates. Structure is documented below.

Declaration
public Input<DeploymentTargetGetArgs> Target { get; set; }
Property Value
Type Description
Input<DeploymentTargetGetArgs>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.