次の方法で共有


ApplicationInsightsComponentResource.GetAnalyticsItemAsync メソッド

定義

Application Insights コンポーネント内で定義されている特定の分析アイテムを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}/item
  • 操作IdAnalyticsItems_Get
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))

パラメーター

scopePath
ItemScopePath

この項目定義が特定のユーザーによって所有されているか、Application Insights コンポーネントにアクセスできるすべてのユーザー間で共有されているかどうかを示す列挙型。

id
String

Application Insights コンポーネントで定義されている特定の項目の ID。

name
String

Application Insights コンポーネントで定義されている特定の項目の名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

適用対象