共用方式為


Python2PackageOperationsExtensions.GetAsync 方法

定義

擷取封裝名稱所識別的 python 2 套件。 http://aka.ms/azureautomationsdk/moduleoperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Module> GetAsync (this Microsoft.Azure.Management.Automation.IPython2PackageOperations operations, string resourceGroupName, string automationAccountName, string packageName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Automation.IPython2PackageOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Module>
<Extension()>
Public Function GetAsync (operations As IPython2PackageOperations, resourceGroupName As String, automationAccountName As String, packageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Module)

參數

operations
IPython2PackageOperations

這個擴充方法的作業群組。

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

packageName
String

python 套件名稱。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於