Partager via


ConsulClusteringOptions.ConfigureConsulClient Méthode

Définition

Surcharges

ConfigureConsulClient(Func<IConsulClient>)

Configure à l’aide CreateClient du rappel fourni.

ConfigureConsulClient(Uri, String)

Configure à l’aide de CreateClient consul-address et d’un acl-token.

ConfigureConsulClient(Func<IConsulClient>)

Source:
ConsulClusteringOptions.cs
Source:
ConsulClusteringOptions.cs
Source:
ConsulClusteringOptions.cs
Source:
ConsulClusteringOptions.cs

Configure à l’aide CreateClient du rappel fourni.

public void ConfigureConsulClient (Func<Consul.IConsulClient> createClientCallback);
member this.ConfigureConsulClient : Func<Consul.IConsulClient> -> unit
Public Sub ConfigureConsulClient (createClientCallback As Func(Of IConsulClient))

Paramètres

createClientCallback
Func<Consul.IConsulClient>

S’applique à

ConfigureConsulClient(Uri, String)

Source:
ConsulClusteringOptions.cs
Source:
ConsulClusteringOptions.cs
Source:
ConsulClusteringOptions.cs
Source:
ConsulClusteringOptions.cs

Configure à l’aide de CreateClient consul-address et d’un acl-token.

public void ConfigureConsulClient (Uri address, string aclClientToken = default);
member this.ConfigureConsulClient : Uri * string -> unit
Public Sub ConfigureConsulClient (address As Uri, Optional aclClientToken As String = Nothing)

Paramètres

address
Uri
aclClientToken
String

S’applique à