public final class SearchApiKeyCredential extends Object
| Constructor and Description |
|---|
SearchApiKeyCredential(String apiKey)
Creates an instance that is able to authorize requests to Azure Cognitive Search.
|
public SearchApiKeyCredential(String apiKey)
apiKey - a query or admin API keypublic String getApiKey()
Copyright © 2020 Microsoft Corporation. All rights reserved.