UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

52 lines (51 loc) 2.7 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Returns the list of query API keys for the given Azure AI Search service. * * Uses Azure REST API version 2025-05-01. * * Other available API versions: 2022-09-01, 2023-11-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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listQueryKeyBySearchService(args: ListQueryKeyBySearchServiceArgs, opts?: pulumi.InvokeOptions): Promise<ListQueryKeyBySearchServiceResult>; export interface ListQueryKeyBySearchServiceArgs { /** * The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. */ resourceGroupName: string; /** * The name of the Azure AI Search service associated with the specified resource group. */ searchServiceName: string; } /** * Response containing the query API keys for a given Azure AI Search service. */ export interface ListQueryKeyBySearchServiceResult { /** * Request URL that can be used to query next page of query keys. Returned when the total number of requested query keys exceed maximum page size. */ readonly nextLink: string; /** * The query keys for the Azure AI Search service. */ readonly value: outputs.search.QueryKeyResponse[]; } /** * Returns the list of query API keys for the given Azure AI Search service. * * Uses Azure REST API version 2025-05-01. * * Other available API versions: 2022-09-01, 2023-11-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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listQueryKeyBySearchServiceOutput(args: ListQueryKeyBySearchServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListQueryKeyBySearchServiceResult>; export interface ListQueryKeyBySearchServiceOutputArgs { /** * The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. */ resourceGroupName: pulumi.Input<string>; /** * The name of the Azure AI Search service associated with the specified resource group. */ searchServiceName: pulumi.Input<string>; }