共用方式為


EasmWorkspaceCollection.GetAll(CancellationToken) Method

Definition

Returns a list of workspaces in the given resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Easm/workspaces
  • Operation Id: Workspaces_ListByResourceGroup
public virtual Azure.Pageable<Azure.ResourceManager.DefenderEasm.EasmWorkspaceResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DefenderEasm.EasmWorkspaceResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DefenderEasm.EasmWorkspaceResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of EasmWorkspaceResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of EasmWorkspaceResource that may take multiple service requests to iterate over.

Applies to