MaintenanceWindowOptions Class
Maintenance window options.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.sql.models._models_py3.ProxyResourceMaintenanceWindowOptions
Constructor
MaintenanceWindowOptions(*, is_enabled: bool | None = None, maintenance_window_cycles: List[MaintenanceWindowTimeRange] | None = None, min_duration_in_minutes: int | None = None, default_duration_in_minutes: int | None = None, min_cycles: int | None = None, time_granularity_in_minutes: int | None = None, allow_multiple_maintenance_windows_per_cycle: bool | None = None, **kwargs)
Parameters
Name | Description |
---|---|
is_enabled
Required
|
Whether maintenance windows are enabled for the database. |
maintenance_window_cycles
Required
|
Available maintenance cycles e.g. {Saturday, 0, 4860}, {Wednesday, 0, 2460}. |
min_duration_in_minutes
Required
|
Minimum duration of maintenance window. |
default_duration_in_minutes
Required
|
Default duration for maintenance window. |
min_cycles
Required
|
Minimum number of maintenance windows cycles to be set on the database. |
time_granularity_in_minutes
Required
|
Time granularity in minutes for maintenance windows. |
allow_multiple_maintenance_windows_per_cycle
Required
|
Whether we allow multiple maintenance windows per cycle. |
Keyword-Only Parameters
Name | Description |
---|---|
is_enabled
Required
|
|
maintenance_window_cycles
Required
|
|
min_duration_in_minutes
Required
|
|
default_duration_in_minutes
Required
|
|
min_cycles
Required
|
|
time_granularity_in_minutes
Required
|
|
allow_multiple_maintenance_windows_per_cycle
Required
|
|
Variables
Name | Description |
---|---|
id
|
Resource ID. |
name
|
Resource name. |
type
|
Resource type. |
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for Python