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

ImagesOperationsExtensions.CreateOrUpdate 方法

定义

通过 PUT 汇报图像。

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

参数

operations
IImagesOperations

此扩展方法的操作组。

body
Image

请求正文。

resourceGroupName
String

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

labPlanName
String

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

imageName
String

图像名称。

返回

注解

通过 PUT 汇报图像资源。 通过 PUT 创建新资源不起作用。

适用于