WorkerPoolState class

Input properties used for looking up and filtering WorkerPool resources.

Constructors

WorkerPoolState({Input<Map<String, String>?>? annotations, Input<WorkerPoolBinaryAuthorization?>? binaryAuthorization, Input<String?>? client, Input<String?>? clientVersion, Input<List<WorkerPoolCondition>?>? conditions, Input<String?>? createTime, Input<String?>? creator, Input<List<String>?>? customAudiences, Input<String?>? deleteTime, Input<String?>? deletionPolicy, Input<bool?>? deletionProtection, Input<String?>? description, Input<Map<String, String>?>? effectiveAnnotations, Input<Map<String, String>?>? effectiveLabels, Input<String?>? etag, Input<String?>? expireTime, Input<String?>? generation, Input<List<WorkerPoolInstanceSplitStatus>?>? instanceSplitStatuses, Input<List<WorkerPoolInstanceSplit>?>? instanceSplits, Input<Map<String, String>?>? labels, Input<String?>? lastModifier, Input<String?>? latestCreatedRevision, Input<String?>? latestReadyRevision, Input<String?>? launchStage, Input<String?>? location, Input<String?>? name, Input<String?>? observedGeneration, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<bool?>? reconciling, Input<WorkerPoolScaling?>? scaling, Input<WorkerPoolTemplate?>? template, Input<List<WorkerPoolTerminalCondition>?>? terminalConditions, Input<String?>? uid, Input<String?>? updateTime})
Creates a new WorkerPoolState. annotations Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. binaryAuthorization Settings for the Binary Authorization feature. client Arbitrary identifier for the API client. clientVersion Arbitrary version identifier for the API client. conditions The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the WorkerPool does not reach its Serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run. createTime The creation time. creator Email address of the authenticated creator. customAudiences (Optional, Deprecated) deleteTime The deletion time. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. deletionProtection Whether Terraform will be prevented from destroying the service. Defaults to true. description User-provided description of the WorkerPool. This field currently has a 512-character limit. effectiveAnnotations All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. etag A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates. expireTime For a deleted resource, the time after which it will be permanently deleted. generation A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer. instanceSplitStatuses Detailed status information for corresponding instance splits. See comments in reconciling for additional information on reconciliation process in Cloud Run. instanceSplits Specifies how to distribute instances over a collection of Revisions belonging to the WorkerPool. If instance split is empty or not provided, defaults to 100% instances assigned to the latest Ready Revision. labels Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, lastModifier Email address of the last authenticated modifier. latestCreatedRevision Name of the last created revision. See comments in reconciling for additional information on reconciliation process in Cloud Run. latestReadyRevision Name of the latest revision that is serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run. launchStage The launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA. location The location of the cloud run worker pool name Name of the WorkerPool. observedGeneration The generation of this WorkerPool currently serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer. project The ID of the project in which the resource belongs. pulumiLabels The combination of labels configured directly on the resource reconciling Returns true if the WorkerPool is currently being acted upon by the system to bring it into the desired state. scaling Scaling settings that apply to the worker pool. template The template used to create revisions for this WorkerPool. terminalConditions The Condition of this WorkerPool, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run. uid Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted. updateTime The last-modified time.
const
WorkerPoolState.fromMap(Map<String, dynamic> map)
factory

Properties

annotations → Input<Map<String, String>?>?
Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects. Cloud Run API v2 does not support annotations with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected in new resources. All system annotations in v1 now have a corresponding field in v2 WorkerPool. This field follows Kubernetes annotations' namespacing, limits, and rules. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effectiveAnnotations for all of the annotations present on the resource.
final
binaryAuthorization → Input<WorkerPoolBinaryAuthorization?>?
Settings for the Binary Authorization feature. Structure is documented below.
final
client → Input<String?>?
Arbitrary identifier for the API client.
final
clientVersion → Input<String?>?
Arbitrary version identifier for the API client.
final
conditions → Input<List<WorkerPoolCondition>?>?
The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the WorkerPool does not reach its Serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run. Structure is documented below.
final
createTime → Input<String?>?
The creation time.
final
creator → Input<String?>?
Email address of the authenticated creator.
final
customAudiences → Input<List<String>?>?
(Optional, Deprecated) One or more custom audiences that you want this worker pool to support. Specify each custom audience as the full URL in a string. The custom audiences are encoded in the token and used to authenticate requests. For more information, see https://cloud.google.com/run/docs/configuring/custom-audiences.
final
deleteTime → Input<String?>?
The deletion time.
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
deletionProtection → Input<bool?>?
Whether Terraform will be prevented from destroying the service. Defaults to true. When aterraform destroy or pulumi up would delete the service, the command will fail if this field is not set to false in Terraform state. When the field is set to true or unset in Terraform state, a pulumi up or terraform destroy that would delete the WorkerPool will fail. When the field is set to false, deleting the WorkerPool is allowed.
final
description → Input<String?>?
User-provided description of the WorkerPool. This field currently has a 512-character limit.
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
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
etag → Input<String?>?
A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
final
expireTime → Input<String?>?
For a deleted resource, the time after which it will be permanently deleted.
final
generation → Input<String?>?
A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
final
hashCode → int
The hash code for this object.
no setterinherited
instanceSplits → Input<List<WorkerPoolInstanceSplit>?>?
Specifies how to distribute instances over a collection of Revisions belonging to the WorkerPool. If instance split is empty or not provided, defaults to 100% instances assigned to the latest Ready Revision. Structure is documented below.
final
instanceSplitStatuses → Input<List<WorkerPoolInstanceSplitStatus>?>?
Detailed status information for corresponding instance splits. See comments in reconciling for additional information on reconciliation process in Cloud Run. Structure is documented below.
final
labels → Input<Map<String, String>?>?
Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://docs.cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels. Cloud Run API v2 does not support labels with run.googleapis.com, cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev namespaces, and they will be rejected. All system labels in v1 now have a corresponding field in v2 WorkerPool. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
final
lastModifier → Input<String?>?
Email address of the last authenticated modifier.
final
latestCreatedRevision → Input<String?>?
Name of the last created revision. See comments in reconciling for additional information on reconciliation process in Cloud Run.
final
latestReadyRevision → Input<String?>?
Name of the latest revision that is serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run.
final
launchStage → Input<String?>?
The launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output. Possible values are: UNIMPLEMENTED, PRELAUNCH, EARLY_ACCESS, ALPHA, BETA, GA, DEPRECATED.
final
location → Input<String?>?
The location of the cloud run worker pool
final
name → Input<String?>?
Name of the WorkerPool.
final
observedGeneration → Input<String?>?
The generation of this WorkerPool currently serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
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
reconciling → Input<bool?>?
Returns true if the WorkerPool is currently being acted upon by the system to bring it into the desired state. When a new WorkerPool is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the WorkerPool to the desired serving state. This process is called reconciliation. While reconciliation is in process, observedGeneration, latest_ready_revison, trafficStatuses, and uri will have transient values that might mismatch the intended state: Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the WorkerPool, or there was an error, and reconciliation failed. This state can be found in terminalCondition.state. If reconciliation succeeded, the following fields will match: traffic and trafficStatuses, observedGeneration and generation, latestReadyRevision and latestCreatedRevision. If reconciliation failed, trafficStatuses, observedGeneration, and latestReadyRevision will have the state of the last serving revision, or empty for newly created WorkerPools. Additional information on the failure can be found in terminalCondition and conditions.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scaling → Input<WorkerPoolScaling?>?
Scaling settings that apply to the worker pool. Structure is documented below.
final
template → Input<WorkerPoolTemplate?>?
The template used to create revisions for this WorkerPool. Structure is documented below.
final
terminalConditions → Input<List<WorkerPoolTerminalCondition>?>?
The Condition of this WorkerPool, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run. Structure is documented below.
final
uid → Input<String?>?
Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
final
updateTime → Input<String?>?
The last-modified time.
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