Skip to content
DocsTry Aspire
DocsTry

AzurePostgresResource Constructors

ClassConstructors1 member
Represents an resource for Azure Postgres Flexible Server.
Constructor(PostgresServerResource, Action<AzureResourceInfrastructure>)Section titled Constructor(PostgresServerResource, Action<AzureResourceInfrastructure>)
Represents an resource for Azure Postgres Flexible Server.
public class AzurePostgresResource
{
public AzurePostgresResource(
PostgresServerResource innerResource,
Action<AzureResourceInfrastructure> configureInfrastructure)
{
// ...
}
}
innerResourcePostgresServerResourceApplicationModel.PostgresServerResource that this resource wraps.
configureInfrastructureAction<AzureResourceInfrastructure>Callback to configure the Azure resources.