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.ProxyResource
MaintenanceWindowOptions

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
int

Minimum duration of maintenance window.

default_duration_in_minutes
Required
int

Default duration for maintenance window.

min_cycles
Required
int

Minimum number of maintenance windows cycles to be set on the database.

time_granularity_in_minutes
Required
int

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
str

Resource ID.

name
str

Resource name.

type
str

Resource type.