Freigeben über


ArmServiceFabricManagedClustersModelFactory.ManagedMaintenanceWindowStatus Method

Definition

Initializes a new instance of ManagedMaintenanceWindowStatus.

public static Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedMaintenanceWindowStatus ManagedMaintenanceWindowStatus (bool? isWindowEnabled = default, bool? isRegionReady = default, bool? isWindowActive = default, bool? canApplyUpdates = default, DateTimeOffset? lastWindowStatusUpdatedOn = default, DateTimeOffset? lastWindowStartOn = default, DateTimeOffset? lastWindowEndOn = default);
static member ManagedMaintenanceWindowStatus : Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedMaintenanceWindowStatus
Public Shared Function ManagedMaintenanceWindowStatus (Optional isWindowEnabled As Nullable(Of Boolean) = Nothing, Optional isRegionReady As Nullable(Of Boolean) = Nothing, Optional isWindowActive As Nullable(Of Boolean) = Nothing, Optional canApplyUpdates As Nullable(Of Boolean) = Nothing, Optional lastWindowStatusUpdatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastWindowStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastWindowEndOn As Nullable(Of DateTimeOffset) = Nothing) As ManagedMaintenanceWindowStatus

Parameters

isWindowEnabled
Nullable<Boolean>

If maintenance window is enabled on this cluster.

isRegionReady
Nullable<Boolean>

Indicates if the region is ready to configure maintenance windows.

isWindowActive
Nullable<Boolean>

If maintenance window is active.

canApplyUpdates
Nullable<Boolean>

If updates can be applied.

lastWindowStatusUpdatedOn
Nullable<DateTimeOffset>

Last window update time in UTC.

lastWindowStartOn
Nullable<DateTimeOffset>

Last window start time in UTC.

lastWindowEndOn
Nullable<DateTimeOffset>

Last window end time in UTC.

Returns

A new ManagedMaintenanceWindowStatus instance for mocking.

Applies to