Freigeben über


Python2PackageOperationsExtensions.UpdateAsync Methode

Definition

Aktualisieren Sie das Python 2-Paket, das durch den Paketnamen identifiziert wird. 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)

Parameter

operations
IPython2PackageOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name einer Azure-Ressourcengruppe.

automationAccountName
String

Der Name des Automation-Kontos.

packageName
String

Der Name des Python-Pakets.

parameters
PythonPackageUpdateParameters

Die Updateparameter für das Python-Paket.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: