Show / Hide Table of Contents

Class LoadBalancerMonitorArgs

Inheritance
System.Object
InputArgs
ResourceArgs
LoadBalancerMonitorArgs
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.Cloudflare
Assembly: Pulumi.Cloudflare.dll
Syntax
public sealed class LoadBalancerMonitorArgs : ResourceArgs

Constructors

View Source

LoadBalancerMonitorArgs()

Declaration
public LoadBalancerMonitorArgs()

Properties

View Source

AllowInsecure

Do not validate the certificate when monitor use HTTPS. Only valid if type is "http" or "https".

Declaration
public Input<bool> AllowInsecure { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Description

Free text description.

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

ExpectedBody

A case-insensitive sub-string to look for in the response body. If this string is not found, the origin will be marked as unhealthy. Only valid if type is "http" or "https". Default: "".

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

ExpectedCodes

The expected HTTP response code or code range of the health check. Eg 2xx. Only valid and required if type is "http" or "https".

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

FollowRedirects

Follow redirects if returned by the origin. Only valid if type is "http" or "https".

Declaration
public Input<bool> FollowRedirects { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Headers

The header name.

Declaration
public InputList<LoadBalancerMonitorHeaderArgs> Headers { get; set; }
Property Value
Type Description
InputList<LoadBalancerMonitorHeaderArgs>
View Source

Interval

The interval between each health check. Shorter intervals may improve failover time, but will increase load on the origins as we check from multiple locations. Default: 60.

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

Method

The method to use for the health check. Valid values are any valid HTTP verb if type is "http" or "https", or connection_established if type is "tcp". Default: "GET" if type is "http" or "https", or "connection_established" if type is "tcp" .

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

Path

The endpoint path to health check against. Default: "/". Only valid if type is "http" or "https".

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

Port

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

Retries

The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately. Default: 2.

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

Timeout

The timeout (in seconds) before marking the health check as failed. Default: 5.

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

Type

The protocol to use for the healthcheck. Currently supported protocols are 'HTTP', 'HTTPS' and 'TCP'. Default: "http".

Declaration
public Input<string> Type { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.