@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.13 kB
TypeScript
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>;
}