VirtualMachineOSImageOperationsExtensions.Delete Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Delete OS Image operation deletes the specified OS image from your image repository. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj157203.aspx for more information)
public static Microsoft.Azure.AzureOperationResponse Delete (this Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations operations, string imageName, bool deleteFromStorage);
static member Delete : Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations * string * bool -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function Delete (operations As IVirtualMachineOSImageOperations, imageName As String, deleteFromStorage As Boolean) As AzureOperationResponse
Parameters
- operations
- IVirtualMachineOSImageOperations
Reference to the Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOSImageOperations.
- imageName
- String
Required. The name of the image to delete.
- deleteFromStorage
- Boolean
Required. Specifies that the source blob for the image should also be deleted from storage.
Returns
A standard service response including an HTTP status code and request ID.
Applies to
Azure SDK for .NET