ApplicationInsightsExtensions.GetWorkbooksAsync メソッド

定義

指定したサブスクリプションとカテゴリ内で定義されているすべてのブックを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Insights/workbooks
  • 操作IdWorkbooks_ListBySubscription
public static Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.WorkbookResource> GetWorkbooksAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.ApplicationInsights.Models.CategoryType category, System.Collections.Generic.IEnumerable<string> tags = default, bool? canFetchContent = default, System.Threading.CancellationToken cancellationToken = default);
static member GetWorkbooksAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.ApplicationInsights.Models.CategoryType * seq<string> * Nullable<bool> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.WorkbookResource>
<Extension()>
Public Function GetWorkbooksAsync (subscriptionResource As SubscriptionResource, category As CategoryType, Optional tags As IEnumerable(Of String) = Nothing, Optional canFetchContent As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of WorkbookResource)

パラメーター

subscriptionResource
SubscriptionResource

SubscriptionResourceメソッドが実行するインスタンス。

category
CategoryType

返すブックのカテゴリ。

tags
IEnumerable<String>

返される各ブックにタグが表示されます。

canFetchContent
Nullable<Boolean>

該当する各ブックの完全なコンテンツを返すかどうかを示すフラグ。 false の場合は、ブックの概要コンテンツのみを返します。

cancellationToken
CancellationToken

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

戻り値

反復処理するために複数の WorkbookResource サービス要求を受け取る可能性がある の非同期コレクション。

適用対象