DeploymentArgs class

The set of arguments for Deployment. The set of arguments for Deployment.

Constructors

DeploymentArgs({Input<String?>? createPolicy, Input<String?>? deletePolicy, Input<String?>? deletionPolicy, Input<String?>? description, Input<List<DeploymentLabel>?>? labels, Input<String?>? name, Input<bool?>? preview, Input<String?>? project, required Input<DeploymentTarget> target})
Creates a new DeploymentArgs. createPolicy Set the policy to use for creating new resources. Only used on deletePolicy Set the policy to use for deleting new resources on update/delete. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description Optional user-provided description of deployment. labels Key-value pairs to apply to this labels. name Unique name for the deployment preview If set to true, a deployment is created with "shell" resources project The ID of the project in which the resource belongs. target Parameters that define your deployment, including the deployment
const
DeploymentArgs.fromMap(Map<String, dynamic> map)
factory

Properties

createPolicy → Input<String?>?
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. Default value is CREATE_OR_ACQUIRE. Possible values are: ACQUIRE, CREATE_OR_ACQUIRE.
final
deletePolicy → Input<String?>?
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. Default value is DELETE. Possible values are: ABANDON, DELETE.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
Optional user-provided description of deployment.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<List<DeploymentLabel>?>?
Key-value pairs to apply to this labels. Structure is documented below.
final
name → Input<String?>?
Unique name for the deployment
final
preview → Input<bool?>?
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.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
target → Input<DeploymentTarget>
Parameters that define your deployment, including the deployment configuration and relevant templates. Structure is documented below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited