Freigeben über


AutomationAccountPython2PackageResource.Update Methode

Definition

Aktualisieren Sie das python 2-Paket, das durch den Paketnamen identifiziert wird.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python2Packages/{packageName}
  • Vorgang IdPython2Package_Update
public virtual Azure.Response<Azure.ResourceManager.Automation.AutomationAccountPython2PackageResource> Update (Azure.ResourceManager.Automation.Models.AutomationAccountPython2PackagePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Automation.Models.AutomationAccountPython2PackagePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationAccountPython2PackageResource>
override this.Update : Azure.ResourceManager.Automation.Models.AutomationAccountPython2PackagePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationAccountPython2PackageResource>
Public Overridable Function Update (patch As AutomationAccountPython2PackagePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AutomationAccountPython2PackageResource)

Parameter

patch
AutomationAccountPython2PackagePatch

Die Updateparameter für das Python-Paket.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: