共用方式為


BandwidthSchedulesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a bandwidth schedule.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.BandwidthSchedule> CreateOrUpdateAsync (this Microsoft.Azure.Management.DataBoxEdge.IBandwidthSchedulesOperations operations, string deviceName, string name, Microsoft.Azure.Management.DataBoxEdge.Models.BandwidthSchedule parameters, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.DataBoxEdge.IBandwidthSchedulesOperations * string * string * Microsoft.Azure.Management.DataBoxEdge.Models.BandwidthSchedule * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.BandwidthSchedule>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IBandwidthSchedulesOperations, deviceName As String, name As String, parameters As BandwidthSchedule, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BandwidthSchedule)

Parameters

operations
IBandwidthSchedulesOperations

The operations group for this extension method.

deviceName
String

The device name.

name
String

The bandwidth schedule name which needs to be added/updated.

parameters
BandwidthSchedule

The bandwidth schedule to be added or updated.

resourceGroupName
String

The resource group name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to