Share via


ApplicationInsightsComponentResource.GetAnalyticsItems Method

Definition

Overloads

GetAnalyticsItems(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
GetAnalyticsItems(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

GetAnalyticsItems(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.Pageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem> GetAnalyticsItems (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 GetAnalyticsItems : Azure.ResourceManager.ApplicationInsights.Models.AnalyticsItemScopePath * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ComponentItemScope> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.AnalyticsItemTypeContent> * Nullable<bool> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>
override this.GetAnalyticsItems : Azure.ResourceManager.ApplicationInsights.Models.AnalyticsItemScopePath * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ComponentItemScope> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.AnalyticsItemTypeContent> * Nullable<bool> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>
Public Overridable Function GetAnalyticsItems (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 Pageable(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

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

Applies to

GetAnalyticsItems(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.Pageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem> GetAnalyticsItems (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 GetAnalyticsItems : Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ItemScope> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ItemTypeParameter> * Nullable<bool> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>
override this.GetAnalyticsItems : Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ItemScope> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.ItemTypeParameter> * Nullable<bool> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>
Public Overridable Function GetAnalyticsItems (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 Pageable(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

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

Applies to