Files
vigilcare-clinical/VigilCareClinicalAPI/Data/Configurations/ElasticsearchOptions.cs
T
voltsrage 2a3ef62a7d
CI / frontend (push) Failing after 57s
CI / backend (push) Failing after 6m27s
Add deployment
2026-08-05 00:26:20 +08:00

15 lines
575 B
C#

public class ElasticsearchOptions
{
public const string Section = "Elasticsearch";
public string Uri { get; set; } = null!;
public ElasticIndexOptions Indices { get; set; } = null!;
// Production clusters run with xpack.security enabled. Supply either an
// API key (preferred) or basic credentials; leave all null for the
// security-disabled development cluster.
public string? ApiKey { get; set; }
public string? Username { get; set; }
public string? Password { get; set; }
public bool DisableCertificateValidation { get; set; }
}