Dela via


IWorkbooksOperations.ListByResourceGroupWithHttpMessagesAsync Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.ApplicationInsights.Management.Models.Workbook>>> ListByResourceGroupWithHttpMessagesAsync (string resourceGroupName, string category, System.Collections.Generic.IList<string> tags = default, bool? canFetchContent = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByResourceGroupWithHttpMessagesAsync : string * string * System.Collections.Generic.IList<string> * Nullable<bool> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<seq<Microsoft.Azure.Management.ApplicationInsights.Management.Models.Workbook>>>
Public Function ListByResourceGroupWithHttpMessagesAsync (resourceGroupName As String, category As String, Optional tags As IList(Of String) = Nothing, Optional canFetchContent As Nullable(Of Boolean) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IEnumerable(Of Workbook)))

Parameters

resourceGroupName
String

The name of the resource group. The name is case insensitive.

category
String

Category of workbook to return. Possible values include: 'workbook', 'TSG', 'performance', 'retention'

tags
IList<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.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Applies to