RavenDBServerSettings Methods
Class Methods 4 members
Represents the settings for configuring a RavenDB server resource.
Secured(string, string, string?, string?, X509Certificate2?) Section titled Secured(string, string, string?, string?, X509Certificate2?) static RavenDBServerSettings Creates a secured RavenDB server settings object with the specified configuration.
public class RavenDBServerSettings{ public static RavenDBServerSettings Secured( string domainUrl, string certificatePath, string? certificatePassword = null, string? serverUrl = null, X509Certificate2? clientCertificate = null) { // ... }}Parameters
domainUrl string The public domain URL for the server. certificatePath string The path to the certificate file. certificatePassword string? optional The password for the certificate file, if required. Optional. serverUrl string? optional The optional server URL. clientCertificate X509Certificate2? optional Optional client certificate used by management code (health checks, ensure-database, etc.) when connecting to a secured RavenDB instance. SecuredWithLetsEncrypt(string, string, string?, string?, X509Certificate2?) Section titled SecuredWithLetsEncrypt(string, string, string?, string?, X509Certificate2?) static RavenDBServerSettings Creates a secured RavenDB server settings object with the specified configuration.
public class RavenDBServerSettings{ public static RavenDBServerSettings SecuredWithLetsEncrypt( string domainUrl, string certificatePath, string? certificatePassword = null, string? serverUrl = null, X509Certificate2? clientCertificate = null) { // ... }}Parameters
domainUrl string The public domain URL for the server. certificatePath string The path to the certificate file. certificatePassword string? optional The password for the certificate file, if required. Optional. serverUrl string? optional The optional server URL. clientCertificate X509Certificate2? optional Optional client certificate used by management code (health checks, ensure-database, etc.) when connecting to a secured RavenDB instance. Creates an unsecured RavenDB server settings object with default settings.
public class RavenDBServerSettings{ public static RavenDBServerSettings Unsecured() { // ... }}WithLicense(string, bool) Section titled WithLicense(string, bool) Configures licensing options for the RavenDB server.
public class RavenDBServerSettings{ public void WithLicense( string license, bool eulaAccepted = true) { // ... }}Parameters
license string The license string for the RavenDB server. eulaAccepted bool optional Indicates whether the End User License Agreement (EULA) has been accepted. Defaults to true.