MockableApplicationInsightsSubscriptionResource.GetWorkbooks Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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: 2022-04-01
- Resource: WorkbookResource
public virtual Azure.Pageable<Azure.ResourceManager.ApplicationInsights.WorkbookResource> GetWorkbooks (Azure.ResourceManager.ApplicationInsights.Models.CategoryType category, System.Collections.Generic.IEnumerable<string> tags = default, bool? canFetchContent = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWorkbooks : Azure.ResourceManager.ApplicationInsights.Models.CategoryType * seq<string> * Nullable<bool> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApplicationInsights.WorkbookResource>
override this.GetWorkbooks : Azure.ResourceManager.ApplicationInsights.Models.CategoryType * seq<string> * Nullable<bool> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApplicationInsights.WorkbookResource>
Public Overridable Function GetWorkbooks (category As CategoryType, Optional tags As IEnumerable(Of String) = Nothing, Optional canFetchContent As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of WorkbookResource)
Parameters
- category
- CategoryType
Category of workbook to return.
- tags
- IEnumerable<String>
Tags presents on each workbook returned.
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 WorkbookResource that may take multiple service requests to iterate over.
Applies to
Azure SDK for .NET