Partilhar via


MockableApplicationInsightsSubscriptionResource.GetApplicationInsightsWorkbooks Method

Definition

Get all Workbooks defined within a specified subscription and category.

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

Parameters

category
WorkbookCategoryType

Category of workbook to return.

tags
IEnumerable<String>

Tags presents on each workbook returned.

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

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

Applies to