Class HealthCheckArgs
Inherited Members
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class HealthCheckArgs : ResourceArgs
Constructors
View SourceHealthCheckArgs()
Declaration
public HealthCheckArgs()
Properties
View SourceCheckIntervalSec
How often (in seconds) to send a health check. The default value is 5 seconds.
Declaration
public Input<int> CheckIntervalSec { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Description
An optional description of this resource. Provide this property when you create the resource.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
HealthyThreshold
A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
Declaration
public Input<int> HealthyThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Http2HealthCheck
A nested object resource Structure is documented below.
Declaration
public Input<HealthCheckHttp2HealthCheckArgs> Http2HealthCheck { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<HealthCheckHttp2HealthCheckArgs> |
HttpHealthCheck
A nested object resource Structure is documented below.
Declaration
public Input<HealthCheckHttpHealthCheckArgs> HttpHealthCheck { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<HealthCheckHttpHealthCheckArgs> |
HttpsHealthCheck
A nested object resource Structure is documented below.
Declaration
public Input<HealthCheckHttpsHealthCheckArgs> HttpsHealthCheck { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<HealthCheckHttpsHealthCheckArgs> |
LogConfig
Configure logging on this health check. Structure is documented below.
Declaration
public Input<HealthCheckLogConfigArgs> LogConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<HealthCheckLogConfigArgs> |
Name
Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and
match the regular expression a-z? which means
the first character must be a lowercase letter, and all following
characters must be a dash, lowercase letter, or digit, except the
last character, which cannot be a dash.
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> |
SslHealthCheck
A nested object resource Structure is documented below.
Declaration
public Input<HealthCheckSslHealthCheckArgs> SslHealthCheck { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<HealthCheckSslHealthCheckArgs> |
TcpHealthCheck
A nested object resource Structure is documented below.
Declaration
public Input<HealthCheckTcpHealthCheckArgs> TcpHealthCheck { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<HealthCheckTcpHealthCheckArgs> |
TimeoutSec
How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
Declaration
public Input<int> TimeoutSec { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
UnhealthyThreshold
A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
Declaration
public Input<int> UnhealthyThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |