AzureSqlDatabaseResource
Classnet10.0
A resource that represents an Azure SQL database. This is a child resource of an
AzureSqlServerResource . namespace Aspire.Hosting.Azure;
public class AzureSqlDatabaseResource : Aspire.Hosting.ApplicationModel.Resource, Aspire.Hosting.ApplicationModel.IExpressionValue, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IResourceWithParent, Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.Azure.AzureSqlServerResource>, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...}ResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithParentIResourceWithParent<AzureSqlServerResource>IValueProviderIValueWithReferences
8 members
Constructors1
Section titled Constructors A resource that represents an Azure SQL database. This is a child resource of an
AzureSqlServerResource . Properties7
Section titled PropertiesResourceAnnotationCollection Gets the annotations associated with the resource.
ReferenceExpression Gets the connection string expression for the Azure SQL database.
IsContainer getbool Gets a value indicating whether the current resource represents a container. If so the actual resource is not running in Azure.
ReferenceExpression Gets the JDBC connection string for the Azure SQL database.