Compartir a través de


AutomationAccountPython2PackageResource.UpdateAsync Método

Definición

Actualice el paquete de Python 2 identificado por el nombre del paquete.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python2Packages/{packageName}
  • IdPython2Package_Update de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationAccountPython2PackageResource>> UpdateAsync (Azure.ResourceManager.Automation.Models.AutomationAccountPython2PackagePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Automation.Models.AutomationAccountPython2PackagePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationAccountPython2PackageResource>>
override this.UpdateAsync : Azure.ResourceManager.Automation.Models.AutomationAccountPython2PackagePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationAccountPython2PackageResource>>
Public Overridable Function UpdateAsync (patch As AutomationAccountPython2PackagePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutomationAccountPython2PackageResource))

Parámetros

patch
AutomationAccountPython2PackagePatch

Parámetros de actualización para el paquete de Python.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

patch es null.

Se aplica a