Share via


BandwidthSchedulesOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates or updates a bandwidth schedule.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EdgeGateway.Models.BandwidthSchedule> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.EdgeGateway.IBandwidthSchedulesOperations operations, string deviceName, string name, Microsoft.Azure.Management.EdgeGateway.Models.BandwidthSchedule parameters, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.EdgeGateway.IBandwidthSchedulesOperations * string * string * Microsoft.Azure.Management.EdgeGateway.Models.BandwidthSchedule * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EdgeGateway.Models.BandwidthSchedule>
<Extension()>
Public Function BeginCreateOrUpdateAsync (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