UnitOperationState class

Input properties used for looking up and filtering UnitOperation resources.

Constructors

UnitOperationState({Input<Map<String, String>?>? annotations, Input<List<UnitOperationCondition>?>? conditions, Input<String?>? createTime, Input<String?>? deletionPolicy, Input<Map<String, dynamic>?>? deprovision, Input<Map<String, String>?>? effectiveAnnotations, Input<Map<String, String>?>? effectiveLabels, Input<String?>? engineState, Input<String?>? errorCategory, Input<String?>? etag, Input<Map<String, String>?>? labels, Input<String?>? location, Input<String?>? name, Input<String?>? project, Input<UnitOperationProvision?>? provision, Input<Map<String, String>?>? pulumiLabels, Input<String?>? state, Input<String?>? uid, Input<String?>? unit, Input<String?>? unitOperationId, Input<String?>? updateTime, Input<UnitOperationUpgrade?>? upgrade, Input<bool?>? waitForCompletion})
Creates a new UnitOperationState. annotations Annotations is an unstructured key-value map stored with a resource that conditions A set of conditions which indicate the various conditions this resource can createTime The timestamp when the resource was created. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. deprovision Deprovision is the unit operation that deprovision the underlying 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. engineState The engine state for on-going errorCategory Possible values: etag An opaque value that uniquely identifies a version or labels The labels on the resource, which can be used for categorization. location Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. name Identifier. The resource name (full URI of the resource) following the standard naming project The ID of the project in which the resource belongs. provision Provision is the unit operation that provision the underlying resources pulumiLabels The combination of labels configured directly on the resource state UnitOperationState describes the current state of the unit operation. uid The unique identifier of the resource. UID is unique in the time unit The Unit a given UnitOperation will act upon. unitOperationId The ID value for the new unit operation. updateTime The timestamp when the resource was last updated. Any upgrade Upgrade is the unit operation that upgrades a provisioned unit, which may waitForCompletion If true, wait for the UnitOperation to reach a terminal state (SUCCEEDED, FAILED, CANCELLED)
const
UnitOperationState.fromMap(Map<String, dynamic> map)
factory

Properties

annotations → Input<Map<String, String>?>?
Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations 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
conditions → Input<List<UnitOperationCondition>?>?
A set of conditions which indicate the various conditions this resource can have. Structure is documented below.
final
createTime → Input<String?>?
The timestamp when the resource 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
deprovision → Input<Map<String, dynamic>?>?
Deprovision is the unit operation that deprovision the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned.
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
engineState → Input<String?>?
The engine state for on-going deployment engine operation(s). This field is opaque for external usage.
final
errorCategory → Input<String?>?
Possible values: NOT_APPLICABLE FATAL RETRIABLE IGNORABLE STANDARD
final
etag → Input<String?>?
An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>?>?
The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels. 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
location → Input<String?>?
Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
final
name → Input<String?>?
Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/unitOperations/{unitOperation}"
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
provision → Input<UnitOperationProvision?>?
Provision is the unit operation that provision the underlying resources represented by a Unit. Can only execute if the Unit is not currently provisioned. Structure is documented below.
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
state → Input<String?>?
UnitOperationState describes the current state of the unit operation. Possible values: UNIT_OPERATION_STATE_UNKNOWN UNIT_OPERATION_STATE_PENDING UNIT_OPERATION_STATE_SCHEDULED UNIT_OPERATION_STATE_RUNNING UNIT_OPERATION_STATE_SUCCEEDED UNIT_OPERATION_STATE_FAILED UNIT_OPERATION_STATE_CANCELLED
final
uid → Input<String?>?
The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
final
unit → Input<String?>?
The Unit a given UnitOperation will act upon.
final
unitOperationId → Input<String?>?
The ID value for the new unit operation.
final
updateTime → Input<String?>?
The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
final
upgrade → Input<UnitOperationUpgrade?>?
Upgrade is the unit operation that upgrades a provisioned unit, which may also include the underlying resources represented by a Unit. Can only execute if the Unit is currently provisioned. Structure is documented below.
final
waitForCompletion → Input<bool?>?
If true, wait for the UnitOperation to reach a terminal state (SUCCEEDED, FAILED, CANCELLED) before completing the apply.
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