Show / Hide Table of Contents

Class HttpHealthCheckArgs

Inheritance
System.Object
InputArgs
ResourceArgs
HttpHealthCheckArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class HttpHealthCheckArgs : ResourceArgs

Constructors

View Source

HttpHealthCheckArgs()

Declaration
public HttpHealthCheckArgs()

Properties

View Source

CheckIntervalSec

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>
View Source

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>
View Source

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>
View Source

Host

The value of the host header in the HTTP 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>
View Source

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>
View Source

Port

The TCP port number for the HTTP health check request. The default value is 80.

Declaration
public Input<int> Port { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

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>
View Source

RequestPath

The request path of the HTTP health check request. The default value is /.

Declaration
public Input<string> RequestPath { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.