AutomationAccountPython2PackageCollection.GetAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Rufen Sie das Python 2-Paket ab, das durch den Paketnamen identifiziert wird.
- Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccounts}/python2Packages/{packageName}
- Vorgangs-IdPython2Package_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationAccountPython2PackageResource>> GetAsync (string packageName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationAccountPython2PackageResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationAccountPython2PackageResource>>
Public Overridable Function GetAsync (packageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutomationAccountPython2PackageResource))
Parameter
- packageName
- String
Der Name des Python-Pakets.
- cancellationToken
- CancellationToken
Das zu verwendende Abbruchtoken.
Gibt zurück
Ausnahmen
packageName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.
packageName ist NULL.