Skip to content

Flexible Server Database

Deploys a MySQL Flexible Server database in Azure.

Summary

Module to deploy a MySQL Flexible Server database with specified settings.

Module Information

Property Value
Owner platform-team
Support Support
Version 1.0.0

Resource Types

Resource Type
Microsoft.DBforMySQL/flexibleServers/databases

Usage

module database 'br:geitbicepmodweucr01.azurecr.io/bicep/modules/mysql-server-flexibleservers/database:1.0.0' = {
  name: 'database'
  params: {
    // Required parameters
    par_mysql_db_charset: <string>
    par_mysql_db_collation: <string>
    par_db_name: <string>
    par_mysql_server_name: <string>
  }
}

Parameters

Name Type Description Default
par_db_name string The name of the MySQL Flexible Server database to create. required
par_mysql_db_charset string The charset of the MySQL Flexible Server database. required
par_mysql_db_collation string The collation of the MySQL Flexible Server database. required
par_mysql_server_name string The name of the MySQL Flexible Server instance in which to create the database. required

Outputs

Name Type Description
out_mysql_db_id string The ID of the MySQL Flexible Server database.
out_mysql_db_name string The name of the MySQL Flexible Server database.

Versions

Pin an exact version. Ranges are not supported.

Version Reference
1.0.0 (latest) br/Euvic-Modules:mysql-server-flexibleservers/database:1.0.0