BandwidthSchedulesOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.