共用方式為


ScriptCmdletsOperationsExtensions.ListAsync 方法

定義

列出私人雲端可用的腳本 Cmdlet 資源,以在私人雲端上建立腳本執行資源

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

參數

operations
IScriptCmdletsOperations

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

resourceGroupName
String

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

privateCloudName
String

私人雲端的名稱

scriptPackageName
String

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

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於