Package com.pulumi.gcp.dataproc
Class WorkflowTemplateArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.dataproc.WorkflowTemplateArgs
-
public final class WorkflowTemplateArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorkflowTemplateArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static WorkflowTemplateArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static WorkflowTemplateArgs.Builder
builder()
static WorkflowTemplateArgs.Builder
builder(WorkflowTemplateArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
dagTimeout()
com.pulumi.core.Output<java.util.List<WorkflowTemplateJobArgs>>
jobs()
java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>>
labels()
com.pulumi.core.Output<java.lang.String>
location()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
name()
java.util.Optional<com.pulumi.core.Output<java.util.List<WorkflowTemplateParameterArgs>>>
parameters()
com.pulumi.core.Output<WorkflowTemplatePlacementArgs>
placement()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
project()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
version()
Deprecated.version is not useful as a configurable field, and will be removed in the future.
-
-
-
Field Detail
-
Empty
public static final WorkflowTemplateArgs Empty
-
-
Method Detail
-
dagTimeout
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> dagTimeout()
- Returns:
- (Beta only) Optional. Timeout duration for the DAG of jobs. You can use "s", "m", "h", and "d" suffixes for second, minute, hour, and day duration values, respectively. The timeout duration must be from 10 minutes ("10m") to 24 hours ("24h" or "1d"). 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 (/dataproc/docs/concepts/workflows/using-workflows#configuring_or_selecting_a_cluster), the cluster is deleted.
-
jobs
public com.pulumi.core.Output<java.util.List<WorkflowTemplateJobArgs>> jobs()
- Returns:
- Required. The Directed Acyclic Graph of Jobs to submit.
-
labels
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>> labels()
- Returns:
- 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 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a template.
-
location
public com.pulumi.core.Output<java.lang.String> location()
- Returns:
- The location for the resource
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- Output only. The resource name of the workflow template, as described in https://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}` * For `projects.locations.workflowTemplates`, the resource name of the template has the following format: `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}`
-
parameters
public java.util.Optional<com.pulumi.core.Output<java.util.List<WorkflowTemplateParameterArgs>>> parameters()
- Returns:
- Template parameters whose values are substituted into the template. Values for parameters must be provided when the template is instantiated.
-
placement
public com.pulumi.core.Output<WorkflowTemplatePlacementArgs> placement()
- Returns:
- Required. WorkflowTemplate scheduling information.
-
project
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
- Returns:
- The project for the resource
-
version
@Deprecated public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> version()
Deprecated.version is not useful as a configurable field, and will be removed in the future.- Returns:
- Used to perform a consistent read-modify-write. This field should be left blank for a `CreateWorkflowTemplate` request. It is required for an `UpdateWorkflowTemplate` request, and must match the current server version. A typical update template flow would fetch the current template with a `GetWorkflowTemplate` request, which will return the current template with the `version` field filled in with the current server version. The user updates other fields in the template, then returns it as part of the `UpdateWorkflowTemplate` request.
-
builder
public static WorkflowTemplateArgs.Builder builder()
-
builder
public static WorkflowTemplateArgs.Builder builder(WorkflowTemplateArgs defaults)
-
-