你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

New-AzStorageMoverUploadLimitWeeklyRecurrenceObject

Create an in-memory object for UploadLimitWeeklyRecurrence.

Syntax

New-AzStorageMoverUploadLimitWeeklyRecurrenceObject
   -Day <DayOfWeek[]>
   -LimitInMbps <Int32>
   -EndTimeHour <Int32>
   -StartTimeHour <Int32>
   [-EndTimeMinute <Int32>]
   [-StartTimeMinute <Int32>]
   [<CommonParameters>]

Description

Create an in-memory object for UploadLimitWeeklyRecurrence.

Examples

Example 1: Create an upload limit weekly recurrence object

New-AzStorageMoverUploadLimitWeeklyRecurrenceObject -Day 'Monday','Tuesday','Friday' -LimitInMbps 100 -EndTimeHour 5 -StartTimeHour 1 -StartTimeMinute 30 -EndTimeMinute 0

Day                       EndTimeHour EndTimeMinute LimitInMbps StartTimeHour StartTimeMinute
---                       ----------- ------------- ----------- ------------- ---------------
{Monday, Tuesday, Friday} 5           0             100         1             30

This command creates an upload limit weekly recurrence object.

Parameters

-Day

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

Type:DayOfWeek[]
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-EndTimeHour

The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0.

Type:Int32
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-EndTimeMinute

The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-LimitInMbps

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.

Type:Int32
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-StartTimeHour

The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0.

Type:Int32
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-StartTimeMinute

The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

UploadLimitWeeklyRecurrence