Unit class

A unit of deployment that has its lifecycle via a CRUD API using an actuation engine under the hood (e.g. based on Terraform, Helm or a custom implementation provided by a service producer).

A building block of a SaaS Tenant.

Constructors

Unit({Map<String, String>? annotations, List<UnitCondition>? conditions, String? createTime, List<UnitDependency>? dependencies, List<UnitDependency>? dependents, String? etag, List<String>? flagRevisions, List<UnitVariable>? inputVariables, Map<String, String>? labels, MaintenanceSettings? maintenance, String? managementMode, String? name, List<String>? ongoingOperations, List<UnitVariable>? outputVariables, List<String>? pendingOperations, String? release, bool? satisfiesPzi, bool? satisfiesPzs, List<String>? scheduledOperations, String? state, String? systemCleanupAt, String? systemManagedState, String? tenant, String? uid, String? unitKind, String? updateTime})
Unit.fromJson(Map json_)

Properties

annotations 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.
getter/setter pair
conditions List<UnitCondition>?
A set of conditions which indicate the various conditions this resource can have.
getter/setter pair
createTime String?
The timestamp when the resource was created.
getter/setter pair
dependencies List<UnitDependency>?
Set of dependencies for this unit.
getter/setter pair
dependents List<UnitDependency>?
List of Units that depend on this unit.
getter/setter pair
etag String?
An opaque value that uniquely identifies a version or generation of a resource.
getter/setter pair
flagRevisions List<String>?
Flag revisions used by this Unit.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inputVariables List<UnitVariable>?
Indicates the current input variables deployed by the unit
getter/setter pair
labels Map<String, String>?
The labels on the resource, which can be used for categorization.
getter/setter pair
maintenance MaintenanceSettings?
Captures requested directives for performing future maintenance on the unit.
getter/setter pair
managementMode String?
Indicates whether the Unit life cycle is controlled by the user or by the system.
getter/setter pair
name String?
Identifier.
getter/setter pair
ongoingOperations List<String>?
List of concurrent UnitOperations that are operating on this Unit.
getter/setter pair
outputVariables List<UnitVariable>?
Set of key/value pairs corresponding to output variables from execution of actuation templates.
getter/setter pair
pendingOperations List<String>?
List of pending (wait to be executed) UnitOperations for this unit.
getter/setter pair
release String?
The current Release object for this Unit.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
satisfiesPzi bool?
Reserved for future use.
getter/setter pair
satisfiesPzs bool?
Indicates whether the resource location satisfies Zone Separation constraints.
getter/setter pair
scheduledOperations List<String>?
List of scheduled UnitOperations for this unit.
getter/setter pair
state String?
Current lifecycle state of the resource (e.g. if it's being created or ready to use).
getter/setter pair
systemCleanupAt String?
If set, indicates the time when the system will start removing the unit.
getter/setter pair
systemManagedState String?
Indicates the system managed state of the unit.
getter/setter pair
tenant String?
Reference to the Saas Tenant resource this unit belongs to.
getter/setter pair
uid String?
The unique identifier of the resource.
getter/setter pair
unitKind String?
Reference to the UnitKind this Unit belongs to.
getter/setter pair
updateTime String?
The timestamp when the resource was last updated.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited