MySQL Flexible deployment fails when properties.maintenanceWindow is set
#10996
Replies: 2 comments 6 replies
-
|
You can review the specification examples here:
However they do provide it with this example of an update. "properties": {
"maintenanceWindow": {
"customWindow": "Enabled",
"dayOfWeek": 1,
"startHour": 8,
"startMinute": 0
}
}Plus the full specification in the specification, it shows the following... "maintenanceWindow": {
"$ref": "#/definitions/MaintenanceWindow",
"description": "Maintenance window of a server.",
"x-ms-mutability": [
"update",
"read"
]
}Did you try deploy the first time without the maintenancewindow, then deploy a second time with the setting? Based on the above I don't think it's supported on the original |
Beta Was this translation helpful? Give feedback.
-
|
Is this fixed @brwilkinson ? we still see the error. When we mention the maintenance window the error is When I remove the maintenance configuration the error is |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
On
Microsoft.DBforMySQL/flexibleServers@2022-01-01, if I define any combination ofproperties.maintenanceWindowcauses the deployment to return the following error:{ "status":"Failed", "error":{ "code":"DeploymentFailed", "target":"/subscriptions/xxx/resourceGroups/yyyy/providers/Microsoft.Resources/deployments/main", "message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.", "details":[ { "code":"ServerNotExist", "message":"The server 'mysql-test-abcxyz123' does not exist or in unexpected status." } ] } }Here's a sample:
Also tried many other combinations:
Or
and others. Is it a bug or I'm doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions