listAdminKey

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.

Return

Response containing the primary and secondary admin API keys for a given Azure Cognitive Search service.

Parameters

argument

null


suspend fun listAdminKey(resourceGroupName: String, searchServiceName: String): ListAdminKeyResult

Return

Response containing the primary and secondary admin API keys for a given Azure Cognitive Search service.

Parameters

resourceGroupName

The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.

searchServiceName

The name of the Azure Cognitive Search service associated with the specified resource group.

See also


Return

Response containing the primary and secondary admin API keys for a given Azure Cognitive Search service.

Parameters

argument

Builder for com.pulumi.azurenative.search.kotlin.inputs.ListAdminKeyPlainArgs.

See also