Partager via


ApplicationInsightsComponentResource.GetAnalyticsItem Method

Definition

Overloads

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

GetAnalyticsItem(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 Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem> GetAnalyticsItem (Azure.ResourceManager.ApplicationInsights.Models.AnalyticsItemScopePath scopePath, string id = default, string name = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAnalyticsItem : Azure.ResourceManager.ApplicationInsights.Models.AnalyticsItemScopePath * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>
override this.GetAnalyticsItem : Azure.ResourceManager.ApplicationInsights.Models.AnalyticsItemScopePath * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>
Public Overridable Function GetAnalyticsItem (scopePath As AnalyticsItemScopePath, Optional id As String = Nothing, Optional name As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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

GetAnalyticsItem(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 Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem> GetAnalyticsItem (Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath scopePath, string id = default, string name = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAnalyticsItem : Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>
override this.GetAnalyticsItem : Azure.ResourceManager.ApplicationInsights.Models.ItemScopePath * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentAnalyticsItem>
Public Overridable Function GetAnalyticsItem (scopePath As ItemScopePath, Optional id As String = Nothing, Optional name As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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