ArmAvsModelFactory.BlockedWhileScheduleOperation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.