Share via


AzurePostgresResource Constructor

Definition

Represents an resource for Azure Postgres Flexible Server.

public AzurePostgresResource (Aspire.Hosting.ApplicationModel.PostgresServerResource innerResource, Action<Aspire.Hosting.ResourceModuleConstruct> configureConstruct);
new Aspire.Hosting.Azure.AzurePostgresResource : Aspire.Hosting.ApplicationModel.PostgresServerResource * Action<Aspire.Hosting.ResourceModuleConstruct> -> Aspire.Hosting.Azure.AzurePostgresResource
Public Sub New (innerResource As PostgresServerResource, configureConstruct As Action(Of ResourceModuleConstruct))

Parameters

innerResource
PostgresServerResource

PostgresServerResource that this resource wraps.

configureConstruct
Action<ResourceModuleConstruct>

Callback to configure construct.

Applies to