DeploymentArgs class

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

Constructors

DeploymentArgs({Input<String>? createPolicy, Input<Credential>? credential, Input<String>? description, Input<String>? id, Input<List<DeploymentLabelEntry>>? labels, Input<String>? name, Input<bool>? preview, Input<String>? project, Input<TargetConfiguration>? target})
Creates a new DeploymentArgs. createPolicy Sets the policy to use for creating new resources. credential User provided default credential for the deployment. description An optional user-provided description of the deployment. id Optional. labels Map of One Platform labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. name Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. preview 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. project Optional. target Input Only The parameters that define your deployment, including the deployment configuration and relevant templates.
const
DeploymentArgs.fromMap(Map<String, dynamic> map)
factory

Properties

createPolicy → Input<String>?
Sets the policy to use for creating new resources.
final
credential → Input<Credential>?
User provided default credential for the deployment.
final
description → Input<String>?
An optional user-provided description of the deployment.
final
hashCode → int
The hash code for this object.
no setterinherited
id → Input<String>?
final
labels → Input<List<DeploymentLabelEntry>>?
Map of One Platform labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?.
final
name → Input<String>?
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
final
preview → Input<bool>?
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.
final
project → Input<String>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
target → Input<TargetConfiguration>?
Input Only The parameters that define your deployment, including the deployment configuration and relevant templates.
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