ApplicationInsightsExtensions.GetMyWorkbooks Method

Definition

Overloads

GetMyWorkbooks(ResourceGroupResource)

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

GetMyWorkbooks(SubscriptionResource, CategoryType, IEnumerable<String>, Nullable<Boolean>, CancellationToken)

Get all private workbooks defined within a specified subscription and category.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/myWorkbooks
  • Operation Id: MyWorkbooks_ListBySubscription
  • Default Api Version: 2021-03-08
  • Resource: MyWorkbookResource

GetMyWorkbooks(ResourceGroupResource)

Source:
ApplicationInsightsExtensions.cs

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

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of MyWorkbookResources and their operations over a MyWorkbookResource.

Exceptions

resourceGroupResource is null.

Applies to

GetMyWorkbooks(SubscriptionResource, CategoryType, IEnumerable<String>, Nullable<Boolean>, CancellationToken)

Source:
ApplicationInsightsExtensions.cs

Get all private workbooks defined within a specified subscription and category.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Insights/myWorkbooks
  • Operation Id: MyWorkbooks_ListBySubscription
  • Default Api Version: 2021-03-08
  • Resource: MyWorkbookResource
public static Azure.Pageable<Azure.ResourceManager.ApplicationInsights.MyWorkbookResource> GetMyWorkbooks (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 GetMyWorkbooks : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.ApplicationInsights.Models.CategoryType * seq<string> * Nullable<bool> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ApplicationInsights.MyWorkbookResource>
<Extension()>
Public Function GetMyWorkbooks (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 Pageable(Of MyWorkbookResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

category
CategoryType

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 MyWorkbookResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to