AzureSqlServerResource Properties
Class Properties 11 members
Represents an Azure Sql Server resource.
public override ResourceAnnotationCollection Annotations { get; }AzureSqlDatabases Section titled AzureSqlDatabases IReadOnlyDictionary<string, AzureSqlDatabaseResource> A dictionary where the key is the resource name and the value is the Azure SQL database resource.
public IReadOnlyDictionary<string, AzureSqlDatabaseResource> AzureSqlDatabases { get; } Gets the connection template for the manifest for the Azure SQL Server resource.
public ReferenceExpression ConnectionStringExpression { get; } A dictionary where the key is the resource name and the value is the Azure SQL database name.
public IReadOnlyDictionary<string, string> Databases { get; } Gets the fully qualified domain name (FQDN) output reference from the bicep template for the Azure SQL Server resource.
public BicepOutputReference FullyQualifiedDomainName { get; } Gets the host name for the SQL Server.
public ReferenceExpression HostName { get; }Remarks
In container mode, resolves to the container's primary endpoint host. In Azure mode, resolves to the Azure SQL Server's fully qualified domain name.
Gets a value indicating whether the current resource represents a container. If so the actual resource is not running in Azure.
public bool IsContainer { get; } Gets the JDBC connection string for the server.
public ReferenceExpression JdbcConnectionString { get; }Remarks
Format:
jdbc:sqlserver://{host}:{port};authentication=ActiveDirectoryIntegrated;encrypt=true;trustServerCertificate=true. Gets the "name" output reference for the resource.
public BicepOutputReference NameOutputReference { get; } Gets the port for the PostgreSQL server.
public ReferenceExpression Port { get; }Remarks
In container mode, resolves to the container's primary endpoint port. In Azure mode, resolves to 1433.
Gets the connection URI expression for the SQL Server.
public ReferenceExpression UriExpression { get; }Remarks
Format:
mssql://{host}:{port}.