Class ServiceCheckArgs
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()
Namespace: Pulumi.Consul.Inputs
Assembly: Pulumi.Consul.dll
Syntax
public sealed class ServiceCheckArgs : ResourceArgs
Constructors
View SourceServiceCheckArgs()
Declaration
public ServiceCheckArgs()
Properties
View SourceCheckId
An ID, unique per agent. Will default to name if not set.
Declaration
public Input<string> CheckId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DeregisterCriticalServiceAfter
The time after which
the service is automatically deregistered when in the critical state.
Defaults to 30s.
Declaration
public Input<string> DeregisterCriticalServiceAfter { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Headers
The headers to send for an HTTP check. The attributes of each header is given below.
Declaration
public InputList<ServiceCheckHeaderArgs> Headers { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<ServiceCheckHeaderArgs> |
Http
The HTTP endpoint to call for an HTTP check.
Declaration
public Input<string> Http { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Interval
The interval to wait between each health-check invocation.
Declaration
public Input<string> Interval { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Method
The method to use for HTTP health-checks. Defaults
to GET.
Declaration
public Input<string> Method { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The name of the health-check.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Notes
An opaque field meant to hold human readable text.
Declaration
public Input<string> Notes { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Status
The initial health-check status.
Declaration
public Input<string> Status { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tcp
The TCP address and port to connect to for a TCP check.
Declaration
public Input<string> Tcp { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Timeout
The timeout value for HTTP checks.
Declaration
public Input<string> Timeout { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
TlsSkipVerify
Whether to deactivate certificate
verification for HTTP health-checks. Defaults to false.
Declaration
public Input<bool> TlsSkipVerify { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |