UnitOperationArgs class

The set of arguments for UnitOperation. The set of arguments for UnitOperation.

Constructors

UnitOperationArgs({Input<Map<String, String>?>? annotations, Input<String?>? deletionPolicy, Input<Map<String, dynamic>?>? deprovision, Input<Map<String, String>?>? labels, required Input<String> location, Input<String?>? project, Input<UnitOperationProvision?>? provision, required Input<String> unit, required Input<String> unitOperationId, Input<UnitOperationUpgrade?>? upgrade, Input<bool?>? waitForCompletion})
Creates a new UnitOperationArgs. annotations Annotations is an unstructured key-value map stored with a resource that deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. deprovision Deprovision is the unit operation that deprovision the underlying 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. project The ID of the project in which the resource belongs. provision Provision is the unit operation that provision the underlying resources unit The Unit a given UnitOperation will act upon. unitOperationId The ID value for the new unit operation. 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
UnitOperationArgs.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
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
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
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
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unit → Input<String>
The Unit a given UnitOperation will act upon.
final
unitOperationId → Input<String>
The ID value for the new unit operation.
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