TargetPoolState class
Input properties used for looking up and filtering TargetPool resources.
Constructors
-
TargetPoolState({Input<
String?> ? backupPool, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<double?> ? failoverRatio, Input<String?> ? healthChecks, Input<List< ? instances, Input<String> ?>String?> ? name, Input<String?> ? project, Input<String?> ? region, Input<String?> ? securityPolicy, Input<String?> ? selfLink, Input<String?> ? sessionAffinity}) -
Creates a new TargetPoolState.
backupPoolURL to the backup target pool. Must also setdeletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to "DELETE".descriptionTextual description field.failoverRatioRatio (0 to 1) of failed nodes before using thehealthChecksList of zero or one health check name or self_link. OnlyinstancesList of instances in the pool. They can be given asnameA unique name for the resource, required by GCE. ChangingprojectThe ID of the project in which the resource belongs. If itregionWhere the target pool resides. Defaults to projectsecurityPolicy) The resource URL for the security policy associated with this target pool.selfLinkThe URI of the created resource.sessionAffinityHow to distribute load. Options are "NONE" (noconst -
TargetPoolState.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.HttpHealthCheckis 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
-
selfLink
→ Input<
String?> ? -
The URI of the created resource.
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