次の方法で共有


ApplicationInsightsComponentResource.GetFavorite メソッド

定義

Application Insights コンポーネント内で定義されている FavoriteId によって 1 つのお気に入りを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites/{favoriteId}
  • 操作IdFavorites_Get
public virtual Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentFavorite> GetFavorite (string favoriteId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFavorite : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentFavorite>
override this.GetFavorite : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentFavorite>
Public Overridable Function GetFavorite (favoriteId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ApplicationInsightsComponentFavorite)

パラメーター

favoriteId
String

Application Insights コンポーネントで定義されている特定のお気に入りの ID。

cancellationToken
CancellationToken

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

戻り値

例外

favoriteId は空の文字列であり、空でないと想定されていました。

favoriteId が null です。

適用対象