Use the resource azMySqlFlexibleServer to deploy an Azure MySql Flexible Server to the relevant subscription. This will deploy a standard mysql server with the default schemas.
---azMySqlFlexibleServer:# Mandatory- Name:'string'ConnectionName:'string'ResourceGroupName:'string'Location:'string'AdminUsername:'string'AdminPassword:Location:'string'PlainText:Value:'string'# OptionalVersion:'string'# 5.7, 8.0.21Zone:number # 1Sku:Name:'string'# Standard_D2ds_v4 (D)Tier:'string'# Burstable (D), GeneralPurpose, BusinessCriticalHighAvailability:Mode:'string'# ZoneRedundant, SameZone, Disabled (D)StandbyZone:number # 3 (D)Tag:<keyvalue-pairs>Lock:- Name:'string'Level:'string'# CanNotDelete, ReadOnlyNotes:'string'Storage:SizeGb:number # 20Autogrow:boolean # True (D), FalseIops:number # 600 (D) Free, max depends on chosen Sku.NameBackup:RetentionDays:number # 1-35, 7(D)GeoRedundant:boolean # True, False (D)Identity:- Name:'string'ResourceGroupName:'string'Diagnostic:- Name:'string'Log:Enabled:boolean # True (D if Category not null), FalseCategory:[array] # defaults to all if enabledMetric:Enabled:boolean # True (D if MetricCategory not null), FalseCategory:[array] # defaults to all if enabledTarget:Blob:StorageAccount:'string'StorageKeyType:'string'# Primary, SecondaryRetentionInDays:number # 0 (D)ResourceGroupName:'string'# Defaults to RG of resourceSubscriptionName:'string'# Defaults to subscription of resourceEventHub:Name:'string'Namespace:'string'SharedAccessPolicy:'string'# RootManageSharedAccessKey (D)ResourceGroupName:'string'# Defaults to RG of resourceSubscriptionName:'string'# Defaults to subscription of resourceLogAnalytics:Workspace:'string'ResourceGroupName:'string'# Defaults to RG of resourceSubscriptionName:'string'# Defaults to subscription of resource