Partilhar via


AutomationAccountPython2PackageResource.Update Método

Definição

Atualize o pacote python 2 identificado pelo nome do pacote.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python2Packages/{packageName}
  • Operação 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)

Parâmetros

patch
AutomationAccountPython2PackagePatch

Os parâmetros de atualização para o pacote python.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a