Class TargetPoolArgs
Inherited Members
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class TargetPoolArgs : ResourceArgs
Constructors
View SourceTargetPoolArgs()
Declaration
public TargetPoolArgs()
Properties
View SourceBackupPool
URL to the backup target pool. Must also set failover_ratio.
Declaration
public Input<string> BackupPool { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
Textual description field.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
FailoverRatio
Ratio (0 to 1) of failed nodes before using the backup pool (which must also be set).
Declaration
public Input<double> FailoverRatio { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Double> |
HealthChecks
List of zero or one health check name or self_link. Only
legacy gcp.compute.HttpHealthCheck is supported.
Declaration
public Input<string> HealthChecks { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Instances
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.
Declaration
public InputList<string> Instances { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Name
A unique name for the resource, required by GCE. Changing this forces a new resource to be created.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Region
Where the target pool resides. Defaults to project region.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SessionAffinity
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").
Declaration
public Input<string> SessionAffinity { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |