Class ServiceCheck
Inheritance
System.Object
ServiceCheck
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.Outputs
Assembly: Pulumi.Consul.dll
Syntax
public sealed class ServiceCheck
Fields
View SourceCheckId
An ID, unique per agent. Will default to name if not set.
Declaration
public readonly string CheckId
Field Value
| Type | Description |
|---|---|
| System.String |
DeregisterCriticalServiceAfter
The time after which
the service is automatically deregistered when in the critical state.
Defaults to 30s.
Declaration
public readonly string DeregisterCriticalServiceAfter
Field Value
| Type | Description |
|---|---|
| System.String |
Headers
The headers to send for an HTTP check. The attributes of each header is given below.
Declaration
public readonly ImmutableArray<ServiceCheckHeader> Headers
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<ServiceCheckHeader> |
Http
The HTTP endpoint to call for an HTTP check.
Declaration
public readonly string Http
Field Value
| Type | Description |
|---|---|
| System.String |
Interval
The interval to wait between each health-check invocation.
Declaration
public readonly string Interval
Field Value
| Type | Description |
|---|---|
| System.String |
Method
The method to use for HTTP health-checks. Defaults
to GET.
Declaration
public readonly string Method
Field Value
| Type | Description |
|---|---|
| System.String |
Name
The name of the health-check.
Declaration
public readonly string Name
Field Value
| Type | Description |
|---|---|
| System.String |
Notes
An opaque field meant to hold human readable text.
Declaration
public readonly string Notes
Field Value
| Type | Description |
|---|---|
| System.String |
Status
The initial health-check status.
Declaration
public readonly string Status
Field Value
| Type | Description |
|---|---|
| System.String |
Tcp
The TCP address and port to connect to for a TCP check.
Declaration
public readonly string Tcp
Field Value
| Type | Description |
|---|---|
| System.String |
Timeout
The timeout value for HTTP checks.
Declaration
public readonly string Timeout
Field Value
| Type | Description |
|---|---|
| System.String |
TlsSkipVerify
Whether to deactivate certificate
verification for HTTP health-checks. Defaults to false.
Declaration
public readonly bool? TlsSkipVerify
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |