Skip to main content

sql_pool_maintenance_window_options

Creates, updates, deletes, gets or lists a sql_pool_maintenance_window_options resource.

Overview

Namesql_pool_maintenance_window_options
TypeResource
Idazure.synapse.sql_pool_maintenance_window_options

Fields

NameDatatypeDescription
allow_multiple_maintenance_windows_per_cycletextfield from the properties object
default_duration_in_minutestextfield from the properties object
is_enabledtextfield from the properties object
maintenanceWindowOptionsNametextfield from the properties object
maintenance_window_cyclestextfield from the properties object
min_cyclestextfield from the properties object
min_duration_in_minutestextfield from the properties object
resourceGroupNametextfield from the properties object
sqlPoolNametextfield from the properties object
subscriptionIdtextfield from the properties object
time_granularity_in_minutestextfield from the properties object
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTmaintenanceWindowOptionsName, resourceGroupName, sqlPoolName, subscriptionId, workspaceNameGet list of SQL pool's available maintenance windows.

SELECT examples

Get list of SQL pool's available maintenance windows.

SELECT
allow_multiple_maintenance_windows_per_cycle,
default_duration_in_minutes,
is_enabled,
maintenanceWindowOptionsName,
maintenance_window_cycles,
min_cycles,
min_duration_in_minutes,
resourceGroupName,
sqlPoolName,
subscriptionId,
time_granularity_in_minutes,
workspaceName
FROM azure.synapse.vw_sql_pool_maintenance_window_options
WHERE maintenanceWindowOptionsName = '{{ maintenanceWindowOptionsName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND sqlPoolName = '{{ sqlPoolName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';