Class HttpsHealthCheckArgs
Inherited Members
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class HttpsHealthCheckArgs : ResourceArgs
Constructors
View SourceHttpsHealthCheckArgs()
Declaration
public HttpsHealthCheckArgs()
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> |
Host
The value of the host header in the HTTPS health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
Declaration
public Input<string> Host { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
Port
The TCP port number for the HTTPS health check request. The default value is 80.
Declaration
public Input<int> Port { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
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> |
RequestPath
The request path of the HTTPS health check request. The default value is /.
Declaration
public Input<string> RequestPath { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |