次の方法で共有


AutomationAccountPython2PackageCollection.GetAsync メソッド

定義

パッケージ名で識別される Python 2 パッケージを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/python2Packages/{packageName}
  • 操作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))

パラメーター

packageName
String

Python パッケージ名。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

packageName は空の文字列であり、空でないと想定されていました。

packageName が null です。

適用対象