Share via


WorkspacesOperationsExtensions.ListByResourceGroup Method

Definition

Gets a list of Workspaces within the specified resource group.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.BatchAI.Models.Workspace> ListByResourceGroup (this Microsoft.Azure.Management.BatchAI.IWorkspacesOperations operations, string resourceGroupName, Microsoft.Azure.Management.BatchAI.Models.WorkspacesListByResourceGroupOptions workspacesListByResourceGroupOptions = default);
static member ListByResourceGroup : Microsoft.Azure.Management.BatchAI.IWorkspacesOperations * string * Microsoft.Azure.Management.BatchAI.Models.WorkspacesListByResourceGroupOptions -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.BatchAI.Models.Workspace>
<Extension()>
Public Function ListByResourceGroup (operations As IWorkspacesOperations, resourceGroupName As String, Optional workspacesListByResourceGroupOptions As WorkspacesListByResourceGroupOptions = Nothing) As IPage(Of Workspace)

Parameters

operations
IWorkspacesOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

workspacesListByResourceGroupOptions
WorkspacesListByResourceGroupOptions

Additional parameters for the operation

Returns

Applies to