Show / Hide Table of Contents

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 Source

CheckId

An ID, unique per agent. Will default to name if not set.

Declaration
public readonly string CheckId
Field Value
Type Description
System.String
View Source

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

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

Http

The HTTP endpoint to call for an HTTP check.

Declaration
public readonly string Http
Field Value
Type Description
System.String
View Source

Interval

The interval to wait between each health-check invocation.

Declaration
public readonly string Interval
Field Value
Type Description
System.String
View Source

Method

The method to use for HTTP health-checks. Defaults to GET.

Declaration
public readonly string Method
Field Value
Type Description
System.String
View Source

Name

The name of the health-check.

Declaration
public readonly string Name
Field Value
Type Description
System.String
View Source

Notes

An opaque field meant to hold human readable text.

Declaration
public readonly string Notes
Field Value
Type Description
System.String
View Source

Status

The initial health-check status.

Declaration
public readonly string Status
Field Value
Type Description
System.String
View Source

Tcp

The TCP address and port to connect to for a TCP check.

Declaration
public readonly string Tcp
Field Value
Type Description
System.String
View Source

Timeout

The timeout value for HTTP checks.

Declaration
public readonly string Timeout
Field Value
Type Description
System.String
View Source

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