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
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. |
|
|
Specifies a gRPC check's endpoint that supports the standard
gRPC health checking protocol.
The state of the check will be updated at the given Interval by probing the configured endpoint.
The endpoint must be represented as |
|
|
Specifies whether to use TLS for this gRPC health check.
If TLS is enabled, then by default, a valid TLS certificate is expected.
Certificate verification can be turned off by setting |
|
|
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 scriptArgs. 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 |
|
|
Specifies if the certificate for an HTTPS check should not be verified. |
|
|
Set Time to Live of check. |
CheckQueryOptions
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 idle timeout unit. If not specified, default is seconds. |
||
|
Set whether keep alive is enabled on the client |
|
|
- |
|
|
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 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 the TCP receive buffer size |
|
|
Set the value of reuse address |
|
|
Set the value of reuse port. This is only supported by native transports. |
|
|
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 |
|
|
- |
|
- |
||
|
Enable the |
|
|
Enable the |
|
|
Set whether TCP keep alive is enabled |
|
|
Set whether TCP no delay is enabled |
|
|
Enable the |
|
|
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 whether compression is enabled |
|
|
- |
|
|
- |
|
|
- |
|
|
Set the ALPN usage. |
|
|
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
DcCoordinates
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
EventListOptions
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
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
NodeQueryOptions
PreparedQueryDefinition
Name |
Type |
Description |
|
Specifies a fixed list of remote datacenters to forward the query to if there are no healthy nodes in the local datacenter. Datacenters are queried in the order given in the list. If this option is combined with NearestN, then the NearestN queries will be performed first, followed by the list given by Datacenters. A given datacenter will only be queried one time during a failover, even if it is selected by both NearestN and is listed in Datacenters. |
|
|
Set the TTL duration when query results are served over DNS. If this is specified, it will take precedence over any Consul agent-specific configuration. |
|
|
Set ID of the query, always generated by Consul |
|
|
Set a list of user-defined key/value pairs that will be used for filtering the query results to nodes with the given metadata values present. |
|
|
Set an optional friendly name that can be used to execute a query instead of using its ID |
|
|
Specifies that the query will be forwarded to up to NearestN other datacenters based on their estimated network round trip time using Network Coordinates from the WAN gossip pool. The median round trip time from the server handling the query to the servers in the remote datacenter is used to determine the priority. |
|
|
Specifies the behavior of the query's health check filtering. If this is set to false, the results will include nodes with checks in the passing as well as the warning states. If this is set to true, only nodes with checks in the passing state will be returned. |
|
|
Set the name of the service to query |
|
|
Set the ID of an existing session. This provides a way to automatically remove a prepared query when the given session is invalidated. If not given the prepared query must be manually removed when no longer needed. |
|
|
Set a list of service tags to filter the query results. For a service to pass the tag filter it must have all of the required tags, and none of the excluded tags (prefixed with `!`). |
|
|
Set regular expression which is used to extract fields from the entire name, once this template is selected. |
|
|
The template type, which must be |
|
|
Set the ACL token to use each time the query is executed. This allows queries to be executed by clients with lesser or even no ACL Token, so this should be used with care. |
PreparedQueryExecuteOptions
Name |
Type |
Description |
|
Set the size of the list to the given number of nodes. This is applied after any sorting or shuffling. |
|
|
Set node name for sorting the list in ascending order based on the estimated round trip time from that node.
Passing |
PreparedQueryExecuteResponse
Name |
Type |
Description |
|
Set the datacenter that ultimately provided the list of nodes |
|
|
Set the TTL duration when query results are served over DNS. If this is specified, it will take precedence over any Consul agent-specific configuration. |
|
|
Set the number of remote datacenters that were queried while executing the query. |
|
|
Set the service name that the query was selecting. This is useful for context in case an empty list of nodes is returned. |
Service
Name |
Type |
Description |
|
Set service address |
|
|
Set ID of service |
|
|
Specifies arbitrary KV metadata linked to the service instance. |
|
|
Set service name |
|
|
Set node name |
|
|
Set node address |
|
|
Set service port |
|
|
Set list of service tags |
ServiceEntry
Name |
Type |
Description |
ServiceEntryList
ServiceList
ServiceOptions
Name |
Type |
Description |
|
Set service address |
|
|
Set the ID of session |
|
|
Specifies arbitrary KV metadata linked to the service instance. |
|
|
Set service name |
|
|
Set service port |
|
|
Set list of tags associated with service |
ServiceQueryOptions
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
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 The contract of a TTL is that it represents a lower bound for invalidation; that is, Consul will not expire the session before the TTL is reached, but it is allowed to delay the expiration past the TTL. The lowest practical TTL should be used to keep the number of managed sessions low. When locks are forcibly expired, such as during a leader election, sessions may not be reaped for up to double this TTL, so long TTL values (> 1 hour) should be avoided. |
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 |