AddDatabase
Method
func (AzureSqlServerResource) AddDatabase( name string, options ...*AddDatabaseOptions,) AzureSqlDatabaseResourceSignature
method
AddDatabase builderAdds an Azure SQL Database to the application model. The Free Offer option will be used when deploying the resource in Azure
AddDatabase( name string, options ...*AddDatabaseOptions,) AzureSqlDatabaseResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.options...*AddDatabaseOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddDatabaseOptions argument.
DatabaseName *stringThe name of the database. If not provided, this defaults to the same value as name.Returns
AzureSqlDatabaseResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: