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

IVirtualMachineOSImageOperations.UpdateAsync 方法

定义

更新 OS 映像操作更新映像存储库中的 OS 映像。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/windowsazure/jj157198.aspx)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageUpdateResponse> UpdateAsync (string imageName, Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member UpdateAsync : string * Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineOSImageUpdateResponse>
Public Function UpdateAsync (imageName As String, parameters As VirtualMachineOSImageUpdateParameters, cancellationToken As CancellationToken) As Task(Of VirtualMachineOSImageUpdateResponse)

参数

imageName
String

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

parameters
VirtualMachineOSImageUpdateParameters

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

cancellationToken
CancellationToken

取消标记。

返回

从“创建虚拟机映像”操作返回的参数。

适用于