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
| create\_mode | The creation mode. Can be used to restore or replicate existing servers. Possible values are `Default`, `Replica`, `GeoRestore`, and `PointInTimeRestore`. Defaults to `Default`|`string`|`"Default"`| no |
147
141
| db\_name | Specifies the name of the MySQL Database, which needs to be a valid MySQL identifier. Changing this forces a new resource to be created. |`string`|`""`| no |
148
142
| delegated\_subnet\_id | The resource ID of the subnet |`string`|`""`| no |
143
+
| enable\_diagnostic | Set to false to prevent the module from creating any resources. |`bool`|`true`| no |
149
144
| enable\_private\_endpoint | Manages a Private Endpoint to Azure database for MySQL |`bool`|`false`| no |
150
145
| enabled | Set to false to prevent the module from creating any resources. |`bool`|`true`| no |
| eventhub\_authorization\_rule\_id | Eventhub authorization rule id to pass it to destination details of diagnosys setting of NSG. |`string`|`null`| no |
149
+
| eventhub\_name | Eventhub Name to pass it to destination details of diagnosys setting of NSG. |`string`|`null`| no |
153
150
| existing\_private\_dns\_zone | Name of the existing private DNS zone |`bool`|`false`| no |
154
151
| existing\_private\_dns\_zone\_id | n/a |`string`|`""`| no |
155
152
| existing\_private\_dns\_zone\_name | The name of the Private DNS zone (without a terminating dot). Changing this forces a new resource to be created. |`string`|`""`| no |
@@ -160,8 +157,12 @@ module "flexible-mysql" {
160
157
| key\_vault\_key\_id | The URL to a Key Vault Key |`string`|`null`| no |
161
158
| label\_order | Label order, e.g. sequence of application name and environment `name`,`environment`,'attribute' [`webserver`,`qa`,`devops`,`public`,] . |`list(any)`| <pre>[<br> "name",<br> "environment"<br>]</pre> | no |
162
159
| location | The Azure Region where the MySQL Flexible Server should exist. Changing this forces a new MySQL Flexible Server to be created. |`string`|`""`| no |
160
+
| log\_analytics\_destination\_type | Possible values are AzureDiagnostics and Dedicated, default to AzureDiagnostics. When set to Dedicated, logs sent to a Log Analytics workspace will go into resource specific tables, instead of the legacy AzureDiagnostics table. |`string`|`"AzureDiagnostics"`| no |
161
+
| log\_analytics\_workspace\_id | Log Analytics workspace id in which logs should be retained. |`string`|`null`| no |
162
+
| log\_category | Categories of logs to be recorded in diagnostic setting. Acceptable values are MySqlSlowLogs , MySqlAuditLogs |`list(string)`| <pre>[<br> "MySqlAuditLogs"<br>]</pre> | no |
163
163
| main\_rg\_name | n/a |`string`|`""`| no |
164
164
| managedby | ManagedBy, eg ''. |`string`|`""`| no |
165
+
| metric\_enabled | Whether metric diagnonsis should be enable in diagnostic settings for flexible Mysql. |`bool`|`true`| no |
165
166
| mysql\_server\_name | n/a |`string`|`""`| no |
166
167
| mysql\_version | The version of the MySQL Flexible Server to use. Possible values are 5.7, and 8.0.21. Changing this forces a new MySQL Flexible Server to be created. |`string`|`"5.7"`| no |
167
168
| name | Name (e.g. `app` or `cluster`). |`string`|`""`| no |
@@ -176,6 +177,7 @@ module "flexible-mysql" {
176
177
| sku\_name | The SKU Name for the MySQL Flexible Server. |`string`|`"GP_Standard_D8ds_v4"`| no |
177
178
| source\_server\_id | The resource ID of the source MySQL Flexible Server to be restored. Required when create\_mode is PointInTimeRestore, GeoRestore, and Replica. Changing this forces a new MySQL Flexible Server to be created. |`string`|`null`| no |
178
179
| start\_ip\_address | n/a |`string`|`""`| no |
180
+
| storage\_account\_id | Storage account id to pass it to destination details of diagnosys setting of NSG. |`string`|`null`| no |
179
181
| values | Specifies the value of the MySQL Flexible Server Configuration. See the MySQL documentation for valid values. Changing this forces a new resource to be created. |`list(string)`|`[]`| no |
180
182
| virtual\_network\_id | The name of the virtual network |`string`|`""`| no |
181
183
| zone | Specifies the Availability Zone in which this MySQL Flexible Server should be located. Possible values are 1, 2 and 3. |`number`|`null`| no |
0 commit comments