ISearchServices.GetAdminKeysAsync(String, String, CancellationToken) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得指定之 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