你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ApplicationInsightsWorkbookCollection.GetAllAsync Method

Definition

Get all Workbooks defined within a specified resource group and category.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks
  • Operation Id: Workbooks_ListByResourceGroup
  • Default Api Version: 2023-06-01
  • Resource: ApplicationInsightsWorkbookResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWorkbookResource> GetAllAsync (Azure.ResourceManager.ApplicationInsights.Models.WorkbookCategoryType category, System.Collections.Generic.IEnumerable<string> tags = default, string sourceId = default, bool? canFetchContent = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Azure.ResourceManager.ApplicationInsights.Models.WorkbookCategoryType * seq<string> * string * Nullable<bool> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWorkbookResource>
override this.GetAllAsync : Azure.ResourceManager.ApplicationInsights.Models.WorkbookCategoryType * seq<string> * string * Nullable<bool> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWorkbookResource>
Public Overridable Function GetAllAsync (category As WorkbookCategoryType, Optional tags As IEnumerable(Of String) = Nothing, Optional sourceId As String = Nothing, Optional canFetchContent As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ApplicationInsightsWorkbookResource)

Parameters

category
WorkbookCategoryType

Category of workbook to return.

tags
IEnumerable<String>

Tags presents on each workbook returned.

sourceId
String

Azure Resource Id that will fetch all linked workbooks.

canFetchContent
Nullable<Boolean>

Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ApplicationInsightsWorkbookResource that may take multiple service requests to iterate over.

Applies to