Udostępnij za pośrednictwem


ArmDataBoxEdgeModelFactory.BandwidthScheduleData Method

Definition

Initializes a new instance of BandwidthScheduleData.

public static Azure.ResourceManager.DataBoxEdge.BandwidthScheduleData BandwidthScheduleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, TimeSpan startOn = default, TimeSpan stopOn = default, int rateInMbps = 0, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDayOfWeek> days = default);
static member BandwidthScheduleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * TimeSpan * TimeSpan * int * seq<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDayOfWeek> -> Azure.ResourceManager.DataBoxEdge.BandwidthScheduleData
Public Shared Function BandwidthScheduleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional startOn As TimeSpan = Nothing, Optional stopOn As TimeSpan = Nothing, Optional rateInMbps As Integer = 0, Optional days As IEnumerable(Of DataBoxEdgeDayOfWeek) = Nothing) As BandwidthScheduleData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

startOn
TimeSpan

The start time of the schedule in UTC.

stopOn
TimeSpan

The stop time of the schedule in UTC.

rateInMbps
Int32

The bandwidth rate in Mbps.

days
IEnumerable<DataBoxEdgeDayOfWeek>

The days of the week when this schedule is applicable.

Returns

A new BandwidthScheduleData instance for mocking.

Applies to