listAdminKey

Gets the primary and secondary admin API keys for the specified search service. Uses Azure REST API version 2023-11-01. Other available API versions: 2022-09-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native search [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

Response containing the primary and secondary admin API keys for a given 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 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 search service associated with the specified resource group.

See also


Return

Response containing the primary and secondary admin API keys for a given search service.

Parameters

argument

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

See also