ArmAvsModelFactory.BlockedWhileScheduleOperation Method

Definition

Time ranges blocked for scheduling maintenance.

public static Azure.ResourceManager.Avs.Models.BlockedWhileScheduleOperation BlockedWhileScheduleOperation(Azure.ResourceManager.Avs.Models.BlockedDatesConstraintCategory category = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Avs.Models.BlockedDatesConstraintTimeRange> timeRanges = default);
static member BlockedWhileScheduleOperation : Azure.ResourceManager.Avs.Models.BlockedDatesConstraintCategory * seq<Azure.ResourceManager.Avs.Models.BlockedDatesConstraintTimeRange> -> Azure.ResourceManager.Avs.Models.BlockedWhileScheduleOperation
Public Shared Function BlockedWhileScheduleOperation (Optional category As BlockedDatesConstraintCategory = Nothing, Optional timeRanges As IEnumerable(Of BlockedDatesConstraintTimeRange) = Nothing) As BlockedWhileScheduleOperation

Parameters

category
BlockedDatesConstraintCategory

Category of blocked date.

timeRanges
IEnumerable<BlockedDatesConstraintTimeRange>

Date ranges blocked for schedule.

Returns

A new BlockedWhileScheduleOperation instance for mocking.

Applies to