Partager via


Python2PackageOperationsExtensions.UpdateAsync Méthode

Définition

Mettez à jour le package Python 2 identifié par le nom du package. http://aka.ms/azureautomationsdk/moduleoperations

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

Paramètres

operations
IPython2PackageOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom d’un groupe de ressources Azure.

automationAccountName
String

Nom du compte Automation.

packageName
String

Nom du package Python.

parameters
PythonPackageUpdateParameters

Paramètres de mise à jour pour le package Python.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à