Dela via


VirtualMachineVMImageOperationsExtensions.BeginDeleting Method

Definition

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

public static Microsoft.Azure.AzureOperationResponse BeginDeleting (this Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations operations, string vmImageName, bool deleteFromStorage);
static member BeginDeleting : Microsoft.WindowsAzure.Management.Compute.IVirtualMachineVMImageOperations * string * bool -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function BeginDeleting (operations As IVirtualMachineVMImageOperations, vmImageName As String, deleteFromStorage As Boolean) As 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

Microsoft.Azure.AzureOperationResponse

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

Applies to