Skip to content
Docs Try Aspire

ElasticClientsElasticsearchSettings Properties

Class Properties 6 members
Provides the client configuration settings for connecting to a Elasticsearch using Elastic.Clients.Elasticsearch.
ApiKey Section titled ApiKey nullable string?
The API Key of the Elastic Cloud to connect to.
public string? ApiKey { get; set; }
CloudId Section titled CloudId nullable string?
The CloudId of the Elastic Cloud to connect to.
public string? CloudId { get; set; }
DisableHealthChecks Section titled DisableHealthChecks bool
Gets or sets a boolean value that indicates whether the Elasticsearch health check is disabled or not.
public bool DisableHealthChecks { get; set; }
Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.
public bool DisableTracing { get; set; }
Endpoint Section titled Endpoint nullable Uri?
The endpoint URI string of the Elasticsearch to connect to.
public Uri? Endpoint { get; set; }
HealthCheckTimeout Section titled HealthCheckTimeout nullable int?
Gets or sets a integer value that indicates the Elasticsearch health check timeout in milliseconds.
public int? HealthCheckTimeout { get; set; }