Share via


AzurePostgresResource Constructors

Definition

Overloads

AzurePostgresResource(PostgresServerResource, Action<AzureResourceInfrastructure>)

Represents an resource for Azure Postgres Flexible Server.

AzurePostgresResource(PostgresServerResource, Action<ResourceModuleConstruct>)

Represents an resource for Azure Postgres Flexible Server.

AzurePostgresResource(PostgresServerResource, Action<AzureResourceInfrastructure>)

Source:
AzurePostgresResource.cs

Represents an resource for Azure Postgres Flexible Server.

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

Parameters

innerResource
PostgresServerResource

PostgresServerResource that this resource wraps.

configureInfrastructure
Action<AzureResourceInfrastructure>

Callback to configure the Azure resources.

Applies to

AzurePostgresResource(PostgresServerResource, Action<ResourceModuleConstruct>)

Source:
AzurePostgresResource.cs

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