Skip to content
DocsTry Aspire
DocsTry

ElasticClientsElasticsearchSettings Properties

ClassProperties6 members
Provides the client configuration settings for connecting to a Elasticsearch using Elastic.Clients.Elasticsearch.
ApiKeySection titled ApiKeynullablestring?
The API Key of the Elastic Cloud to connect to.
public string? ApiKey { get; set; }
CloudIdSection titled CloudIdnullablestring?
The CloudId of the Elastic Cloud to connect to.
public string? CloudId { get; set; }
DisableHealthChecksSection titled DisableHealthChecksbool
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; }
EndpointSection titled EndpointnullableUri?
The endpoint URI string of the Elasticsearch to connect to.
public Uri? Endpoint { get; set; }
HealthCheckTimeoutSection titled HealthCheckTimeoutnullableint?
Gets or sets a integer value that indicates the Elasticsearch health check timeout in milliseconds.
public int? HealthCheckTimeout { get; set; }