ApplicationInsightsComponentResource.GetAnalyticsItems 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.
Overloads
GetAnalyticsItems(AnalyticsItemScopePath, Nullable<ComponentItemScope>, Nullable<AnalyticsItemTypeContent>, Nullable<Boolean>, CancellationToken) |
Gets a list of Analytics Items defined within an Application Insights component.
|
GetAnalyticsItems(ItemScopePath, Nullable<ItemScope>, Nullable<ItemTypeParameter>, Nullable<Boolean>, CancellationToken) |
Gets a list of Analytics Items defined within an Application Insights component.
|
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
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.
Enum indicating the type of the Analytics item.
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)
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.
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.
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.