WorkflowTemplateArgs class
The set of arguments for WorkflowTemplate. The set of arguments for WorkflowTemplate.
Constructors
-
WorkflowTemplateArgs({Input<
String?> ? dagTimeout, Input<String?> ? deletionPolicy, Input<WorkflowTemplateEncryptionConfig?> ? encryptionConfig, required Input<List< jobs, Input<WorkflowTemplateJob> >Map< ? labels, required Input<String, String> ?>String> location, Input<String?> ? name, Input<List< ? parameters, required Input<WorkflowTemplateParameter> ?>WorkflowTemplatePlacement> placement, Input<String?> ? project, Input<int?> ? version}) -
Creates a new WorkflowTemplateArgs.
dagTimeoutOptional. Timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration). The timeout duration must be from 10 minutes ("600s") to 24 hours ("86400s"). The timer begins when the first job is submitted. If the workflow is running at the end of the timeout period, any remaining jobs are cancelled, the workflow is ended, and if the workflow was running on a managed cluster, the cluster is deleted.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to "DELETE".encryptionConfigEncryption settings for encrypting workflow template job arguments. Structure is documented belowjobs(Required) The Directed Acyclic Graph of Jobs to submit. Structure is documented belowlabelsOptional. The labels to associate with this template. These labels will be propagated to all jobs and clusters created by the workflow instance. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a template.locationThe location for the resourcename(Required) The resource name of the workflow template, as described in https://docs.cloud.google.com/apis/design/resource_names. * Forprojects.regions.workflowTemplates, the resource name of the template has the following format:projects/{project_id}/regions/{region}/workflowTemplates/{template_id}* Forprojects.locations.workflowTemplates, the resource name of the template has the following format:projects/{project_id}/locations/{location}/workflowTemplates/{template_id}parametersOptional. Template parameters whose values are substituted into the template. Values for parameters must be provided when the template is instantiated.placement(Required) WorkflowTemplate scheduling information.projectThe project for the resourceversionOutput only. The current version of this workflow template.const -
WorkflowTemplateArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
dagTimeout
→ Input<
String?> ? -
Optional. Timeout duration for the DAG of jobs, expressed in seconds (see JSON representation of duration). The timeout duration must be from 10 minutes ("600s") to 24 hours ("86400s"). The timer begins when the first job is submitted. If the workflow is running at the end of the timeout period, any remaining jobs are cancelled, the workflow is ended, and if the workflow was running on a managed cluster, the cluster is deleted.
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
-
encryptionConfig
→ Input<
WorkflowTemplateEncryptionConfig?> ? -
Encryption settings for encrypting workflow template job arguments. Structure is documented below
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
jobs
→ Input<
List< WorkflowTemplateJob> > -
(Required) The Directed Acyclic Graph of Jobs to submit. Structure is documented below
final
-
labels
→ Input<
Map< ?String, String> ?> -
Optional. The labels to associate with this template. These labels will be propagated to all jobs and clusters created by the workflow instance. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a template.
final
-
location
→ Input<
String> -
The location for the resource
final
-
name
→ Input<
String?> ? -
(Required) The resource name of the workflow template, as described in https://docs.cloud.google.com/apis/design/resource_names. * For
projects.regions.workflowTemplates, the resource name of the template has the following format:projects/{project_id}/regions/{region}/workflowTemplates/{template_id}* Forprojects.locations.workflowTemplates, the resource name of the template has the following format:projects/{project_id}/locations/{location}/workflowTemplates/{template_id}final -
parameters
→ Input<
List< ?WorkflowTemplateParameter> ?> -
Optional. Template parameters whose values are substituted into the template. Values for parameters must be provided when the template is instantiated.
final
-
placement
→ Input<
WorkflowTemplatePlacement> -
(Required) WorkflowTemplate scheduling information.
final
-
project
→ Input<
String?> ? -
The project for the resource
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
version
→ Input<
int?> ? -
Output only. The current version of this workflow template.
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