AzurePostgresFlexibleServerResource.RunAsContainer

Method
📦 Aspire.Hosting.Azure.PostgreSQL v17.0.0
type AzurePostgresFlexibleServerResource interface {
// ... omitted for brevity
RunAsContainer(options ...*RunAsContainerOptions) AzurePostgresFlexibleServerResource
}

Signature

methodRunAsContainerbuilder
Configures an Azure PostgreSQL Flexible Server resource to run locally in a container.
RunAsContainer(options ...*RunAsContainerOptions) AzurePostgresFlexibleServerResource
options...*RunAsContainerOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*RunAsContainerOptions argument.

ConfigureContainerfunc(obj PostgresServerResource)callbackCallback that exposes underlying container to allow for customization.
AzurePostgresFlexibleServerResource

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: