Share via


EasmLabelCollection.GetAllAsync(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.AsyncPageable<Azure.ResourceManager.DefenderEasm.EasmLabelResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DefenderEasm.EasmLabelResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DefenderEasm.EasmLabelResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of EasmLabelResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to