Sdílet prostřednictvím


Python2PackageOperationsExtensions.UpdateAsync Metoda

Definice

Aktualizujte balíček Python 2 identifikovaný názvem balíčku. 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)

Parametry

operations
IPython2PackageOperations

Skupina operací pro tuto rozšiřující metodu.

resourceGroupName
String

Název skupiny prostředků Azure.

automationAccountName
String

Název účtu Automation.

packageName
String

Název balíčku pythonu.

parameters
PythonPackageUpdateParameters

Parametry aktualizace pro balíček Python.

cancellationToken
CancellationToken

Token zrušení.

Návraty

Platí pro