Share via


Python2PackageOperationsExtensions.DeleteAsync Method

Definition

Delete the python 2 package by name. http://aka.ms/azureautomationsdk/moduleoperations

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

Parameters

operations
IPython2PackageOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

packageName
String

The python package name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to