Udostępnij za pośrednictwem


SchedulesOperationsExtensions.UpdateAsync Method

Definition

Update a lab schedule.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.LabServices.Models.Schedule> UpdateAsync (this Microsoft.Azure.Management.LabServices.ISchedulesOperations operations, Microsoft.Azure.Management.LabServices.Models.ScheduleUpdate body, string resourceGroupName, string labName, string scheduleName, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.LabServices.ISchedulesOperations * Microsoft.Azure.Management.LabServices.Models.ScheduleUpdate * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.LabServices.Models.Schedule>
<Extension()>
Public Function UpdateAsync (operations As ISchedulesOperations, body As ScheduleUpdate, resourceGroupName As String, labName As String, scheduleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Schedule)

Parameters

operations
ISchedulesOperations

The operations group for this extension method.

body
ScheduleUpdate

The request body.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

labName
String

The name of the lab that uniquely identifies it within containing lab account. Used in resource URIs.

scheduleName
String

The name of the schedule that uniquely identifies it within containing lab. Used in resource URIs.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Operation to update a lab schedule.

Applies to