共用方式為


ISearchServices.GetAdminKeysAsync(String, String, CancellationToken) 方法

定義

取得指定之 Azure 搜尋服務的主要和次要系統管理員 API 金鑰。

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Search.Fluent.IAdminKeys> GetAdminKeysAsync (string resourceGroupName, string searchServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAdminKeysAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Search.Fluent.IAdminKeys>
Public Function GetAdminKeysAsync (resourceGroupName As String, searchServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IAdminKeys)

參數

resourceGroupName
String

目前訂用帳戶內的資源組名;您可以從 Azure Resource Manager API 或入口網站取得此值。

searchServiceName
String

與指定資源群組相關聯的 Azure 搜尋服務名稱。

cancellationToken
CancellationToken

傳回

適用於