我有以下二头肌来创建一个sql服务器和sql数据库:
resource sqlServer 'Microsoft.Sql/servers@2021-02-01-preview' = {
name: sqlServerName
location: location
identity: {
type: 'SystemAssigned'
}
properties: {
administratorLogin: userName
administratorLoginPassword: password
administrators: {}
}
resource sqlDataBaseOne 'databases@2021-02-01-preview' = {
name: 'databaseone'
location: location
sku: {
name: 'GP_S_Gen5'
tier: 'GeneralPurpose'
family: 'Gen5'
capacity: 4
}
}
}
如何更新上述代码以创建另一个 SQL 数据库,它是
databaseone
的只读副本?