WorkflowTemplateState class
Input properties used for looking up and filtering WorkflowTemplate resources.
Constructors
-
WorkflowTemplateState({Input<
String?> ? createTime, Input<String?> ? dagTimeout, Input<String?> ? deletionPolicy, Input<Map< ? effectiveLabels, Input<String, String> ?>WorkflowTemplateEncryptionConfig?> ? encryptionConfig, Input<List< ? jobs, Input<WorkflowTemplateJob> ?>Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<List< ? parameters, Input<WorkflowTemplateParameter> ?>WorkflowTemplatePlacement?> ? placement, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? updateTime, Input<int?> ? version}) -
Creates a new WorkflowTemplateState.
createTimeOutput only. The time template was created.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".effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services.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 resourcepulumiLabelsThe combination of labels configured directly on the resource and default labels configured on the provider.updateTimeOutput only. The time template was last updated.versionOutput only. The current version of this workflow template.const -
WorkflowTemplateState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
createTime
→ Input<
String?> ? -
Output only. The time template was created.
final
-
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
-
effectiveLabels
→ Input<
Map< ?String, String> ?> -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services.
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
-
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource and default labels configured on the provider.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
updateTime
→ Input<
String?> ? -
Output only. The time template was last updated.
final
-
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