Share via


MockableDefenderEasmSubscriptionResource.GetEasmWorkspaces Method

Definition

Returns a list of workspaces under the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Easm/workspaces
  • Operation Id: Workspaces_ListBySubscription
public virtual Azure.Pageable<Azure.ResourceManager.DefenderEasm.EasmWorkspaceResource> GetEasmWorkspaces (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEasmWorkspaces : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DefenderEasm.EasmWorkspaceResource>
override this.GetEasmWorkspaces : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DefenderEasm.EasmWorkspaceResource>
Public Overridable Function GetEasmWorkspaces (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