Share via


EasmLabelCollection.GetAll(CancellationToken) Method

Definition

Returns a list of labels in the given workspace.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to