共用方式為


ElasticClientsElasticsearchSettings Class

Definition

Provides the client configuration settings for connecting to a Elasticsearch using Elastic.Clients.Elasticsearch.

public sealed class ElasticClientsElasticsearchSettings
type ElasticClientsElasticsearchSettings = class
Public NotInheritable Class ElasticClientsElasticsearchSettings
Inheritance
ElasticClientsElasticsearchSettings

Constructors

ElasticClientsElasticsearchSettings()

Properties

ApiKey

The API Key of the Elastic Cloud to connect to.

CloudId

The CloudId of the Elastic Cloud to connect to.

DisableHealthChecks

Gets or sets a boolean value that indicates whether the Elasticsearch health check is disabled or not.

DisableTracing

Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.

Endpoint

The endpoint URI string of the Elasticsearch to connect to.

HealthCheckTimeout

Gets or sets a integer value that indicates the Elasticsearch health check timeout in milliseconds.

Applies to