OperationalInsightsDataSourceCollection.GetAllAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.AsyncPageable<Azure.ResourceManager.OperationalInsights.OperationalInsightsDataSourceResource> GetAllAsync (string filter, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.OperationalInsights.OperationalInsightsDataSourceResource>
override this.GetAllAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.OperationalInsights.OperationalInsightsDataSourceResource>
Public Overridable Function GetAllAsync (filter As String, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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
An async collection of OperationalInsightsDataSourceResource that may take multiple service requests to iterate over.
Exceptions
filter
is null.
Applies to
Azure SDK for .NET