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

LabsOperationsExtensions.CreateOrUpdate 方法

定义

创建或更新实验室资源。

public static Microsoft.Azure.Management.LabServices.Models.Lab CreateOrUpdate (this Microsoft.Azure.Management.LabServices.ILabsOperations operations, Microsoft.Azure.Management.LabServices.Models.Lab body, string resourceGroupName, string labName);
static member CreateOrUpdate : Microsoft.Azure.Management.LabServices.ILabsOperations * Microsoft.Azure.Management.LabServices.Models.Lab * string * string -> Microsoft.Azure.Management.LabServices.Models.Lab
<Extension()>
Public Function CreateOrUpdate (operations As ILabsOperations, body As Lab, resourceGroupName As String, labName As String) As Lab

参数

operations
ILabsOperations

此扩展方法的操作组。

body
Lab

请求正文。

resourceGroupName
String

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

labName
String

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

返回

Lab

注解

用于创建或更新实验室资源的操作。

适用于