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

ServicesOperationsExtensions.ListByResourceGroupAsync 方法

定义

获取给定资源组中所有搜索服务的列表。 https://aka.ms/search-manage

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Search.Fluent.Models.SearchServiceInner>> ListByResourceGroupAsync (this Microsoft.Azure.Management.Search.Fluent.IServicesOperations operations, string resourceGroupName, Microsoft.Azure.Management.Search.Fluent.Models.SearchManagementRequestOptionsInner searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.Search.Fluent.IServicesOperations * string * Microsoft.Azure.Management.Search.Fluent.Models.SearchManagementRequestOptionsInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Search.Fluent.Models.SearchServiceInner>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IServicesOperations, resourceGroupName As String, Optional searchManagementRequestOptions As SearchManagementRequestOptionsInner = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of SearchServiceInner))

参数

operations
IServicesOperations

此扩展方法的操作组。

resourceGroupName
String

当前订阅中资源组的名称。 可以从 Azure 资源管理器 API 或门户获取此值。

searchManagementRequestOptions
SearchManagementRequestOptionsInner

操作的其他参数

cancellationToken
CancellationToken

取消标记。

返回

适用于