Condividi tramite


ConsulClusteringOptions.ConfigureConsulClient Metodo

Definizione

Overload

ConfigureConsulClient(Func<IConsulClient>)

Configura l'oggetto CreateClient utilizzando il callback fornito.

ConfigureConsulClient(Uri, String)

Configura l'oggetto CreateClient utilizzando il consul-address e un acl-token.

ConfigureConsulClient(Func<IConsulClient>)

Origine:
ConsulClusteringOptions.cs
Origine:
ConsulClusteringOptions.cs
Origine:
ConsulClusteringOptions.cs
Origine:
ConsulClusteringOptions.cs

Configura l'oggetto CreateClient utilizzando il callback fornito.

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

Parametri

createClientCallback
Func<Consul.IConsulClient>

Si applica a

ConfigureConsulClient(Uri, String)

Origine:
ConsulClusteringOptions.cs
Origine:
ConsulClusteringOptions.cs
Origine:
ConsulClusteringOptions.cs
Origine:
ConsulClusteringOptions.cs

Configura l'oggetto CreateClient utilizzando il consul-address e 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)

Parametri

address
Uri
aclClientToken
String

Si applica a