共用方式為


IVirtualMachineVMImageOperations.BeginUnreplicatingAsync Method

Definition

Unreplicate an VM image to multiple target locations. This operation is only for publishers. You have to be registered as image publisher with Windows Azure to be able to call this. Note: The operation removes the published copies of the user VM Image. It does not remove the actual user VM Image. To remove the actual user VM Image, the publisher will have to call Delete VM Image.

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> BeginUnreplicatingAsync (string vmImageName, System.Threading.CancellationToken cancellationToken);
abstract member BeginUnreplicatingAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function BeginUnreplicatingAsync (vmImageName As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

vmImageName
String

The name of the virtual machine image to replicate. Note: The VM Image Name should be the user VM Image, not the published name of the VM Image.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to