Udostępnij za pośrednictwem


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: 2020-08-01
  • Resource: OperationalInsightsDataSourceResource
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.

Applies to