共用方式為


IExtensionImageOperations.BeginUpdatingAsync Method

Definition

Update a new extension. It is allowed to update an extension which had already been registered with the same identity (i.e. combination of ProviderNamespace and Type) but with different version. It will fail if the extension to update has an identity that has not been registered before, or there is already an extension with the same identity and same version.

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

Parameters

parameters
ExtensionImageUpdateParameters

Parameters supplied to the Update Virtual Machine Extension 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