WorkerPoolState class
Input properties used for looking up and filtering WorkerPool resources.
Constructors
-
WorkerPoolState({Input<
Map< ? annotations, Input<String, String> ?>String?> ? createTime, Input<String?> ? deleteTime, Input<String?> ? deletionPolicy, Input<String?> ? displayName, Input<Map< ? effectiveAnnotations, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<WorkerPoolNetworkConfig?> ? networkConfig, Input<WorkerPoolPrivateServiceConnect?> ? privateServiceConnect, Input<String?> ? project, Input<String?> ? state, Input<String?> ? uid, Input<String?> ? updateTime, Input<WorkerPoolWorkerConfig?> ? workerConfig}) -
Creates a new WorkerPoolState.
annotationsUser specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.createTimeOutput only. Time at which the request to create theWorkerPoolwas received.deleteTimeOutput only. Time at which the request to delete theWorkerPoolwas received.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to "DELETE".displayNameA user-specified, human-readable name for theWorkerPool. If provided, this value must be 1-63 characters.effectiveAnnotationsAll of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.locationThe location for the resourcenameUser-defined name of theWorkerPool.networkConfigNetwork configuration for theWorkerPool. Structure is documented below.privateServiceConnectPrivate Service Connect configuration for the pool.projectThe project for the resourcestateOutput only. WorkerPool state. Possible values: STATE_UNSPECIFIED, PENDING, APPROVED, REJECTED, CANCELLEDuidOutput only. A unique identifier for theWorkerPool.updateTimeOutput only. Time at which the request to update theWorkerPoolwas received.workerConfigConfiguration to be used for a creating workers in theWorkerPool. Structure is documented below.const -
WorkerPoolState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
annotations
→ Input<
Map< ?String, String> ?> -
User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
final
-
createTime
→ Input<
String?> ? -
Output only. Time at which the request to create the
WorkerPoolwas received.final -
deleteTime
→ Input<
String?> ? -
Output only. Time at which the request to delete the
WorkerPoolwas received.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
-
displayName
→ Input<
String?> ? -
A user-specified, human-readable name for the
WorkerPool. If provided, this value must be 1-63 characters.final -
effectiveAnnotations
→ Input<
Map< ?String, String> ?> -
All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String?> ? -
The location for the resource
final
-
name
→ Input<
String?> ? -
User-defined name of the
WorkerPool.final -
networkConfig
→ Input<
WorkerPoolNetworkConfig?> ? -
Network configuration for the
WorkerPool. Structure is documented below.final -
privateServiceConnect
→ Input<
WorkerPoolPrivateServiceConnect?> ? -
Private Service Connect configuration for the pool.
final
-
project
→ Input<
String?> ? -
The project for the resource
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ Input<
String?> ? -
Output only. WorkerPool state. Possible values: STATE_UNSPECIFIED, PENDING, APPROVED, REJECTED, CANCELLED
final
-
uid
→ Input<
String?> ? -
Output only. A unique identifier for the
WorkerPool.final -
updateTime
→ Input<
String?> ? -
Output only. Time at which the request to update the
WorkerPoolwas received.final -
workerConfig
→ Input<
WorkerPoolWorkerConfig?> ? -
Configuration to be used for a creating workers in the
WorkerPool. Structure is documented below.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