你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SchedulesOperationsExtensions.UpdateAsync 方法

定义

更新实验室计划。

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)

参数

operations
ISchedulesOperations

此扩展方法的操作组。

body
ScheduleUpdate

请求正文。

resourceGroupName
String

资源组的名称。 此名称不区分大小写。

labName
String

在包含的实验室帐户中唯一标识实验室的名称。 在资源 URI 中使用。

scheduleName
String

在包含的实验室中唯一标识它的计划的名称。 在资源 URI 中使用。

cancellationToken
CancellationToken

取消标记。

返回

注解

用于更新实验室计划的操作。

适用于