Microsoft.DBforMySQL servers/databases template reference

Template format

To create a Microsoft.DBforMySQL/servers/databases resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.DBforMySQL/servers/databases",
  "apiVersion": "2017-12-01",
  "properties": {
    "charset": "string",
    "collation": "string"
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.DBforMySQL/servers/databases object

Name Type Required Value
name string Yes The name of the database.
type enum Yes databases
-or-
Microsoft.DBforMySQL/servers/databases

See Set name and type for child resources.
apiVersion enum Yes 2017-12-01
properties object Yes The properties of a database. - DatabaseProperties object

DatabaseProperties object

Name Type Required Value
charset string No The charset of the database.
collation string No The collation of the database.

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Web App on Linux with Azure database for MySQL

Deploy to Azure
This template provides a easy way to deploy Web Apps on Linux with Azure database for MySQL.
Sonarqube Docker Web App on Linux with MySQL

Deploy to Azure
This template provides a easy way to deploy a Sonarqube docker image (alpine tag) on a Linux Web App with Azure database for MySQL
Web App with Azure database for MySQL

Deploy to Azure
This template provides a easy way to deploy web app on Azure App Service Web Apps with Azure database for MySQL.
Application Gateway for a Web App with IP Restriction

Deploy to Azure
This template creates an application gateway in front of an Azure Web App with IP restriction enabled on the Web App.
Java CI/CD using Jenkins and Azure Web Apps

Deploy to Azure
This is a sample for Java CI/CD using Jenkins and Azure Web Apps.