UnitState class

Input properties used for looking up and filtering Unit resources.

Constructors

UnitState({Input<Map<String, String>?>? annotations, Input<List<UnitCondition>?>? conditions, Input<String?>? createTime, Input<String?>? deletionPolicy, Input<List<UnitDependency>?>? dependencies, Input<List<UnitDependent>?>? dependents, Input<Map<String, String>?>? effectiveAnnotations, Input<Map<String, String>?>? effectiveLabels, Input<List<UnitInputVariable>?>? inputVariables, Input<Map<String, String>?>? labels, Input<String?>? location, Input<UnitMaintenance?>? maintenance, Input<String?>? managementMode, Input<String?>? name, Input<List<String>?>? ongoingOperations, Input<List<UnitOutputVariable>?>? outputVariables, Input<List<String>?>? pendingOperations, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<String?>? release, Input<List<String>?>? scheduledOperations, Input<String?>? state, Input<String?>? systemCleanupAt, Input<String?>? systemManagedState, Input<String?>? tenant, Input<String?>? uid, Input<String?>? unitId, Input<String?>? unitKind, Input<String?>? updateTime})
Creates a new UnitState. 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. dependencies Set of dependencies for this unit. Maximum 10. dependents List of Units that depend on this unit. Unit can only be deprovisioned if 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. inputVariables Indicates the current input variables deployed by the unit 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. maintenance Captures requested directives for performing future maintenance on the managementMode Indicates whether the Unit life cycle is controlled name Identifier. The resource name (full URI of the resource) following the standard naming ongoingOperations List of concurrent UnitOperations that are operating on this Unit. outputVariables Set of key/value pairs corresponding to output variables from execution of pendingOperations List of pending (wait to be executed) UnitOperations for this unit. project The ID of the project in which the resource belongs. pulumiLabels The combination of labels configured directly on the resource release The current Release object for this Unit. scheduledOperations List of scheduled UnitOperations for this unit. state Current lifecycle state of the resource (e.g. if it's being systemCleanupAt If set, indicates the time when the system will start removing the unit. systemManagedState Indicates the system managed state of the unit. tenant Reference to the Saas Tenant resource this unit belongs to. This for uid The unique identifier of the resource. UID is unique in the time unitId The ID value for the new unit. unitKind Reference to the UnitKind this Unit belongs to. Immutable once set. updateTime The timestamp when the resource was last updated. Any
const
UnitState.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<UnitCondition>?>?
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
dependencies → Input<List<UnitDependency>?>?
Set of dependencies for this unit. Maximum 10. Structure is documented below.
final
dependents → Input<List<UnitDependent>?>?
List of Units that depend on this unit. Unit can only be deprovisioned if this list is empty. Maximum 1000. Structure is documented below.
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
hashCode → int
The hash code for this object.
no setterinherited
inputVariables → Input<List<UnitInputVariable>?>?
Indicates the current input variables deployed by the unit Structure is documented below.
final
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
maintenance → Input<UnitMaintenance?>?
Captures requested directives for performing future maintenance on the unit. This includes a request for the unit to skip maintenance for a period of time and remain pinned to its current release as well as controls for postponing maintenance scheduled in future. Structure is documented below.
final
managementMode → Input<String?>?
Indicates whether the Unit life cycle is controlled by the user or by the system. Immutable once created. Possible values: MANAGEMENT_MODE_USER MANAGEMENT_MODE_SYSTEM
final
name → Input<String?>?
Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/units/{unit}"
final
ongoingOperations → Input<List<String>?>?
List of concurrent UnitOperations that are operating on this Unit.
final
outputVariables → Input<List<UnitOutputVariable>?>?
Set of key/value pairs corresponding to output variables from execution of actuation templates. The variables are declared in actuation configs (e.g in helm chart or terraform) and the values are fetched and returned by the actuation engine upon completion of execution. Structure is documented below.
final
pendingOperations → Input<List<String>?>?
List of pending (wait to be executed) UnitOperations for this unit.
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
release → Input<String?>?
The current Release object for this Unit.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scheduledOperations → Input<List<String>?>?
List of scheduled UnitOperations for this unit.
final
state → Input<String?>?
Current lifecycle state of the resource (e.g. if it's being created or ready to use). Possible values: UNIT_STATE_NOT_PROVISIONED UNIT_STATE_PROVISIONING UNIT_STATE_UPDATING UNIT_STATE_DEPROVISIONING UNIT_STATE_READY UNIT_STATE_ERROR
final
systemCleanupAt → Input<String?>?
If set, indicates the time when the system will start removing the unit.
final
systemManagedState → Input<String?>?
Indicates the system managed state of the unit. Possible values: SYSTEM_MANAGED_STATE_ACTIVE SYSTEM_MANAGED_STATE_INACTIVE SYSTEM_MANAGED_STATE_DECOMMISSIONED
final
tenant → Input<String?>?
Reference to the Saas Tenant resource this unit belongs to. This for example informs the maintenance policies to use for scheduling future updates on a unit. (optional and immutable once created)
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
unitId → Input<String?>?
The ID value for the new unit.
final
unitKind → Input<String?>?
Reference to the UnitKind this Unit belongs to. Immutable once set.
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

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