共用方式為


ScriptPackagesOperationsExtensions.GetAsync 方法

定義

取得可在私人雲端上執行的腳本套件

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.ScriptPackage> GetAsync (this Microsoft.Azure.Management.Avs.IScriptPackagesOperations operations, string resourceGroupName, string privateCloudName, string scriptPackageName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Avs.IScriptPackagesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.ScriptPackage>
<Extension()>
Public Function GetAsync (operations As IScriptPackagesOperations, resourceGroupName As String, privateCloudName As String, scriptPackageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ScriptPackage)

參數

operations
IScriptPackagesOperations

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

resourceGroupName
String

資源群組的名稱。 名稱不區分大小寫。

privateCloudName
String

私人雲端的名稱

scriptPackageName
String

私人雲端中的腳本套件名稱

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於