次の方法で共有


AzurePostgresExtensions.PublishAsAzurePostgresFlexibleServer Method

Definition

Overloads

PublishAsAzurePostgresFlexibleServer(IResourceBuilder<PostgresServerResource>)
Obsolete.

Configures Postgres Server resource to be deployed as Azure PostgreSQL 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
Source:
AzurePostgresExtensions.cs

Caution

This method is obsolete and will be removed in a future version. Use AddAzurePostgresFlexibleServer instead to add an Azure PostgreSQL Flexible Server resource.

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

public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.PostgresServerResource> PublishAsAzurePostgresFlexibleServer (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.PostgresServerResource> builder);
[System.Obsolete("This method is obsolete and will be removed in a future version. Use AddAzurePostgresFlexibleServer instead to add an Azure PostgreSQL Flexible Server resource.")]
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>
[<System.Obsolete("This method is obsolete and will be removed in a future version. Use AddAzurePostgresFlexibleServer instead to add an Azure PostgreSQL Flexible Server resource.")>]
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.

Attributes

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