Skip to content
Docs Try Aspire

AzurePostgresResource Constructors

Class Constructors 1 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)
{
// ...
}
}
innerResource PostgresServerResource ApplicationModel.PostgresServerResource that this resource wraps.
configureInfrastructure Action<AzureResourceInfrastructure> Callback to configure the Azure resources.