ApplicationInsightsExtensions.GetApplicationInsightsWorkbooks Method

Definition

Overloads

GetApplicationInsightsWorkbooks(ResourceGroupResource)

Gets a collection of ApplicationInsightsWorkbookResources in the ResourceGroupResource. MockingTo mock this method, please mock GetApplicationInsightsWorkbooks() instead.

GetApplicationInsightsWorkbooks(SubscriptionResource, WorkbookCategoryType, IEnumerable<String>, Nullable<Boolean>, CancellationToken)

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

GetApplicationInsightsWorkbooks(ResourceGroupResource)

Source:
ApplicationInsightsExtensions.cs

Gets a collection of ApplicationInsightsWorkbookResources in the ResourceGroupResource. MockingTo mock this method, please mock GetApplicationInsightsWorkbooks() instead.

public static Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWorkbookCollection GetApplicationInsightsWorkbooks (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetApplicationInsightsWorkbooks : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWorkbookCollection
<Extension()>
Public Function GetApplicationInsightsWorkbooks (resourceGroupResource As ResourceGroupResource) As ApplicationInsightsWorkbookCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of ApplicationInsightsWorkbookResources and their operations over a ApplicationInsightsWorkbookResource.

Exceptions

resourceGroupResource is null.

Applies to

GetApplicationInsightsWorkbooks(SubscriptionResource, WorkbookCategoryType, IEnumerable<String>, Nullable<Boolean>, CancellationToken)

Source:
ApplicationInsightsExtensions.cs

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 static Azure.Pageable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWorkbookResource> GetApplicationInsightsWorkbooks (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.ApplicationInsights.Models.WorkbookCategoryType category, System.Collections.Generic.IEnumerable<string> tags = default, bool? canFetchContent = default, System.Threading.CancellationToken cancellationToken = default);
static member GetApplicationInsightsWorkbooks : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.ApplicationInsights.Models.WorkbookCategoryType * seq<string> * Nullable<bool> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsWorkbookResource>
<Extension()>
Public Function GetApplicationInsightsWorkbooks (subscriptionResource As SubscriptionResource, 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

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

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.

Exceptions

subscriptionResource is null.

Applies to