TargetPoolArgs class

The set of arguments for TargetPool. The set of arguments for TargetPool.

Constructors

TargetPoolArgs({Input<String?>? backupPool, Input<String?>? deletionPolicy, Input<String?>? description, Input<double?>? failoverRatio, Input<String?>? healthChecks, Input<List<String>?>? instances, Input<String?>? name, Input<String?>? project, Input<String?>? region, Input<String?>? securityPolicy, Input<String?>? sessionAffinity})
Creates a new TargetPoolArgs. backupPool URL to the backup target pool. Must also set deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". description Textual description field. failoverRatio Ratio (0 to 1) of failed nodes before using the healthChecks List of zero or one health check name or self_link. Only instances List of instances in the pool. They can be given as name A unique name for the resource, required by GCE. Changing project The ID of the project in which the resource belongs. If it region Where the target pool resides. Defaults to project securityPolicy ) The resource URL for the security policy associated with this target pool. sessionAffinity How to distribute load. Options are "NONE" (no
const
TargetPoolArgs.fromMap(Map<String, dynamic> map)
factory

Properties

backupPool → Input<String?>?
URL to the backup target pool. Must also set failover_ratio.
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
description → Input<String?>?
Textual description field.
final
failoverRatio → Input<double?>?
Ratio (0 to 1) of failed nodes before using the backup pool (which must also be set).
final
hashCode → int
The hash code for this object.
no setterinherited
healthChecks → Input<String?>?
List of zero or one health check name or self_link. Only legacy gcp.compute.HttpHealthCheck is supported.
final
instances → Input<List<String>?>?
List of instances in the pool. They can be given as URLs, or in the form of "zone/name". Note that the instances need not exist at the time of target pool creation, so there is no need to use the interpolation to create a dependency on the instances from the target pool.
final
name → Input<String?>?
A unique name for the resource, required by GCE. Changing this forces a new resource to be created.
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?>?
Where the target pool resides. Defaults to project region.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
securityPolicy → Input<String?>?
) The resource URL for the security policy associated with this target pool.
final
sessionAffinity → Input<String?>?
How to distribute load. Options are "NONE" (no affinity). "CLIENT_IP" (hash of the source/dest addresses / ports), and "CLIENT_IP_PROTO" also includes the protocol (default "NONE").
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