@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.85 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a knowledge source with the specified name within a web agent.
*
* Uses Azure REST API version 2025-09-01-preview.
*/
export declare function getKnowledgeSource(args: GetKnowledgeSourceArgs, opts?: pulumi.InvokeOptions): Promise<GetKnowledgeSourceResult>;
export interface GetKnowledgeSourceArgs {
/**
* The name of the knowledge source.
*/
knowledgeSourceName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The name of the web agent.
*/
webAgentName: string;
}
/**
* Defines a knowledge source resource for a web agent.
*/
export interface GetKnowledgeSourceResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Description of the knowledge source.
*/
readonly description?: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* The last time the knowledge source was updated.
*/
readonly lastRefreshedTime: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Provisioning status of the knowledge source.
*/
readonly provisioningState: string;
/**
* Format or origin of the knowledge source.
*/
readonly sourceType: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.cdn.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* Specifies the units of time for scheduling update intervals for the knowledge source.
*/
readonly updateFrequency?: string;
/**
* Endpoint or location of the knowledge source.
*/
readonly url: string;
}
/**
* Gets a knowledge source with the specified name within a web agent.
*
* Uses Azure REST API version 2025-09-01-preview.
*/
export declare function getKnowledgeSourceOutput(args: GetKnowledgeSourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetKnowledgeSourceResult>;
export interface GetKnowledgeSourceOutputArgs {
/**
* The name of the knowledge source.
*/
knowledgeSourceName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the web agent.
*/
webAgentName: pulumi.Input<string>;
}