ReservationAssignmentState class
Input properties used for looking up and filtering ReservationAssignment resources.
Constructors
-
ReservationAssignmentState({Input<
String?> ? assignee, Input<String?> ? deletionPolicy, Input<String?> ? jobType, Input<String?> ? location, Input<String?> ? name, Input<String?> ? principal, Input<String?> ? project, Input<String?> ? reservation, Input<String?> ? state}) -
Creates a new ReservationAssignmentState.
assigneeThe resource which will use the reservation. E.g. projects/myproject, folders/123, organizations/456.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.jobTypeTypes of job, which could be specified when using the reservation. Possible values: JOB_TYPE_UNSPECIFIED, PIPELINE, QUERY, CONTINUOUSlocationThe location for the resourcenameOutput only. The resource name of the assignment.principalOptional. Represents the principal for this assignment. If not empty, jobs run by this principal will utilize the associated reservation. Otherwise, jobs will fall back to using the reservation assigned to the project, folder, or organization (in that order). If no reservation is assigned at any of these levels, on-demand capacity will be used. The supported formats are:projectThe ID of the project in which the resource belongs.reservationThe reservation for the resourcestateAssignment will remain in PENDING state if no active capacity commitment is present. It will become ACTIVE when some capacity commitment becomes active.const -
ReservationAssignmentState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
assignee
→ Input<
String?> ? -
The resource which will use the reservation. E.g. projects/myproject, folders/123, organizations/456.
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
-
jobType
→ Input<
String?> ? -
Types of job, which could be specified when using the reservation. Possible values: JOB_TYPE_UNSPECIFIED, PIPELINE, QUERY, CONTINUOUS
final
-
location
→ Input<
String?> ? -
The location for the resource
final
-
name
→ Input<
String?> ? -
Output only. The resource name of the assignment.
final
-
principal
→ Input<
String?> ? -
Optional. Represents the principal for this assignment. If not empty, jobs run by this principal will utilize the associated reservation. Otherwise, jobs will fall back to using the reservation assigned to the project, folder, or organization (in that order). If no reservation is assigned at any of these levels, on-demand capacity will be used. The supported formats are:
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
-
reservation
→ Input<
String?> ? -
The reservation for the resource
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ Input<
String?> ? -
Assignment will remain in PENDING state if no active capacity commitment is present. It will become ACTIVE when some capacity commitment becomes active.
Possible values: STATE_UNSPECIFIED, PENDING, ACTIVE
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