Compartir a través de


AutomationAccountResource.GetAutomationAccountPython2Package 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 Azure.Response<Azure.ResourceManager.Automation.AutomationAccountPython2PackageResource> GetAutomationAccountPython2Package (string packageName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAutomationAccountPython2Package : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationAccountPython2PackageResource>
override this.GetAutomationAccountPython2Package : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationAccountPython2PackageResource>
Public Overridable Function GetAutomationAccountPython2Package (packageName As String, Optional cancellationToken As CancellationToken = Nothing) As 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 esperaba que no estuviera vacía.

packageName es null.

Se aplica a