Table of Contents

Class SpringBootAdminClientOptions

Namespace
Steeltoe.Management.Endpoint.SpringBootAdminClient
Assembly
Steeltoe.Management.Endpoint.dll
public sealed class SpringBootAdminClientOptions
Inheritance
SpringBootAdminClientOptions
Inherited Members

Properties

ApplicationName

Gets or sets the name this application registers under in Spring Boot Admin server.

public string? ApplicationName { get; set; }

Property Value

string

BaseHost

Gets or sets the hostname or IP address to use in BaseUrl. This value should be set explicitly if Spring Boot Admin server is running in a container.

public string? BaseHost { get; set; }

Property Value

string

BasePath

Gets or sets the path to use in BaseUrl.

public string? BasePath { get; set; }

Property Value

string

BasePort

Gets or sets the port number to use in BaseUrl.

public int? BasePort { get; set; }

Property Value

int?

BaseScheme

Gets or sets the scheme ("http" or "https") to use in BaseUrl.

public string? BaseScheme { get; set; }

Property Value

string

BaseUrl

Gets or sets the base URL of this application, which Spring Boot Admin server uses to interact with this application.

public string? BaseUrl { get; set; }

Property Value

string

ConnectionTimeoutMs

Gets or sets the connection timeout (in milliseconds) for interactions with Spring Boot Admin server. Default value: 5_000.

public int ConnectionTimeoutMs { get; set; }

Property Value

int

Metadata

Gets metadata to use when registering with Spring Boot Admin server.

public IDictionary<string, object> Metadata { get; }

Property Value

IDictionary<string, object>

PreferIPAddress

Gets or sets a value indicating whether to prefer using the local IP address over hostname in BaseUrl. Default value: false.

public bool PreferIPAddress { get; set; }

Property Value

bool

RefreshInterval

Gets or sets the interval for refreshing the registration with Spring Boot Admin server. Set to Zero to register only once at app startup. Default value: 15 seconds.

public TimeSpan RefreshInterval { get; set; }

Property Value

TimeSpan

Url

Gets or sets the URL of the Spring Boot Admin server.

public string? Url { get; set; }

Property Value

string

UseNetworkInterfaces

Gets or sets a value indicating whether to use GetAllNetworkInterfaces() to determine the IP address or hostname for BaseUrl. Default value: false.

public bool UseNetworkInterfaces { get; set; }

Property Value

bool

ValidateCertificates

Gets or sets a value indicating whether to validate certificates from Spring Boot Admin server. Default value: true.

public bool ValidateCertificates { get; set; }

Property Value

bool