TaskState class
Input properties used for looking up and filtering Task resources.
Constructors
-
TaskState({Input<
String?> ? createTime, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? displayName, Input<Map< ? effectiveLabels, Input<String, String> ?>TaskExecutionSpec?> ? executionSpec, Input<List< ? executionStatuses, Input<TaskExecutionStatus> ?>Map< ? labels, Input<String, String> ?>String?> ? lake, Input<String?> ? location, Input<String?> ? name, Input<TaskNotebook?> ? notebook, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>TaskSpark?> ? spark, Input<String?> ? state, Input<String?> ? taskId, Input<TaskTriggerSpec?> ? triggerSpec, Input<String?> ? uid, Input<String?> ? updateTime}) -
Creates a new TaskState.
createTimeThe time when the task was created.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionUser-provided description of the task.displayNameUser friendly display name.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.executionSpecConfiguration for the clusterexecutionStatusesConfiguration for the clusterlabelsUser-defined labels for the task.lakeThe lake in which the task will be created in.locationThe location in which the task will be created in.name(Output)notebookA service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcesparkA service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.state(Output)taskIdThe task Id of the task.triggerSpecConfiguration for the clusteruid(Output)updateTime(Output)const -
TaskState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
createTime
→ Input<
String?> ? -
The time when the task was created.
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?> ? -
User-provided description of the task.
final
-
displayName
→ Input<
String?> ? -
User friendly display name.
final
-
effectiveLabels
→ Input<
Map< ?String, String> ?> -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
-
executionSpec
→ Input<
TaskExecutionSpec?> ? -
Configuration for the cluster
Structure is documented below.
final
-
executionStatuses
→ Input<
List< ?TaskExecutionStatus> ?> -
Configuration for the cluster
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> ?> -
User-defined labels for the task.
final
-
lake
→ Input<
String?> ? -
The lake in which the task will be created in.
final
-
location
→ Input<
String?> ? -
The location in which the task will be created in.
final
-
name
→ Input<
String?> ? -
(Output)
The relative resource name of the job, of the form: projects/{project_number}/locations/{locationId}/lakes/{lakeId}/tasks/{taskId}/jobs/{jobId}.
final
-
notebook
→ Input<
TaskNotebook?> ? -
A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
Structure is documented below.
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
-
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
-
spark
→ Input<
TaskSpark?> ? -
A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
Structure is documented below.
final
-
state
→ Input<
String?> ? -
(Output)
Execution state for the job.
final
-
taskId
→ Input<
String?> ? -
The task Id of the task.
final
-
triggerSpec
→ Input<
TaskTriggerSpec?> ? -
Configuration for the cluster
Structure is documented below.
final
-
uid
→ Input<
String?> ? -
(Output)
System generated globally unique ID for the job.
final
-
updateTime
→ Input<
String?> ? -
(Output)
Last update time of the status.
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