Condividi tramite


AzurePostgresExtensions Class

Definition

Provides extension methods for adding the Azure PostgreSQL resources to the application model.

public static class AzurePostgresExtensions
type AzurePostgresExtensions = class
Public Module AzurePostgresExtensions
Inheritance
AzurePostgresExtensions

Methods

AddAzurePostgresFlexibleServer(IDistributedApplicationBuilder, String)

Adds an Azure PostgreSQL Flexible Server resource to the application model.

AddDatabase(IResourceBuilder<AzurePostgresFlexibleServerResource>, String, String)

Adds an Azure PostgreSQL database to the application model.

AsAzurePostgresFlexibleServer(IResourceBuilder<PostgresServerResource>, Action<IResourceBuilder<AzurePostgresResource>,ResourceModuleConstruct, PostgreSqlFlexibleServer>)

Configures resource to use Azure for local development and when doing a deployment via the Azure Developer CLI.

AsAzurePostgresFlexibleServer(IResourceBuilder<PostgresServerResource>)
Obsolete.

Configures resource to use Azure for local development and when doing a deployment via the Azure Developer CLI.

PublishAsAzurePostgresFlexibleServer(IResourceBuilder<PostgresServerResource>, Action<IResourceBuilder<AzurePostgresResource>,ResourceModuleConstruct, PostgreSqlFlexibleServer>)

Configures Postgres Server resource to be deployed as Azure Postgres Flexible Server.

PublishAsAzurePostgresFlexibleServer(IResourceBuilder<PostgresServerResource>)
Obsolete.

Configures Postgres Server resource to be deployed as Azure PostgreSQL Flexible Server.

RunAsContainer(IResourceBuilder<AzurePostgresFlexibleServerResource>, Action<IResourceBuilder<PostgresServerResource>>)

Configures an Azure PostgreSQL Flexible Server resource to run locally in a container.

WithPasswordAuthentication(IResourceBuilder<AzurePostgresFlexibleServerResource>, IResourceBuilder<ParameterResource>, IResourceBuilder<ParameterResource>)

Configures the resource to use password authentication for Azure PostgreSQL Flexible Server.

Applies to