Table of Contents

Class ManagementOptions

Namespace
Steeltoe.Management.Endpoint
Assembly
Steeltoe.Management.EndpointBase.dll
[Obsolete("Use ManagementEndpointOptions instead")]
public class ManagementOptions : IManagementOptions
Inheritance
ManagementOptions
Implements
Inherited Members

Constructors

ManagementOptions()

public ManagementOptions()

ManagementOptions(IConfiguration)

public ManagementOptions(IConfiguration config)

Parameters

config IConfiguration

Properties

Enabled

public bool? Enabled { get; set; }

Property Value

bool?

EndpointOptions

public List<IEndpointOptions> EndpointOptions { get; set; }

Property Value

List<IEndpointOptions>

Path

public string Path { get; set; }

Property Value

string

Sensitive

public bool? Sensitive { get; set; }

Property Value

bool?

UseStatusCodeFromResponse

Gets or sets a value indicating whether or not to use accurate HTTP status codes

public bool UseStatusCodeFromResponse { get; set; }

Property Value

bool

Remarks

IIS or HWC the buildpack will (by default) scrub the response body when 503 is returned

Methods

GetInstance()

public static ManagementOptions GetInstance()

Returns

ManagementOptions

GetInstance(IConfiguration)

public static ManagementOptions GetInstance(IConfiguration config)

Parameters

config IConfiguration

Returns

ManagementOptions

Reset()

public static void Reset()

SetInstance(ManagementOptions)

public static void SetInstance(ManagementOptions mgmtOptions)

Parameters

mgmtOptions ManagementOptions