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

106 lines (105 loc) 3.79 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Defines a knowledge source resource for a web agent. * * Uses Azure REST API version 2025-09-01-preview. */ export declare class KnowledgeSource extends pulumi.CustomResource { /** * Get an existing KnowledgeSource resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): KnowledgeSource; /** * Returns true if the given object is an instance of KnowledgeSource. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is KnowledgeSource; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * Description of the knowledge source. */ readonly description: pulumi.Output<string | undefined>; /** * The last time the knowledge source was updated. */ readonly lastRefreshedTime: pulumi.Output<string>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * Provisioning status of the knowledge source. */ readonly provisioningState: pulumi.Output<string>; /** * Format or origin of the knowledge source. */ readonly sourceType: pulumi.Output<string>; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output<outputs.cdn.SystemDataResponse>; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output<string>; /** * Specifies the units of time for scheduling update intervals for the knowledge source. */ readonly updateFrequency: pulumi.Output<string | undefined>; /** * Endpoint or location of the knowledge source. */ readonly url: pulumi.Output<string>; /** * Create a KnowledgeSource resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: KnowledgeSourceArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a KnowledgeSource resource. */ export interface KnowledgeSourceArgs { /** * Description of the knowledge source. */ description?: pulumi.Input<string>; /** * 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>; /** * Format or origin of the knowledge source. */ sourceType: pulumi.Input<string | enums.cdn.KnowledgeSourceType>; /** * Specifies the units of time for scheduling update intervals for the knowledge source. */ updateFrequency?: pulumi.Input<string | enums.cdn.KnowledgeSourceUpdateFrequency>; /** * Endpoint or location of the knowledge source. */ url: pulumi.Input<string>; /** * The name of the web agent. */ webAgentName: pulumi.Input<string>; }