ApplicationInsightsComponentResource.GetFavoritesAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
Application Insights コンポーネント内で定義されているお気に入りの一覧を取得します。
- 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/favorites
- 操作IdFavorites_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentFavorite> GetFavoritesAsync (Azure.ResourceManager.ApplicationInsights.Models.FavoriteType? favoriteType = default, Azure.ResourceManager.ApplicationInsights.Models.FavoriteSourceType? sourceType = default, bool? canFetchContent = default, System.Collections.Generic.IEnumerable<string> tags = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFavoritesAsync : Nullable<Azure.ResourceManager.ApplicationInsights.Models.FavoriteType> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.FavoriteSourceType> * Nullable<bool> * seq<string> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentFavorite>
override this.GetFavoritesAsync : Nullable<Azure.ResourceManager.ApplicationInsights.Models.FavoriteType> * Nullable<Azure.ResourceManager.ApplicationInsights.Models.FavoriteSourceType> * Nullable<bool> * seq<string> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.Models.ApplicationInsightsComponentFavorite>
Public Overridable Function GetFavoritesAsync (Optional favoriteType As Nullable(Of FavoriteType) = Nothing, Optional sourceType As Nullable(Of FavoriteSourceType) = Nothing, Optional canFetchContent As Nullable(Of Boolean) = Nothing, Optional tags As IEnumerable(Of String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ApplicationInsightsComponentFavorite)
パラメーター
- favoriteType
- Nullable<FavoriteType>
お気に入りの種類。 値には、共有またはユーザーを指定できます。
- sourceType
- Nullable<FavoriteSourceType>
返すお気に入りのソースの種類。 省略すると、ソースの種類は既定で 'other' になります (この列挙型には存在しません)。
該当する各お気に入りの完全なコンテンツを返すかどうかを示すフラグ。 false の場合は、お気に入りの概要コンテンツのみを返します。
- tags
- IEnumerable<String>
返される各お気に入りに存在する必要があるタグ。
- cancellationToken
- CancellationToken
使用する取り消しトークン。
戻り値
反復処理するために複数の ApplicationInsightsComponentFavorite サービス要求を受け取る可能性がある の非同期コレクション。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET