Compartir a través de


WorkspacesOperationsExtensions.ListByResourceGroupAsync Método

Definición

Obtiene una lista de áreas de trabajo dentro del grupo de recursos especificado.

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

Parámetros

operations
IWorkspacesOperations

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos al que pertenece el recurso.

workspacesListByResourceGroupOptions
WorkspacesListByResourceGroupOptions

Parámetros adicionales para la operación

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a