Class ConsulDependencyDefinition
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Observability.ConsulDependencies.Configuration
Assembly: Cephalon.Observability.ConsulDependencies.dll
Describes one Consul dependency that should contribute to runtime health.
public sealed class ConsulDependencyDefinition : DependencyDefinitionBaseInheritance
Section titled “Inheritance”object ← DependencyDefinitionBase ← ConsulDependencyDefinition
Inherited Members
Section titled “Inherited Members”DependencyDefinitionBase.Id, DependencyDefinitionBase.DisplayName, DependencyDefinitionBase.Required, DependencyDefinitionBase.TimeoutSeconds, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”ConsulDependencyDefinition()
Section titled “ ConsulDependencyDefinition()”Initializes a new instance of the
public ConsulDependencyDefinition()Properties
Section titled “Properties”AclToken
Section titled “ AclToken”Gets or sets the optional Consul ACL token sent as the X-Consul-Token header.
public string? AclToken { get; set; }Property Value
Section titled “Property Value”Datacenter
Section titled “ Datacenter”Gets or sets the optional Consul datacenter name added as the dc query parameter.
public string? Datacenter { get; set; }Property Value
Section titled “Property Value”Endpoint
Section titled “ Endpoint”Gets or sets the absolute Consul base URL or status endpoint that should be probed.
public string Endpoint { get; set; }