Share via


VirtualMachineVMImageOperationsExtensions.BeginDeleting 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)

Syntax

public static AzureOperationResponse BeginDeleting(
    this IVirtualMachineVMImageOperations operations,
    string vmImageName,
    bool deleteFromStorage
)
public:
[ExtensionAttribute]
static AzureOperationResponse^ BeginDeleting(
    IVirtualMachineVMImageOperations^ operations,
    String^ vmImageName,
    bool deleteFromStorage
)
static member BeginDeleting : 
        operations:IVirtualMachineVMImageOperations *
        vmImageName:string *
        deleteFromStorage:bool -> AzureOperationResponse
<ExtensionAttribute>
Public Shared Function BeginDeleting (
    operations As IVirtualMachineVMImageOperations,
    vmImageName As String,
    deleteFromStorage As Boolean
) As AzureOperationResponse

Parameters

  • 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: Microsoft.Azure.AzureOperationResponse

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

See Also

VirtualMachineVMImageOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top