Share via


AssetsOperationsExtensions.DeleteAsync Method

Definition

Delete an Asset.

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

Parameters

operations
IAssetsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the Azure subscription.

accountName
String

The Media Services account name.

assetName
String

The Asset name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Deletes an Asset in the Media Services account

Applies to