Class ManagementOptions
- Namespace
- Steeltoe.Management.Endpoint.Configuration
- Assembly
- Steeltoe.Management.Endpoint.dll
Provides configuration settings for management endpoints (actuators).
public sealed class ManagementOptions
- Inheritance
-
ManagementOptions
- Inherited Members
Properties
CustomJsonConverters
Gets a list of assembly-qualified custom JSON converters.
public IList<string> CustomJsonConverters { get; }
Property Value
Enabled
Gets or sets a value indicating whether management endpoints are enabled. Default value: true.
public bool? Enabled { get; set; }
Property Value
- bool?
Path
Gets or sets the HTTP request path at which management endpoints are exposed. Default value: /actuator.
public string? Path { get; set; }
Property Value
Port
Gets or sets the alternate HTTP port at which management endpoints are exposed.
public int Port { get; set; }
Property Value
SerializerOptions
Gets or sets the JSON serialization options.
public JsonSerializerOptions SerializerOptions { get; set; }
Property Value
SslEnabled
Gets or sets a value indicating whether Port applies to HTTP or HTTPS requests. Default value: false.
public bool SslEnabled { get; set; }
Property Value
UseStatusCodeFromResponse
Gets or sets a value indicating whether the HTTP response status code is based on the health status. This setting can be overruled by sending an X-Use-Status-Code-From-Response HTTP header. Default value: true.
public bool UseStatusCodeFromResponse { get; set; }