Delen via


WorkspacesOperationsExtensions.ListByResourceGroupAsync Methode

Definitie

Hiermee haalt u een lijst met werkruimten binnen de opgegeven resourcegroep op.

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))

Parameters

operations
IWorkspacesOperations

De bewerkingsgroep voor deze extensiemethode.

resourceGroupName
String

Naam van de resourcegroep waartoe de resource behoort.

workspacesListByResourceGroupOptions
WorkspacesListByResourceGroupOptions

Aanvullende parameters voor de bewerking

cancellationToken
CancellationToken

Het annuleringstoken.

Retouren

Van toepassing op