Dela via


ImagesOperationsExtensions.DeleteAsync Method

Definition

Deletes an Image.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.Compute.Fluent.IImagesOperations operations, string resourceGroupName, string imageName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.Compute.Fluent.IImagesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IImagesOperations, resourceGroupName As String, imageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IImagesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

imageName
String

The name of the image.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to