Condividi tramite


AnalyticsItemsOperationsExtensions.GetAsync Method

Definition

Gets a specific Analytics Items defined within an Application Insights component.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentAnalyticsItem> GetAsync (this Microsoft.Azure.Management.ApplicationInsights.Management.IAnalyticsItemsOperations operations, string resourceGroupName, string resourceName, string scopePath, string id = default, string name = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.ApplicationInsights.Management.IAnalyticsItemsOperations * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentAnalyticsItem>
<Extension()>
Public Function GetAsync (operations As IAnalyticsItemsOperations, resourceGroupName As String, resourceName As String, scopePath As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(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'

id
String

The Id of a specific item defined in the Application Insights component

name
String

The name of a specific item defined in the Application Insights component

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to