You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The validation errors says that minCapacity should be an INT type but it is a json('decimal-as-string') in the documentation and the value placed here in my bicep is '0.5' which is appropriate. It shows a warning but it should not.
Resource Type
Microsoft.Sql/servers/databases
Api Version
2023-05-01-preview
Issue Type
Inaccurate property type(s)
Other Notes
The validation errors says that minCapacity should be an INT type but it is a json('decimal-as-string') in the documentation and the value placed here in my bicep is '0.5' which is appropriate. It shows a warning but it should not.
Bicep Repro
resource sqlServerDatabase 'Microsoft.Sql/servers/databases@2023-05-01-preview' = {
parent: sqlServerInstance
name: sqlServerDBName
location: location
//Let Default Tags Apply
sku: sqlServerDBSku
properties: {
collation: 'SQL_Latin1_General_CP1_CI_AS'
maxSizeBytes: 34359738368
catalogCollation: 'SQL_Latin1_General_CP1_CI_AS'
zoneRedundant: false
readScale: 'Disabled'
autoPauseDelay: 60
requestedBackupStorageRedundancy: 'Local'
minCapacity: '0.5'
isLedgerOn: false
availabilityZone: 'NoPreference'
}
}
Confirm
The text was updated successfully, but these errors were encountered: