UnitArgs class

The set of arguments for Unit. The set of arguments for Unit.

Constructors

UnitArgs({Input<Map<String, String>?>? annotations, Input<String?>? deletionPolicy, Input<Map<String, String>?>? labels, required Input<String> location, Input<UnitMaintenance?>? maintenance, Input<String?>? managementMode, Input<String?>? project, Input<String?>? tenant, required Input<String> unitId, Input<String?>? unitKind})
Creates a new UnitArgs. 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. 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 project The ID of the project in which the resource belongs. tenant Reference to the Saas Tenant resource this unit belongs to. This for unitId The ID value for the new unit. unitKind Reference to the UnitKind this Unit belongs to. Immutable once set.
const
UnitArgs.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
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
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
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
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
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

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