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

VirtualMachineOSImageOperationsExtensions.UpdateAsync 方法

定义

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

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

参数

operations
IVirtualMachineOSImageOperations

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

imageName
String

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

parameters
VirtualMachineOSImageUpdateParameters

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

返回

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

适用于