次の方法で共有


IVirtualMachineVMImageOperations.UpdateAsync メソッド

定義

[VM イメージの更新] 操作では、イメージ リポジトリ内の VM イメージが更新されます。

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

パラメーター

imageName
String

更新する仮想マシン イメージの名前。

parameters
VirtualMachineVMImageUpdateParameters

仮想マシン イメージの更新操作に指定されたパラメーター。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

Task<Microsoft.Azure.AzureOperationResponse>

HTTP 状態コードと要求 ID を含む標準のサービス応答。

適用対象