Azure / Azure/azure-cli

Available maintenance windows for SQL DB

Open
#24,861 2 comments 0 reactions 0 assignees View on GitHub
Maintenance question Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

[Enter feedback here]

For the commands: **az maintenance configuration create** and **az maintenance configuration update** the _maintenance-scope_ includes SQL DB:

[--maintenance-scope {All, Extension, Host, InGuestPatch, InResource, OSImage, Resource, **SQLDB**, SQLManagedInstance}]

For SQL Database currently, you can't define custom windows. You can only choose from available windows: https://learn.microsoft.com/en-us/azure/azure-sql/database/maintenance-window?view=azuresql#gain-more-predictability-with-maintenance-window

The feedback is add a note about this in the documentation to avoid potential confusion when setting the maintenance window since defining a SQL DB custom defined maintenance window is currently not available.

Thanks.

---
#### Document Details

⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*

* ID: b4b2e335-9821-87db-3685-24ec7e390a11
* Version Independent ID: 6bdc0138-d25f-5ba4-53ea-5b3596178c3d
* Content: [az maintenance configuration](https://learn.microsoft.com/en-us/cli/azure/maintenance/configuration?view=azure-cli-latest#az-maintenance-configuration)
* Content Source: [latest/docs-ref-autogen/maintenance/configuration.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/maintenance/configuration.yml)
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.