Freigeben über


AzurePostgresFlexibleServerDatabaseResource Constructor

Definition

A resource that represents an Azure PostgreSQL database. This is a child resource of an AzurePostgresFlexibleServerResource.

public AzurePostgresFlexibleServerDatabaseResource (string name, string databaseName, Aspire.Hosting.Azure.AzurePostgresFlexibleServerResource postgresParentResource);
new Aspire.Hosting.Azure.AzurePostgresFlexibleServerDatabaseResource : string * string * Aspire.Hosting.Azure.AzurePostgresFlexibleServerResource -> Aspire.Hosting.Azure.AzurePostgresFlexibleServerDatabaseResource
Public Sub New (name As String, databaseName As String, postgresParentResource As AzurePostgresFlexibleServerResource)

Parameters

name
String

The name of the resource.

databaseName
String

The database name.

postgresParentResource
AzurePostgresFlexibleServerResource

The Azure PostgreSQL parent resource associated with this database.

Applies to