你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WorkbooksOperationsExtensions.ListByResourceGroupAsync 方法

定义

获取指定资源组和类别中定义的所有工作簿。

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.ApplicationInsights.Management.Models.Workbook>> ListByResourceGroupAsync (this Microsoft.Azure.Management.ApplicationInsights.Management.IWorkbooksOperations operations, string resourceGroupName, string category, System.Collections.Generic.IList<string> tags = default, bool? canFetchContent = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.ApplicationInsights.Management.IWorkbooksOperations * string * string * System.Collections.Generic.IList<string> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.ApplicationInsights.Management.Models.Workbook>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IWorkbooksOperations, resourceGroupName As String, category As String, Optional tags As IList(Of String) = Nothing, Optional canFetchContent As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of Workbook))

参数

operations
IWorkbooksOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。 此名称不区分大小写。

category
String

要返回的工作簿的类别。 可能的值包括:“workbook”、“TSG”、“performance”、“retention”

tags
IList<String>

标记显示在返回的每个工作簿上。

canFetchContent
Nullable<Boolean>

指示是否返回每个适用工作簿的完整内容的标志。 如果为 false,则仅返回工作簿的摘要内容。

cancellationToken
CancellationToken

取消标记。

返回

适用于