Compartir a través de


ConsulClusteringOptions.ConfigureConsulClient Método

Definición

Sobrecargas

ConfigureConsulClient(Func<IConsulClient>)

Configura mediante CreateClient la devolución de llamada proporcionada.

ConfigureConsulClient(Uri, String)

Configura mediante CreateClient consul-address y acl-token.

ConfigureConsulClient(Func<IConsulClient>)

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

Configura mediante CreateClient la devolución de llamada proporcionada.

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

Parámetros

createClientCallback
Func<Consul.IConsulClient>

Se aplica a

ConfigureConsulClient(Uri, String)

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

Configura mediante CreateClient consul-address y 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)

Parámetros

address
Uri
aclClientToken
String

Se aplica a