Share via


AzurePostgresExtensions.PublishAsAzurePostgresFlexibleServer Method

Definition

Overloads

PublishAsAzurePostgresFlexibleServer(IResourceBuilder<PostgresServerResource>)

Configures Postgres Server resource to be deployed as Azure Postgres Flexible Server.

PublishAsAzurePostgresFlexibleServer(IResourceBuilder<PostgresServerResource>, Action<IResourceBuilder<AzurePostgresResource>,ResourceModuleConstruct, PostgreSqlFlexibleServer>)

Configures Postgres Server resource to be deployed as Azure Postgres Flexible Server.

PublishAsAzurePostgresFlexibleServer(IResourceBuilder<PostgresServerResource>)

Source:
AzurePostgresExtensions.cs

Configures Postgres Server resource to be deployed as Azure Postgres Flexible Server.

public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.PostgresServerResource> PublishAsAzurePostgresFlexibleServer (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.PostgresServerResource> builder);
static member PublishAsAzurePostgresFlexibleServer : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.PostgresServerResource> -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.PostgresServerResource>
<Extension()>
Public Function PublishAsAzurePostgresFlexibleServer (builder As IResourceBuilder(Of PostgresServerResource)) As IResourceBuilder(Of PostgresServerResource)

Parameters

Returns

A reference to the IResourceBuilder<T> builder.

Applies to

PublishAsAzurePostgresFlexibleServer(IResourceBuilder<PostgresServerResource>, Action<IResourceBuilder<AzurePostgresResource>,ResourceModuleConstruct, PostgreSqlFlexibleServer>)

Source:
AzurePostgresExtensions.cs

Configures Postgres Server resource to be deployed as Azure Postgres Flexible Server.

public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.PostgresServerResource> PublishAsAzurePostgresFlexibleServer (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.PostgresServerResource> builder, Action<Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzurePostgresResource>,Aspire.Hosting.ResourceModuleConstruct,Azure.Provisioning.PostgreSql.PostgreSqlFlexibleServer>? configureResource);
static member PublishAsAzurePostgresFlexibleServer : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.PostgresServerResource> * Action<Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzurePostgresResource>, Aspire.Hosting.ResourceModuleConstruct, Azure.Provisioning.PostgreSql.PostgreSqlFlexibleServer> -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.PostgresServerResource>
<Extension()>
Public Function PublishAsAzurePostgresFlexibleServer (builder As IResourceBuilder(Of PostgresServerResource), configureResource As Action(Of IResourceBuilder(Of AzurePostgresResource), ResourceModuleConstruct, PostgreSqlFlexibleServer)) As IResourceBuilder(Of PostgresServerResource)

Parameters

Returns

A reference to the IResourceBuilder<T> builder.

Applies to