共用方式為


IVirtualMachineVMImageOperations.UpdateAsync Method

Definition

The Update VM Image operation updates a VM image that in your image repository.

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)

Parameters

imageName
String

The name of the virtual machine image to be updated.

parameters
VirtualMachineVMImageUpdateParameters

Parameters supplied to the Update Virtual Machine Image operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to