ApplicationInsightsComponentResource.GetAnalyticsItemsAsync Method

Definition

Overloads

GetAnalyticsItemsAsync(ItemScopePath, Nullable<ItemScope>, Nullable<ItemTypeParameter>, Nullable<Boolean>, CancellationToken)

Gets a list of Analytics Items defined within an Application Insights component.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}
  • Operation Id: AnalyticsItems_List
  • Default Api Version: 2015-05-01
GetAnalyticsItemsAsync(AnalyticsItemScopePath, Nullable<ComponentItemScope>, Nullable<AnalyticsItemTypeContent>, Nullable<Boolean>, CancellationToken)

Gets a list of Analytics Items defined within an Application Insights component.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}
  • Operation Id: AnalyticsItems_List
  • Default Api Version: 2015-05-01

GetAnalyticsItemsAsync(ItemScopePath, Nullable<ItemScope>, Nullable<ItemTypeParameter>, Nullable<Boolean>, CancellationToken)

Source:
ApplicationInsightsComponentResource.cs

Gets a list of Analytics Items defined within an Application Insights component.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}
  • Operation Id: AnalyticsItems_List
  • Default Api Version: 2015-05-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem> GetAnalyticsItemsAsync (Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath scopePath, Azure.ResourceManager.ApplicationInsights.Models.ItemScope? scope = default, Azure.ResourceManager.ApplicationInsights.Models.ItemTypeParameter? type = default, bool? includeContent = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAnalyticsItemsAsync : Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ItemScope> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ItemTypeParameter> * Nullable<bool> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>
override this.GetAnalyticsItemsAsync : Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ItemScope> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ItemTypeParameter> * Nullable<bool> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>
Public Overridable Function GetAnalyticsItemsAsync (scopePath As ItemScopePath, Optional scope As Nullable(Of ItemScope) = Nothing, Optional type As Nullable(Of ItemTypeParameter) = Nothing, Optional includeContent As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ApplicationInsightsComponentAnalyticsItem)

Parameters

scopePath
ItemScopePath

Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.

scope
Nullable<ItemScope>

Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.

type
Nullable<ItemTypeParameter>

Enum indicating the type of the Analytics item.

includeContent
Nullable<Boolean>

Flag indicating whether or not to return the content of each applicable item. If false, only return the item information.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to

GetAnalyticsItemsAsync(AnalyticsItemScopePath, Nullable<ComponentItemScope>, Nullable<AnalyticsItemTypeContent>, Nullable<Boolean>, CancellationToken)

Source:
ApplicationInsightsComponentResource.cs

Gets a list of Analytics Items defined within an Application Insights component.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}
  • Operation Id: AnalyticsItems_List
  • Default Api Version: 2015-05-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem> GetAnalyticsItemsAsync (Azure.ResourceManager.ApplicationInsights.Models.AnalyticsItemScopePath scopePath, Azure.ResourceManager.ApplicationInsights.Models.ComponentItemScope? scope = default, Azure.ResourceManager.ApplicationInsights.Models.AnalyticsItemTypeContent? type = default, bool? includeContent = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAnalyticsItemsAsync : Azure.ResourceManager.ApplicationInsights.Models.AnalyticsItemScopePath * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ComponentItemScope> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.AnalyticsItemTypeContent> * Nullable<bool> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>
override this.GetAnalyticsItemsAsync : Azure.ResourceManager.ApplicationInsights.Models.AnalyticsItemScopePath * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ComponentItemScope> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.AnalyticsItemTypeContent> * Nullable<bool> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>
Public Overridable Function GetAnalyticsItemsAsync (scopePath As AnalyticsItemScopePath, Optional scope As Nullable(Of ComponentItemScope) = Nothing, Optional type As Nullable(Of AnalyticsItemTypeContent) = Nothing, Optional includeContent As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ApplicationInsightsComponentAnalyticsItem)

Parameters

scopePath
AnalyticsItemScopePath

Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.

scope
Nullable<ComponentItemScope>

Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.

type
Nullable<AnalyticsItemTypeContent>

Enum indicating the type of the Analytics item.

includeContent
Nullable<Boolean>

Flag indicating whether or not to return the content of each applicable item. If false, only return the item information.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to