Share via


AzureNpgsqlSettings Class

Definition

Provides the client configuration settings for connecting to an Azure Database for PostgreSQL using Npgsql.

public sealed class AzureNpgsqlSettings : Aspire.Npgsql.NpgsqlSettings
type AzureNpgsqlSettings = class
    inherit NpgsqlSettings
Public NotInheritable Class AzureNpgsqlSettings
Inherits NpgsqlSettings
Inheritance
AzureNpgsqlSettings

Constructors

AzureNpgsqlSettings()

Properties

ConnectionString

The connection string of the PostgreSQL database to connect to.

(Inherited from NpgsqlSettings)
Credential

Gets or sets the credential used to authenticate to the Azure Database for PostgreSQL.

DisableHealthChecks

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

(Inherited from NpgsqlSettings)
DisableMetrics

Gets or sets a boolean value that indicates whether the OpenTelemetry metrics are disabled or not.

(Inherited from NpgsqlSettings)
DisableTracing

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

(Inherited from NpgsqlSettings)

Applies to