共用方式為


OperationsExtensions.ListAsync(IOperations, CancellationToken) 方法

定義

列出所有可用的自動化 REST API 作業。

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Automation.Models.Operation>> ListAsync (this Microsoft.Azure.Management.Automation.IOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Automation.IOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Automation.Models.Operation>>
<Extension()>
Public Function ListAsync (operations As IOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of Operation))

參數

operations
IOperations

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

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於