AzurePostgresFlexibleServerResource Properties
Class Properties 13 members
Represents an resource for Azure Postgres Flexible Server.
public override ResourceAnnotationCollection Annotations { get; } Gets the connection template for the manifest for the Azure Postgres Flexible Server.
public ReferenceExpression ConnectionStringExpression { get; } A dictionary where the key is the resource name and the value is the database name.
public IReadOnlyDictionary<string, string> Databases { get; } Gets the host for the PostgreSQL server.
public ReferenceExpression Host { get; }Remarks
In container mode, resolves to the container's primary endpoint host. In Azure mode, resolves to the Azure PostgreSQL server's fully qualified domain name.
Gets the host name for the PostgreSQL server.
public ReferenceExpression HostName { get; }Remarks
In container mode, resolves to the container's primary endpoint host. In Azure mode, resolves to the Azure PostgreSQL server's fully qualified domain name.
Gets a value indicating whether the current resource represents a container. If so the actual resource is not running in Azure.
public bool IsContainer { get; } Gets the JDBC connection string for the server.
public ReferenceExpression JdbcConnectionString { get; }Remarks
Format:
jdbc:postgresql://{host}:{port}?sslmode=require&authenticationPluginClassName=com.azure.identity.extensions.jdbc.postgresql.AzurePostgresqlAuthenticationPlugin. Gets the "name" output reference for the resource.
public BicepOutputReference NameOutputReference { get; } Gets the password for the PostgreSQL server when password authentication is enabled.
public ReferenceExpression? Password { get; }Remarks
This property returns null when using Entra ID (Azure Active Directory) authentication. When password authentication is enabled, it resolves to the password parameter value.
Gets the port for the PostgreSQL server.
public ReferenceExpression Port { get; }Remarks
In container mode, resolves to the container's primary endpoint port. In Azure mode, resolves to 5432.
Gets the connection URI expression for the PostgreSQL server.
public ReferenceExpression UriExpression { get; }Remarks
Format:
postgresql://{user}:{password}@{host}:{port}. Gets a value indicating whether the resource uses password authentication.
public bool UsePasswordAuthentication { get; } Gets the user name for the PostgreSQL server when password authentication is enabled.
public ReferenceExpression? UserName { get; }Remarks
This property returns null when using Entra ID (Azure Active Directory) authentication. When password authentication is enabled, it resolves to the user name parameter value.