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

SchedulesOperationsExtensions.CreateOrUpdateAsync 方法

定义

创建或更新实验室计划。

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

参数

operations
ISchedulesOperations

此扩展方法的操作组。

body
Schedule

请求正文。

resourceGroupName
String

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

labName
String

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

scheduleName
String

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

cancellationToken
CancellationToken

取消标记。

返回

注解

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

适用于