BatchState class
Input properties used for looking up and filtering Batch resources.
Constructors
-
BatchState({Input<
String?> ? batchId, Input<String?> ? createTime, Input<String?> ? creator, Input<String?> ? deletionPolicy, Input<Map< ? effectiveLabels, Input<String, String> ?>BatchEnvironmentConfig?> ? environmentConfig, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<String?> ? operation, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>BatchPysparkBatch?> ? pysparkBatch, Input<BatchRuntimeConfig?> ? runtimeConfig, Input<List< ? runtimeInfos, Input<BatchRuntimeInfo> ?>BatchSparkBatch?> ? sparkBatch, Input<BatchSparkRBatch?> ? sparkRBatch, Input<BatchSparkSqlBatch?> ? sparkSqlBatch, Input<String?> ? state, Input<List< ? stateHistories, Input<BatchStateHistory> ?>String?> ? stateMessage, Input<String?> ? stateTime, Input<String?> ? uuid}) -
Creates a new BatchState.
batchIdThe ID to use for the batch, which will become the final component of the batch's resource name.createTimeThe time when the batch was created.creatorThe email address of the user who created the batch.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 Pulumi, other clients and services.environmentConfigEnvironment configuration for the batch execution.labelsThe labels to associate with this batch.locationThe location in which the batch will be created in.nameThe resource name of the batch.operationThe resource name of the operation associated with this batch.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcepysparkBatchPySpark batch config.runtimeConfigRuntime configuration for the batch execution.runtimeInfosRuntime information about batch execution.sparkBatchSpark batch config.sparkRBatchSparkR batch config.sparkSqlBatchSpark SQL batch config.state(Output)stateHistoriesHistorical state information for the batch.stateMessage(Output)stateTimeBatch state details, such as a failure description if the state is FAILED.uuidA batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.const -
BatchState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
batchId
→ Input<
String?> ? -
The ID to use for the batch, which will become the final component of the batch's resource name.
This value must be 4-63 characters. Valid characters are /
0-9-/.final -
createTime
→ Input<
String?> ? -
The time when the batch was created.
final
-
creator
→ Input<
String?> ? -
The email address of the user who created the batch.
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 Pulumi, other clients and services.
final
-
environmentConfig
→ Input<
BatchEnvironmentConfig?> ? -
Environment configuration for the batch execution.
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> ?> -
The labels to associate with this batch.
final
-
location
→ Input<
String?> ? -
The location in which the batch will be created in.
final
-
name
→ Input<
String?> ? -
The resource name of the batch.
final
-
operation
→ Input<
String?> ? -
The resource name of the operation associated with this batch.
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
-
pysparkBatch
→ Input<
BatchPysparkBatch?> ? -
PySpark batch config.
Structure is documented below.
final
-
runtimeConfig
→ Input<
BatchRuntimeConfig?> ? -
Runtime configuration for the batch execution.
Structure is documented below.
final
-
runtimeInfos
→ Input<
List< ?BatchRuntimeInfo> ?> -
Runtime information about batch execution.
Structure is documented below.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sparkBatch
→ Input<
BatchSparkBatch?> ? -
Spark batch config.
Structure is documented below.
final
-
sparkRBatch
→ Input<
BatchSparkRBatch?> ? -
SparkR batch config.
Structure is documented below.
final
-
sparkSqlBatch
→ Input<
BatchSparkSqlBatch?> ? -
Spark SQL batch config.
Structure is documented below.
final
-
state
→ Input<
String?> ? -
(Output)
The state of the batch at this point in history. For possible values, see the API documentation.
final
-
stateHistories
→ Input<
List< ?BatchStateHistory> ?> -
Historical state information for the batch.
Structure is documented below.
final
-
stateMessage
→ Input<
String?> ? -
(Output)
Details about the state at this point in history.
final
-
stateTime
→ Input<
String?> ? -
Batch state details, such as a failure description if the state is FAILED.
final
-
uuid
→ Input<
String?> ? -
A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.
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