WorkspacesOperationsExtensions.ListByResourceGroupAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得指定資源群組內的工作區清單。
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.BatchAI.Models.Workspace>> ListByResourceGroupAsync (this Microsoft.Azure.Management.BatchAI.IWorkspacesOperations operations, string resourceGroupName, Microsoft.Azure.Management.BatchAI.Models.WorkspacesListByResourceGroupOptions workspacesListByResourceGroupOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.BatchAI.IWorkspacesOperations * string * Microsoft.Azure.Management.BatchAI.Models.WorkspacesListByResourceGroupOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.BatchAI.Models.Workspace>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IWorkspacesOperations, resourceGroupName As String, Optional workspacesListByResourceGroupOptions As WorkspacesListByResourceGroupOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Workspace))
參數
- operations
- IWorkspacesOperations
這個擴充方法的作業群組。
- resourceGroupName
- String
資源所屬資源群組的名稱。
- workspacesListByResourceGroupOptions
- WorkspacesListByResourceGroupOptions
作業的其他參數
- cancellationToken
- CancellationToken
取消語彙基元。