AzureSqlDatabaseResource
Handle
A resource that represents an Azure SQL database. This is a child resource of an Azure.
type AzureSqlDatabaseResource interface { ExpressionValue Resource ResourceWithConnectionString ResourceWithParent}8 members
Properties
property
ConnectionStringExpression *ReferenceExpression getGets the connection string expression for the Azure SQL database.
ConnectionStringExpression() *ReferenceExpressionproperty
DatabaseName stringgetGets the database name.
DatabaseName() (string, error)property
IsContainer boolgetGets a value indicating whether the current resource represents a container. If so the actual resource is not running in Azure.
IsContainer() (bool, error)property
JdbcConnectionString *ReferenceExpression getGets the JDBC connection string for the Azure SQL database.
JdbcConnectionString() *ReferenceExpressionproperty
ParentAzureSqlServerResource getGets the parent Azure SQL Database (server) resource.
Parent() AzureSqlServerResourceproperty
ResourceTypeDisplayName stringgetGets the ResourceTypeDisplayName property
ResourceTypeDisplayName() (string, error)property
UriExpression *ReferenceExpression getGets the connection URI expression for the Azure SQL database.
UriExpression() *ReferenceExpressionMethods
Configures the Azure SQL Database to be deployed use the default SKU provided by Azure. Please be aware that the Azure default Sku might not take advantage of the free offer.
WithDefaultAzureSku() AzureSqlDatabaseResourceReturns
AzureSqlDatabaseResource The resource builder.
Returns a handle; failures surface later via Err().