import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a search application. **Note:** This API requires an admin account to execute. */ export declare class SearchApplication extends pulumi.CustomResource { /** * Get an existing SearchApplication 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, opts?: pulumi.CustomResourceOptions): SearchApplication; /** * Returns true if the given object is an instance of SearchApplication. 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 SearchApplication; /** * Retrictions applied to the configurations. The maximum number of elements is 10. */ readonly dataSourceRestrictions: pulumi.Output; /** * The default fields for returning facet results. The sources specified here also have been included in data_source_restrictions above. */ readonly defaultFacetOptions: pulumi.Output; /** * The default options for sorting the search results */ readonly defaultSortOptions: pulumi.Output; /** * Display name of the Search Application. The maximum length is 300 characters. */ readonly displayName: pulumi.Output; /** * Indicates whether audit logging is on/off for requests made for the search application in query APIs. */ readonly enableAuditLog: pulumi.Output; /** * The name of the Search Application. Format: searchapplications/{application_id}. */ readonly name: pulumi.Output; /** * IDs of the Long Running Operations (LROs) currently running for this schema. Output only field. */ readonly operationIds: pulumi.Output; /** * The default options for query interpretation */ readonly queryInterpretationConfig: pulumi.Output; /** * With each result we should return the URI for its thumbnail (when applicable) */ readonly returnResultThumbnailUrls: pulumi.Output; /** * Configuration for ranking results. */ readonly scoringConfig: pulumi.Output; /** * Configuration for a sources specified in data_source_restrictions. */ readonly sourceConfig: pulumi.Output; /** * Create a SearchApplication 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?: SearchApplicationArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a SearchApplication resource. */ export interface SearchApplicationArgs { /** * Retrictions applied to the configurations. The maximum number of elements is 10. */ dataSourceRestrictions?: pulumi.Input[]>; /** * The default fields for returning facet results. The sources specified here also have been included in data_source_restrictions above. */ defaultFacetOptions?: pulumi.Input[]>; /** * The default options for sorting the search results */ defaultSortOptions?: pulumi.Input; /** * Display name of the Search Application. The maximum length is 300 characters. */ displayName?: pulumi.Input; /** * Indicates whether audit logging is on/off for requests made for the search application in query APIs. */ enableAuditLog?: pulumi.Input; /** * The name of the Search Application. Format: searchapplications/{application_id}. */ name?: pulumi.Input; /** * The default options for query interpretation */ queryInterpretationConfig?: pulumi.Input; /** * With each result we should return the URI for its thumbnail (when applicable) */ returnResultThumbnailUrls?: pulumi.Input; /** * Configuration for ranking results. */ scoringConfig?: pulumi.Input; /** * Configuration for a sources specified in data_source_restrictions. */ sourceConfig?: pulumi.Input[]>; }