AclToken
Name |
Type |
Description |
|
Set ID of token |
|
|
Set name of token |
|
|
Set rules for token |
|
Set type of token |
BlockingQueryOptions
Name |
Type |
Description |
|
Set index indicating that the client wishes to wait for any changes subsequent to that index. |
|
|
Specifying a maximum duration for the blocking request. This is limited to 10 minutes. If not set, the wait time defaults to 5 minutes. This value can be specified in the form of "10s" or "5m" (i.e., 10 seconds or 5 minutes, respectively). |
Check
Name |
Type |
Description |
|
Set the ID of check |
|
|
Set the name of check |
|
|
Set the name of node |
|
|
Set the human-readable note of check |
|
|
Set the output of check |
|
|
Set the ID of service with which this check associated |
|
|
Set the name of service with which this check associated |
|
Set the status of check |
CheckList
Name |
Type |
Description |
|
Set Consul index, a unique identifier representing the current state of the requested list of checks |
|
|
Set list of checks |
CheckOptions
Name |
Type |
Description |
|
Set deregister timeout. This is optional field, which is a timeout in the same time format as Interval and TTL. If a check is associated with a service and has the critical state for more than this configured value, then its associated service (and all of its associated checks) will automatically be deregistered. The minimum timeout is 1 minute, and the process that reaps critical services runs every 30 seconds, so it may take slightly longer than the configured timeout to trigger the deregistration. This should generally be configured with a timeout that's much, much longer than any expected recoverable outage for the given service. |
|
|
Set HTTP address to check. Also you should set checking interval |
|
|
Set check ID |
|
|
Set checking interval |
|
|
Set check name. This is mandatory field |
|
|
Set check notes |
|
|
Set path to checking script. Also you should set checking interval |
|
|
Set the service ID to associate the registered check with an existing service provided by the agent. |
|
Set the check status to specify the initial state of the health check. |
||
|
Set TCP address to check. Also you should set checking interval |
|
|
Set Time to Live of check. |
CheckQueryOptions
Name |
Type |
Description |
Set options for blocking query |
||
|
Set node name for sorting the list in ascending order based on the estimated round trip time from that node. |
ConsulClientOptions
Name |
Type |
Description |
|
Set the ACL token. When provided, the client will use this token when making requests to the Consul by providing the "?token" query parameter. When not provided, the empty token, which maps to the 'anonymous' ACL policy, is used. |
|
|
Set the list of protocol versions to provide to the server during the Application-Layer Protocol Negotiation. When the list is empty, the client provides a best effort list according to link:
|
|
|
Set the connect timeout |
|
|
Add a CRL path |
|
|
Add a CRL value |
|
|
Set the datacenter name. When provided, the client will use it when making requests to the Consul by providing the "?dc" query parameter. When not provided, the datacenter of the consul agent is queried. |
|
|
set to |
|
|
Set the default host name to be used by this client in requests if none is provided when making the request. |
|
|
Set the default port to be used by this client in requests if none is provided when making the request. |
|
|
Add an enabled cipher suite, appended to the ordered suites. |
|
|
Add an enabled SSL/TLS protocols, appended to the ordered protocols. |
|
|
Configure the default behavior of the client to follow HTTP |
|
|
By default, the server name is only sent for Fully Qualified Domain Name (FQDN), setting
this property to |
|
|
Set to |
|
|
Set the default HTTP/2 connection window size. It overrides the initial window size set by , so the connection window size is greater than for its streams, in order the data throughput. A value of-1 reuses the initial window size setting. |
|
|
Set the maximum pool size for HTTP/2 connections |
|
|
Set a client limit of the number concurrent streams for each HTTP/2 connection, this limits the number of streams the client can create for a connection. The effective number of streams for a connection is the min of this value and the server's initial settings. Setting the value to-1 means to use the value sent by the server's initial settings.
-1 is the default value. |
|
|
Set the idle timeout, in seconds. zero means don't timeout. This determines if a connection will timeout and be closed if no data is received within the timeout. |
|
Set the HTTP/2 connection settings immediately sent by to the server when the client connects. |
||
- |
||
|
Set whether keep alive is enabled on the client |
|
Set the key/cert options in jks format, aka Java keystore. |
||
|
Set the local interface to bind for network connections. When the local address is null, it will pick any local address, the default local address is null. |
|
|
Set to true to enabled network activity logging: Netty's pipeline is configured for logging on Netty's logger. |
|
|
Set the maximum HTTP chunk size |
|
|
Set the maximum length of all headers for HTTP/1.x . |
|
|
Set the maximum length of the initial line for HTTP/1.x (e.g. |
|
|
Set the maximum pool size for connections |
|
|
Set to |
|
|
Set the maximum requests allowed in the wait queue, any requests beyond the max size will result in a ConnectionPoolTooBusyException. If the value is set to a negative number then the queue will be unbounded. |
|
|
Set the max websocket frame size |
|
|
Set the max websocket message size |
|
|
Set the metrics name identifying the reported metrics, useful for grouping metrics with the same name. |
|
- |
||
Set the key/cert store options in pem format. |
||
Set the trust options. |
||
Set the key/cert options in pfx format. |
||
Set the trust options in pfx format |
||
|
Set whether pipe-lining is enabled on the client |
|
|
Set the limit of pending requests a pipe-lined HTTP/1 connection can send. |
|
Set the protocol version. |
||
Set proxy options for connections via CONNECT proxy (e.g. Squid) or a SOCKS proxy. |
||
|
Set the TCP receive buffer size |
|
|
Set the value of reuse address |
|
|
Set the TCP send buffer size |
|
|
Set true when the client wants to skip frame masking. You may want to set it true on server by server websocket communication: In this case you are by passing RFC6455 protocol. It's false as default. |
|
|
Set whether SO_linger keep alive is enabled |
|
|
Set whether SSL/TLS is enabled |
|
|
Set whether TCP keep alive is enabled |
|
|
Set whether TCP no delay is enabled |
|
|
Sets the amount of time (in milliseconds) after which if the request does not return any data within the timeout period an failure will be passed to the handler and the request will be closed. |
|
|
Set the value of traffic class |
|
|
Set whether all server certificates should be trusted |
|
Set the trust options in jks format, aka Java truststore |
||
|
Set whether compression is enabled |
|
|
Set the ALPN usage. |
|
|
Set whether Netty pooled buffers are enabled |
|
|
Sets the Web Client user agent header. Defaults to Vert.x-WebClient/<version>. |
|
|
Sets whether the Web Client should send a user agent header. Defaults to true. |
|
|
Set whether hostname verification is enabled |
Coordinate
CoordinateList
Name |
Type |
Description |
|
Set Consul index, a unique identifier representing the current state of the requested coordinates |
|
|
Set list of coordinates |
DcCoordinates
Name |
Type |
Description |
|
Set datacenter |
|
|
Set list of servers in datacenter |
Event
Name |
Type |
Description |
|
Set ID of event |
|
|
Set the Lamport clock time |
|
|
Set name of event |
|
|
Set regular expression to filter by node name |
|
|
Set payload of event |
|
|
Set regular expression to filter by service |
|
|
Set regular expression to filter by tag |
|
|
Set version |
EventList
Name |
Type |
Description |
|
Set Consul index, a unique identifier representing the current state of the requested events |
|
|
Set list of events |
EventListOptions
Name |
Type |
Description |
Set options for blocking query |
||
|
Set event name for filtering on events |
EventOptions
KeyValue
Name |
Type |
Description |
|
Set the internal index value that represents when the entry was created. |
|
|
Set the flags attached to this entry. Clients can choose to use this however makes sense for their application. |
|
|
Set the key |
|
|
Set the number of times this key has successfully been acquired in a lock. |
|
|
Set the last index that modified this key. |
|
|
Set the session that owns the lock |
|
|
Set the value |
KeyValueList
Name |
Type |
Description |
|
Set Consul index |
|
|
Set list of key/value pairs |
KeyValueOptions
Name |
Type |
Description |
|
Set session ID for lock acquisition operation. |
|
|
Set the Check-And-Set index. If the index is |
|
|
Set the flags. Flags is an value between |
|
|
Set session ID for lock release operation. |
MaintenanceOptions
Name |
Type |
Description |
|
Set maintenance mode to enabled: |
|
|
Set the ID of service. This field is required. |
|
|
Set the reason message. If provided, its value should be a text string explaining the reason for placing the service into maintenance mode. This is simply to aid human operators. |
Node
NodeList
Name |
Type |
Description |
|
Set Consul index, a unique identifier representing the current state of the requested list of nodes |
|
|
Set list of nodes |
NodeQueryOptions
Name |
Type |
Description |
Set options for blocking query |
||
|
Set node name for sorting the list in ascending order based on the estimated round trip time from that node. |
Service
Name |
Type |
Description |
|
Set service address |
|
|
Set ID of service |
|
|
Set service name |
|
|
Set node name |
|
|
Set node address |
|
|
Set service port |
|
|
Set list of service tags |
ServiceEntry
ServiceEntryList
Name |
Type |
Description |
|
Set Consul index, a unique identifier representing the current state of the requested list of services |
|
|
Set list of services |
ServiceList
Name |
Type |
Description |
|
Set Consul index, a unique identifier representing the current state of the requested list of services |
|
|
Set list of services |
ServiceOptions
Name |
Type |
Description |
|
Set service address |
|
Set check options of service |
||
|
Set the ID of session |
|
|
Set service name |
|
|
Set service port |
|
|
Set list of tags associated with service |
ServiceQueryOptions
Name |
Type |
Description |
Set options for blocking query |
||
|
Set node name for sorting the list in ascending order based on the estimated round trip time from that node. |
|
|
Set tag for filtering request results |
Session
Name |
Type |
Description |
|
Set the list of associated health checks |
|
|
Set the create index of session |
|
|
Set the ID of node |
|
|
Set Consul index |
|
|
Set the Lock delay of session |
|
|
Set the ID of node |
SessionList
Name |
Type |
Description |
|
Set Consul index, a unique identifier representing the current state of the requested list of sessions |
|
|
Set list of sessions |
SessionOptions
Name |
Type |
Description |
Set the behavior when a session is invalidated. The release behavior is the default if none is specified. |
||
|
Set a list of associated health checks. It is highly recommended that, if you override this list, you include the default "serfHealth" |
|
|
Set the lock-delay period. |
|
|
Set the human-readable name for the Session |
|
|
Set the node to which the session will be assigned |
|
|
Set the TTL interval. When TTL interval expires without being renewed, the session has expired and an invalidation is triggered. If specified, it must be between 10s and 86400s currently. |
TxnError
TxnKVOperation
Name |
Type |
Description |
|
Set the flags attached to this entry. Clients can choose to use this however makes sense for their application. |
|
|
Set the index used for locking, unlocking, and check-and-set operations. |
|
|
Set the key |
|
|
Set the session used for locking, unlocking, and check-and-set operations. |
|
Set the type of operation to perform |
||
|
Set the value |
TxnRequest
TxnResponse
Name |
Type |
Description |
|
Adds error to this response |
|
|
Returns the number of errors in this response |
|
|
Returns the number of results in this response |