Class DeploymentArgs
Inherited Members
Namespace: Pulumi.Gcp.DeploymentManager
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class DeploymentArgs : ResourceArgs
Constructors
View SourceDeploymentArgs()
Declaration
public DeploymentArgs()
Properties
View SourceCreatePolicy
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> |
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> |
Description
Optional user-provided description of deployment.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Labels
Key-value pairs to apply to this labels. Structure is documented below.
Declaration
public InputList<DeploymentLabelArgs> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<DeploymentLabelArgs> |
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> |
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> |
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> |
Target
Parameters that define your deployment, including the deployment configuration and relevant templates. Structure is documented below.
Declaration
public Input<DeploymentTargetArgs> Target { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<DeploymentTargetArgs> |