Share via


AzureSqlDatabaseResource(String, String, AzureSqlServerResource) Constructor

Definition

A resource that represents an Azure SQL database. This is a child resource of an AzureSqlServerResource.

public AzureSqlDatabaseResource (string name, string databaseName, Aspire.Hosting.Azure.AzureSqlServerResource parent);
new Aspire.Hosting.Azure.AzureSqlDatabaseResource : string * string * Aspire.Hosting.Azure.AzureSqlServerResource -> Aspire.Hosting.Azure.AzureSqlDatabaseResource
Public Sub New (name As String, databaseName As String, parent As AzureSqlServerResource)

Parameters

name
String

The name of the resource.

databaseName
String

The database name.

parent
AzureSqlServerResource

The Azure SQL Database (server) parent resource associated with this database.

Applies to