Skip to content

Commit e31cc84

Browse files
Update to latest (#2999)
1 parent 1c4e94b commit e31cc84

7 files changed

Lines changed: 0 additions & 169 deletions

File tree

modules/Microsoft.DBforMySQL/flexibleServers/.test/private/deploy.test.bicep

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,6 @@ module testDeployment '../../deploy.bicep' = {
9090
storageSizeGB: 64
9191
storageIOPS: 400
9292
backupRetentionDays: 10
93-
configurations: [
94-
{
95-
name: 'audit_log_enabled'
96-
source: 'user-override'
97-
value: 'ON'
98-
}
99-
]
10093
databases: [
10194
{
10295

modules/Microsoft.DBforMySQL/flexibleServers/.test/public/deploy.test.bicep

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,6 @@ module testDeployment '../../deploy.bicep' = {
107107
storageIOPS: 400
108108
backupRetentionDays: 20
109109
availabilityZone: '1'
110-
configurations: [
111-
{
112-
name: 'audit_log_enabled'
113-
source: 'user-override'
114-
value: 'ON'
115-
}
116-
]
117110
databases: [
118111
{
119112

modules/Microsoft.DBforMySQL/flexibleServers/configurations/deploy.bicep

Lines changed: 0 additions & 51 deletions
This file was deleted.

modules/Microsoft.DBforMySQL/flexibleServers/configurations/readme.md

Lines changed: 0 additions & 52 deletions
This file was deleted.

modules/Microsoft.DBforMySQL/flexibleServers/configurations/version.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

modules/Microsoft.DBforMySQL/flexibleServers/deploy.bicep

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,6 @@ param version string = '5.7'
166166
@description('Optional. The databases to create in the server.')
167167
param databases array = []
168168

169-
@description('Optional. The configurations to create in the server.')
170-
param configurations array = []
171-
172169
@description('Optional. The firewall rules to create in the MySQL flexible server.')
173170
param firewallRules array = []
174171

@@ -381,17 +378,6 @@ module flexibleServer_firewallRules 'firewallRules/deploy.bicep' = [for (firewal
381378
}
382379
}]
383380

384-
module flexibleServer_configurations 'configurations/deploy.bicep' = [for (configuration, index) in configurations: {
385-
name: '${uniqueString(deployment().name, location)}-MySQL-Configurations-${index}'
386-
params: {
387-
name: configuration.name
388-
flexibleServerName: flexibleServer.name
389-
source: contains(configuration, 'source') ? configuration.source : ''
390-
value: contains(configuration, 'value') ? configuration.value : ''
391-
enableDefaultTelemetry: enableReferencedModulesTelemetry
392-
}
393-
}]
394-
395381
resource flexibleServer_diagnosticSettings 'Microsoft.Insights/diagnosticSettings@2021-05-01-preview' = if ((!empty(diagnosticStorageAccountId)) || (!empty(diagnosticWorkspaceId)) || (!empty(diagnosticEventHubAuthorizationRuleId)) || (!empty(diagnosticEventHubName))) {
396382
name: !empty(diagnosticSettingsName) ? diagnosticSettingsName : '${name}-diagnosticSettings'
397383
properties: {

modules/Microsoft.DBforMySQL/flexibleServers/readme.md

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ This module deploys DBforMySQL FlexibleServers.
1717
| `Microsoft.Authorization/locks` | [2020-05-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2020-05-01/locks) |
1818
| `Microsoft.Authorization/roleAssignments` | [2022-04-01](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2022-04-01/roleAssignments) |
1919
| `Microsoft.DBforMySQL/flexibleServers` | [2021-12-01-preview](https://learn.microsoft.com/en-us/azure/templates/Microsoft.DBforMySQL/2021-12-01-preview/flexibleServers) |
20-
| `Microsoft.DBforMySQL/flexibleServers/configurations` | [2021-12-01-preview](https://learn.microsoft.com/en-us/azure/templates/Microsoft.DBforMySQL/2021-12-01-preview/flexibleServers/configurations) |
2120
| `Microsoft.DBforMySQL/flexibleServers/databases` | [2021-12-01-preview](https://learn.microsoft.com/en-us/azure/templates/Microsoft.DBforMySQL/2021-12-01-preview/flexibleServers/databases) |
2221
| `Microsoft.DBforMySQL/flexibleServers/firewallRules` | [2021-12-01-preview](https://learn.microsoft.com/en-us/azure/templates/Microsoft.DBforMySQL/2021-12-01-preview/flexibleServers/firewallRules) |
2322
| `Microsoft.Insights/diagnosticSettings` | [2021-05-01-preview](https://learn.microsoft.com/en-us/azure/templates/Microsoft.Insights/2021-05-01-preview/diagnosticSettings) |
@@ -56,7 +55,6 @@ This module deploys DBforMySQL FlexibleServers.
5655
| `backupRetentionDays` | int | `7` | | Backup retention days for the server. |
5756
| `cMKKeyName` | string | `''` | | The name of the customer managed key to use for encryption. |
5857
| `cMKKeyVersion` | string | `''` | | The version of the customer managed key to reference for encryption. If not provided, the latest key version is used. |
59-
| `configurations` | _[configurations](configurations/readme.md)_ array | `[]` | | The configurations to create in the server. |
6058
| `createMode` | string | `'Default'` | `[Default, GeoRestore, PointInTimeRestore, Replica]` | The mode to create a new MySQL server. |
6159
| `databases` | _[databases](databases/readme.md)_ array | `[]` | | The databases to create in the server. |
6260
| `delegatedSubnetResourceId` | string | `''` | | Delegated subnet arm resource ID. Used when the desired connectivity mode is "Private Access" - virtual network integration. Delegation must be enabled on the subnet for MySQL Flexible Servers and subnet CIDR size is /29. |
@@ -318,13 +316,6 @@ module flexibleServers './Microsoft.DBforMySQL/flexibleServers/deploy.bicep' = {
318316
tier: 'GeneralPurpose'
319317
// Non-required parameters
320318
backupRetentionDays: 10
321-
configurations: [
322-
{
323-
name: 'audit_log_enabled'
324-
source: 'user-override'
325-
value: 'ON'
326-
}
327-
]
328319
databases: [
329320
{
330321
name: 'testdb1'
@@ -397,15 +388,6 @@ module flexibleServers './Microsoft.DBforMySQL/flexibleServers/deploy.bicep' = {
397388
"backupRetentionDays": {
398389
"value": 10
399390
},
400-
"configurations": {
401-
"value": [
402-
{
403-
"name": "audit_log_enabled",
404-
"source": "user-override",
405-
"value": "ON"
406-
}
407-
]
408-
},
409391
"databases": {
410392
"value": [
411393
{
@@ -509,13 +491,6 @@ module flexibleServers './Microsoft.DBforMySQL/flexibleServers/deploy.bicep' = {
509491
cMKKeyName: '<cMKKeyName>'
510492
cMKKeyVaultResourceId: '<cMKKeyVaultResourceId>'
511493
cMKUserAssignedIdentityResourceId: '<cMKUserAssignedIdentityResourceId>'
512-
configurations: [
513-
{
514-
name: 'audit_log_enabled'
515-
source: 'user-override'
516-
value: 'ON'
517-
}
518-
]
519494
databases: [
520495
{
521496
name: 'testdb1'
@@ -626,15 +601,6 @@ module flexibleServers './Microsoft.DBforMySQL/flexibleServers/deploy.bicep' = {
626601
"cMKUserAssignedIdentityResourceId": {
627602
"value": "<cMKUserAssignedIdentityResourceId>"
628603
},
629-
"configurations": {
630-
"value": [
631-
{
632-
"name": "audit_log_enabled",
633-
"source": "user-override",
634-
"value": "ON"
635-
}
636-
]
637-
},
638604
"databases": {
639605
"value": [
640606
{

0 commit comments

Comments
 (0)