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

59 lines (58 loc) 2.13 kB
import * as pulumi from "@pulumi/pulumi"; /** * Lists the QnA Maker endpoint keys * * Uses Azure REST API version 2023-09-15-preview. * * Other available API versions: 2022-09-15. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native botservice [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listQnAMakerEndpointKey(args?: ListQnAMakerEndpointKeyArgs, opts?: pulumi.InvokeOptions): Promise<ListQnAMakerEndpointKeyResult>; export interface ListQnAMakerEndpointKeyArgs { /** * Subscription key which provides access to this API. */ authkey?: string; /** * the host name of the QnA Maker endpoint */ hostname?: string; } /** * Schema for EndpointKeys generate/refresh operations. */ export interface ListQnAMakerEndpointKeyResult { /** * Current version of runtime. */ readonly installedVersion?: string; /** * Latest version of runtime. */ readonly lastStableVersion?: string; /** * Primary Access Key. */ readonly primaryEndpointKey?: string; /** * Secondary Access Key. */ readonly secondaryEndpointKey?: string; } /** * Lists the QnA Maker endpoint keys * * Uses Azure REST API version 2023-09-15-preview. * * Other available API versions: 2022-09-15. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native botservice [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listQnAMakerEndpointKeyOutput(args?: ListQnAMakerEndpointKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListQnAMakerEndpointKeyResult>; export interface ListQnAMakerEndpointKeyOutputArgs { /** * Subscription key which provides access to this API. */ authkey?: pulumi.Input<string>; /** * the host name of the QnA Maker endpoint */ hostname?: pulumi.Input<string>; }