Class LoadBalancerMonitorState
Inheritance
System.Object
LoadBalancerMonitorState
Inherited Members
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()
Assembly: Pulumi.Cloudflare.dll
Syntax
public sealed class LoadBalancerMonitorState : ResourceArgs
Constructors
View Source
LoadBalancerMonitorState()
Declaration
public LoadBalancerMonitorState()
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
CreatedOn
The RFC3339 timestamp of when the load balancer monitor was created.
Declaration
public Input<string> CreatedOn { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
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
Declaration
public InputList<LoadBalancerMonitorHeaderGetArgs> Headers { get; set; }
Property Value
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
ModifiedOn
The RFC3339 timestamp of when the load balancer monitor was last modified.
Declaration
public Input<string> ModifiedOn { 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> |
|