Skip to main content

managed_maintenance_window_status

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

Overview

Namemanaged_maintenance_window_status
TypeResource
Idazure.service_fabric_managed_clusters.managed_maintenance_window_status

Fields

The following fields are returned by SELECT queries:

The operation completed successfully.

NameDatatypeDescription
canApplyUpdatesbooleanIf updates can be applied.
isRegionReadybooleanIndicates if the region is ready to configure maintenance windows.
isWindowActivebooleanIf maintenance window is active.
isWindowEnabledbooleanIf maintenance window is enabled on this cluster.
lastWindowEndTimeUTCstring (date-time)Last window end time in UTC.
lastWindowStartTimeUTCstring (date-time)Last window start time in UTC.
lastWindowStatusUpdateAtUTCstring (date-time)Last window update time in UTC.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, clusterName, subscriptionIdapi-versionAction to get Maintenance Window Status of the Service Fabric Managed Clusters.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
clusterNamestringThe name of the cluster resource.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstringThe customer subscription identifier.
api-versionstringThe version of the Service Fabric resource provider API. This is a required parameter and it's value must be "2024-06-01-preview" for this specification.

SELECT examples

Action to get Maintenance Window Status of the Service Fabric Managed Clusters.

SELECT
canApplyUpdates,
isRegionReady,
isWindowActive,
isWindowEnabled,
lastWindowEndTimeUTC,
lastWindowStartTimeUTC,
lastWindowStatusUpdateAtUTC
FROM azure.service_fabric_managed_clusters.managed_maintenance_window_status
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND clusterName = '{{ clusterName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND api-version = '{{ api-version }}'
;