Share via


ApplicationInsightsComponentResource.GetAnalyticsItemAsync Method

Definition

Overloads

GetAnalyticsItemAsync(AnalyticsItemScopePath, String, String, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item
  • Operation Id: AnalyticsItems_Get
  • Default Api Version: 2015-05-01
GetAnalyticsItemAsync(ItemScopePath, String, String, CancellationToken)

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

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

GetAnalyticsItemAsync(AnalyticsItemScopePath, String, String, CancellationToken)

Source:
ApplicationInsightsComponentResource.cs

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item
  • Operation Id: AnalyticsItems_Get
  • Default Api Version: 2015-05-01
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>> GetAnalyticsItemAsync (Azure.ResourceManager.ApplicationInsights.Models.AnalyticsItemScopePath scopePath, string id = default, string name = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAnalyticsItemAsync : Azure.ResourceManager.ApplicationInsights.Models.AnalyticsItemScopePath * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>>
override this.GetAnalyticsItemAsync : Azure.ResourceManager.ApplicationInsights.Models.AnalyticsItemScopePath * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>>
Public Overridable Function GetAnalyticsItemAsync (scopePath As AnalyticsItemScopePath, Optional id As String = Nothing, Optional name As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(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.

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 to use.

Returns

Applies to

GetAnalyticsItemAsync(ItemScopePath, String, String, CancellationToken)

Source:
ApplicationInsightsComponentResource.cs

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item
  • Operation Id: AnalyticsItems_Get
  • Default Api Version: 2015-05-01
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>> GetAnalyticsItemAsync (Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath scopePath, string id = default, string name = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAnalyticsItemAsync : Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>>
override this.GetAnalyticsItemAsync : Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>>
Public Overridable Function GetAnalyticsItemAsync (scopePath As ItemScopePath, Optional id As String = Nothing, Optional name As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(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.

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 to use.

Returns

Applies to