OperationalInsightsDataSourceCollection.GetAll Method

Definition

Gets the first page of data source instances in a workspace with the link to the next page.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources.
  • Operation Id. : DataSources_ListByWorkspace.
  • Default Api Version. : 2025-07-01.
public virtual Azure.Pageable<Azure.ResourceManager.OperationalInsights.OperationalInsightsDataSourceResource> GetAll(string filter, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.OperationalInsights.OperationalInsightsDataSourceResource>
override this.GetAll : string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.OperationalInsights.OperationalInsightsDataSourceResource>
Public Overridable Function GetAll (filter As String, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of OperationalInsightsDataSourceResource)

Parameters

filter
String

The filter to apply on the operation.

skipToken
String

Starting point of the collection of data source instances.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

filter is null.

filter is an empty string, and was expected to be non-empty.

Applies to