RegionResizeRequestArgs class

The set of arguments for RegionResizeRequest. The set of arguments for RegionResizeRequest.

Constructors

RegionResizeRequestArgs({Input<String?>? deletionPolicy, Input<String?>? description, required Input<String> instanceGroupManager, Input<String?>? name, Input<String?>? project, Input<String?>? region, Input<RegionResizeRequestRequestedRunDuration?>? requestedRunDuration, required Input<int> resizeBy})
Creates a new RegionResizeRequestArgs. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description An optional description of this resize-request. instanceGroupManager The reference of the regional instance group manager this ResizeRequest is a part of. name The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035. project The ID of the project in which the resource belongs. region The reference of the compute region scoping this request. If it is not provided, the provider region is used. requestedRunDuration Requested run duration for instances that will be created by this request. At the end of the run duration instances will be deleted. resizeBy The number of instances to be created by this resize request. The group's target size will be increased by this number.
const
RegionResizeRequestArgs.fromMap(Map<String, dynamic> map)
factory

Properties

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
description → Input<String?>?
An optional description of this resize-request.
final
hashCode → int
The hash code for this object.
no setterinherited
instanceGroupManager → Input<String>
The reference of the regional instance group manager this ResizeRequest is a part of.
final
name → Input<String?>?
The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
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
region → Input<String?>?
The reference of the compute region scoping this request. If it is not provided, the provider region is used.
final
requestedRunDuration → Input<RegionResizeRequestRequestedRunDuration?>?
Requested run duration for instances that will be created by this request. At the end of the run duration instances will be deleted. Structure is documented below.
final
resizeBy → Input<int>
The number of instances to be created by this resize request. The group's target size will be increased by this number.
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