Skip to content
Docs Try Aspire

runAsContainer

Function
📦 Aspire.Hosting.Azure.PostgreSQL v13.2.0-preview.1.26159.1
interface AzurePostgresFlexibleServerResource {
// ... omitted for brevity
runAsContainer(configureContainer?: callback): AzurePostgresFlexibleServerResource;
}

Signature

method runAsContainer builder
Configures the Azure PostgreSQL Flexible Server resource to run locally in a container
runAsContainer(configureContainer?: (obj: PostgresServerResource) => void): AzurePostgresFlexibleServerResource
configureContainer (obj: PostgresServerResource) => void optional
AzurePostgresFlexibleServerResource

Applies to

This function is an extension method on the following types: