ReservationAssignmentArgs class

The set of arguments for ReservationAssignment. The set of arguments for ReservationAssignment.

Constructors

ReservationAssignmentArgs({required Input<String> assignee, Input<String?>? deletionPolicy, required Input<String> jobType, Input<String?>? location, Input<String?>? principal, Input<String?>? project, required Input<String> reservation})
Creates a new ReservationAssignmentArgs. assignee The resource which will use the reservation. E.g. projects/myproject, folders/123, organizations/456. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. jobType Types of job, which could be specified when using the reservation. Possible values: JOB_TYPE_UNSPECIFIED, PIPELINE, QUERY, CONTINUOUS location The location for the resource principal 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: project The ID of the project in which the resource belongs. reservation The reservation for the resource
const
ReservationAssignmentArgs.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
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

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