Skip to content
DocsTry Aspire
DocsTry

AzurePostgresFlexibleServerResource Constructors

ClassConstructors1 member
Represents an resource for Azure Postgres Flexible Server.
Constructor(string, Action<AzureResourceInfrastructure>)Section titled Constructor(string, Action<AzureResourceInfrastructure>)
Represents an resource for Azure Postgres Flexible Server.
public class AzurePostgresFlexibleServerResource
{
public AzurePostgresFlexibleServerResource(
string name,
Action<AzureResourceInfrastructure> configureInfrastructure)
{
// ...
}
}
namestringThe name of the resource.
configureInfrastructureAction<AzureResourceInfrastructure>Callback to configure infrastructure.