DnsSrvServiceEndpointProviderOptions Class

Definition

Options for configuring Microsoft.Extensions.ServiceDiscovery.Dns.DnsSrvServiceEndpointProvider.

public ref class DnsSrvServiceEndpointProviderOptions
public class DnsSrvServiceEndpointProviderOptions
type DnsSrvServiceEndpointProviderOptions = class
Public Class DnsSrvServiceEndpointProviderOptions
Inheritance
DnsSrvServiceEndpointProviderOptions

Constructors

Name Description
DnsSrvServiceEndpointProviderOptions()

Properties

Name Description
DefaultRefreshPeriod

Gets or sets the default refresh period for endpoints resolved from DNS.

MaxRetryPeriod

Gets or sets the maximum period between retries.

MinRetryPeriod

Gets or sets the initial period between retries.

QuerySuffix

Gets or sets the default DNS query suffix for services resolved via this provider.

RetryBackOffFactor

Gets or sets the retry period growth factor.

ServiceDomainNameCallback

Gets or sets a delegate that generates a DNS SRV query from a specified ServiceEndpointQuery instance.

ShouldApplyHostNameMetadata

Gets or sets a delegate used to determine whether to apply host name metadata to each resolved endpoint. Defaults to false.

Applies to