Share via


UploadLimitWeeklyRecurrence Constructor

Definition

Initializes a new instance of UploadLimitWeeklyRecurrence.

public UploadLimitWeeklyRecurrence (Azure.ResourceManager.StorageMover.Models.ScheduleTime startTime, Azure.ResourceManager.StorageMover.Models.ScheduleTime endTime, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageMover.Models.ScheduleDayOfWeek> days, int limitInMbps);
new Azure.ResourceManager.StorageMover.Models.UploadLimitWeeklyRecurrence : Azure.ResourceManager.StorageMover.Models.ScheduleTime * Azure.ResourceManager.StorageMover.Models.ScheduleTime * seq<Azure.ResourceManager.StorageMover.Models.ScheduleDayOfWeek> * int -> Azure.ResourceManager.StorageMover.Models.UploadLimitWeeklyRecurrence
Public Sub New (startTime As ScheduleTime, endTime As ScheduleTime, days As IEnumerable(Of ScheduleDayOfWeek), limitInMbps As Integer)

Parameters

startTime
ScheduleTime

The start time of the schedule recurrence. Full hour and 30-minute intervals are supported.

endTime
ScheduleTime

The end time of the schedule recurrence. Full hour and 30-minute intervals are supported.

days
IEnumerable<ScheduleDayOfWeek>

The set of days of week for the schedule recurrence. A day must not be specified more than once in a recurrence.

limitInMbps
Int32

The WAN-link upload bandwidth (maximum data transfer rate) in megabits per second. Value of 0 indicates no throughput is allowed and any running migration job is effectively paused for the duration of this recurrence. Only data plane operations are governed by this limit. Control plane operations ensure seamless functionality. The agent may exceed this limit with control messages, if necessary.

Exceptions

startTime, endTime or days is null.

Applies to