Compartir a través de


AutomationAccountResource.GetAutomationAccountPython2PackageAsync Método

Definición

Recupere 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_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationAccountPython2PackageResource>> GetAutomationAccountPython2PackageAsync (string packageName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAutomationAccountPython2PackageAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationAccountPython2PackageResource>>
override this.GetAutomationAccountPython2PackageAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationAccountPython2PackageResource>>
Public Overridable Function GetAutomationAccountPython2PackageAsync (packageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutomationAccountPython2PackageResource))

Parámetros

packageName
String

Nombre del paquete de Python.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

packageName es una cadena vacía y se espera que no esté vacía.

packageName es null.

Se aplica a