Udostępnij za pośrednictwem


VirtualMachineVMImageOperationsExtensions.BeginDeletingAsync Method

Definition

The Begin Deleting Virtual Machine Image operation deletes the specified virtual machine image.

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> BeginDeletingAsync (this Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations operations, string vmImageName, bool deleteFromStorage);
static member BeginDeletingAsync : Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations * string * bool -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function BeginDeletingAsync (operations As IVirtualMachineVMImageOperations, vmImageName As String, deleteFromStorage As Boolean) As Task(Of AzureOperationResponse)

Parameters

operations
IVirtualMachineVMImageOperations

Reference to the Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations.

vmImageName
String

Required. The name of the virtual machine image to delete.

deleteFromStorage
Boolean

Required. Specifies that the source blob for the image should also be deleted from storage.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to