SearchFunctions

Functions

Link copied to clipboard

Gets the details of the private endpoint connection to the search service in the given resource group. Uses Azure REST API version 2022-09-01. Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview.

suspend fun getPrivateEndpointConnection(privateEndpointConnectionName: String, resourceGroupName: String, searchServiceName: String): GetPrivateEndpointConnectionResult
Link copied to clipboard

Gets the search service with the given name in the given resource group. Uses Azure REST API version 2022-09-01. Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview.

suspend fun getService(argument: suspend GetServicePlainArgsBuilder.() -> Unit): GetServiceResult
suspend fun getService(resourceGroupName: String, searchServiceName: String): GetServiceResult
Link copied to clipboard

Gets the details of the shared private link resource managed by the search service in the given resource group. Uses Azure REST API version 2022-09-01. Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview.

suspend fun getSharedPrivateLinkResource(resourceGroupName: String, searchServiceName: String, sharedPrivateLinkResourceName: String): GetSharedPrivateLinkResourceResult
Link copied to clipboard

Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service. Uses Azure REST API version 2022-09-01. Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview.

suspend fun listAdminKey(resourceGroupName: String, searchServiceName: String): ListAdminKeyResult
Link copied to clipboard

Returns the list of query API keys for the given Azure Cognitive Search service. Uses Azure REST API version 2022-09-01. Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview.

suspend fun listQueryKeyBySearchService(resourceGroupName: String, searchServiceName: String): ListQueryKeyBySearchServiceResult