AzureNpgsqlSettings Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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) |