VirtualMachineVMImageOperationsExtensions.BeginDeletingAsync Method (IVirtualMachineVMImageOperations, String, Boolean)

 

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

Namespace:   Microsoft.WindowsAzure.Management.Compute
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

<ExtensionAttribute>
Public Shared Function BeginDeletingAsync (
	operations As IVirtualMachineVMImageOperations,
	vmImageName As String,
	deleteFromStorage As Boolean
) As Task(Of AzureOperationResponse)

Parameters

operations
Type: Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations

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

vmImageName
Type: System.String

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

deleteFromStorage
Type: System.Boolean

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

Return Value

Type: System.Threading.Tasks.Task(Of AzureOperationResponse)

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

Return to top
Show: