ConsulClusteringOptions.ConfigureConsulClient Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ConfigureConsulClient(Func<IConsulClient>) |
Configures the CreateClient using the provided callback. |
ConfigureConsulClient(Uri, String) |
Configures the CreateClient using the consul-address and a acl-token. |
ConfigureConsulClient(Func<IConsulClient>)
- Source:
- ConsulClusteringOptions.cs
- Source:
- ConsulClusteringOptions.cs
- Source:
- ConsulClusteringOptions.cs
- Source:
- ConsulClusteringOptions.cs
Configures the CreateClient using the provided callback.
public void ConfigureConsulClient (Func<Consul.IConsulClient> createClientCallback);
member this.ConfigureConsulClient : Func<Consul.IConsulClient> -> unit
Public Sub ConfigureConsulClient (createClientCallback As Func(Of IConsulClient))
Parameters
- createClientCallback
- Func<Consul.IConsulClient>
Applies to
ConfigureConsulClient(Uri, String)
- Source:
- ConsulClusteringOptions.cs
- Source:
- ConsulClusteringOptions.cs
- Source:
- ConsulClusteringOptions.cs
- Source:
- ConsulClusteringOptions.cs
Configures the CreateClient using the consul-address and a 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)
Parameters
- address
- Uri
- aclClientToken
- String