Class HttpDependencyDefinition
Namespace: Cephalon.Observability.HttpDependencies.Configuration
Assembly: Cephalon.Observability.HttpDependencies.dll
Describes one external HTTP dependency that should contribute to runtime health.
public sealed class HttpDependencyDefinition : DependencyDefinitionBaseInheritance
Section titled “Inheritance”object ← DependencyDefinitionBase ← HttpDependencyDefinition
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”HttpDependencyDefinition()
Section titled “ HttpDependencyDefinition()”Initializes a new instance of the
public HttpDependencyDefinition()Properties
Section titled “Properties”Endpoint
Section titled “ Endpoint”Gets or sets the absolute endpoint that should be probed for this dependency.
public string Endpoint { get; set; }Property Value
Section titled “Property Value”ExpectedStatusCodes
Section titled “ ExpectedStatusCodes”Gets or sets the explicit HTTP status codes that should be treated as healthy.
public IReadOnlyList<int> ExpectedStatusCodes { get; set; }Property Value
Section titled “Property Value”Method
Section titled “ Method”Gets or sets the HTTP method used for the probe request.
public string Method { get; set; }