Class HealthCheckState
Inherited Members
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class HealthCheckState : ResourceArgs
Constructors
View SourceHealthCheckState()
Declaration
public HealthCheckState()
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> |
CreationTimestamp
Creation timestamp in RFC3339 text format.
Declaration
public Input<string> CreationTimestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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<HealthCheckHttp2HealthCheckGetArgs> Http2HealthCheck { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<HealthCheckHttp2HealthCheckGetArgs> |
HttpHealthCheck
A nested object resource Structure is documented below.
Declaration
public Input<HealthCheckHttpHealthCheckGetArgs> HttpHealthCheck { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<HealthCheckHttpHealthCheckGetArgs> |
HttpsHealthCheck
A nested object resource Structure is documented below.
Declaration
public Input<HealthCheckHttpsHealthCheckGetArgs> HttpsHealthCheck { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<HealthCheckHttpsHealthCheckGetArgs> |
LogConfig
Configure logging on this health check. Structure is documented below.
Declaration
public Input<HealthCheckLogConfigGetArgs> LogConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<HealthCheckLogConfigGetArgs> |
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> |
SelfLink
The URI of the created resource.
Declaration
public Input<string> SelfLink { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SslHealthCheck
A nested object resource Structure is documented below.
Declaration
public Input<HealthCheckSslHealthCheckGetArgs> SslHealthCheck { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<HealthCheckSslHealthCheckGetArgs> |
TcpHealthCheck
A nested object resource Structure is documented below.
Declaration
public Input<HealthCheckTcpHealthCheckGetArgs> TcpHealthCheck { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<HealthCheckTcpHealthCheckGetArgs> |
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> |
Type
The type of the health check. One of HTTP, HTTPS, TCP, or SSL.
Declaration
public Input<string> Type { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |