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

VirtualMachineVMImageOperationsExtensions.UpdateAsync 方法

定义

更新 VM 映像操作更新映像存储库中的 VM 映像。

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> UpdateAsync (this Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations operations, string imageName, Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageUpdateParameters parameters);
static member UpdateAsync : Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations * string * Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function UpdateAsync (operations As IVirtualMachineVMImageOperations, imageName As String, parameters As VirtualMachineVMImageUpdateParameters) As Task(Of AzureOperationResponse)

参数

operations
IVirtualMachineVMImageOperations

对 Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations 的引用。

imageName
String

必需。 要更新的虚拟机映像的名称。

parameters
VirtualMachineVMImageUpdateParameters

必需。 提供给更新虚拟机映像操作的参数。

返回

Task<Microsoft.Azure.AzureOperationResponse>

标准服务响应,包括 HTTP 状态代码和请求 ID。

适用于