Udostępnij za pośrednictwem


AnalyticsItemsOperationsExtensions.ListAsync Method

Definition

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

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentAnalyticsItem>> ListAsync (this Microsoft.Azure.Management.ApplicationInsights.Management.IAnalyticsItemsOperations operations, string resourceGroupName, string resourceName, string scopePath, string scope = default, string type = default, bool? includeContent = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.ApplicationInsights.Management.IAnalyticsItemsOperations * string * string * string * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentAnalyticsItem>>
<Extension()>
Public Function ListAsync (operations As IAnalyticsItemsOperations, resourceGroupName As String, resourceName As String, scopePath As String, Optional scope As String = Nothing, Optional type As String = Nothing, Optional includeContent As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of ApplicationInsightsComponentAnalyticsItem))

Parameters

operations
IAnalyticsItemsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

resourceName
String

The name of the Application Insights component resource.

scopePath
String

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. Possible values include: 'analyticsItems', 'myanalyticsItems'

scope
String

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. Possible values include: 'shared', 'user'

type
String

Enum indicating the type of the Analytics item. Possible values include: 'none', 'query', 'function', 'folder', 'recent'

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.

Returns

Applies to