import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets the specified search application. **Note:** This API requires an admin account to execute. */ export declare function getSearchApplication(args: GetSearchApplicationArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetSearchApplicationArgs { debugOptionsEnableDebugging?: boolean; searchapplicationId: string; } export interface GetSearchApplicationResult { /** * Retrictions applied to the configurations. The maximum number of elements is 10. */ readonly dataSourceRestrictions: outputs.cloudsearch.v1.DataSourceRestrictionResponse[]; /** * The default fields for returning facet results. The sources specified here also have been included in data_source_restrictions above. */ readonly defaultFacetOptions: outputs.cloudsearch.v1.FacetOptionsResponse[]; /** * The default options for sorting the search results */ readonly defaultSortOptions: outputs.cloudsearch.v1.SortOptionsResponse; /** * Display name of the Search Application. The maximum length is 300 characters. */ readonly displayName: string; /** * Indicates whether audit logging is on/off for requests made for the search application in query APIs. */ readonly enableAuditLog: boolean; /** * The name of the Search Application. Format: searchapplications/{application_id}. */ readonly name: string; /** * IDs of the Long Running Operations (LROs) currently running for this schema. Output only field. */ readonly operationIds: string[]; /** * The default options for query interpretation */ readonly queryInterpretationConfig: outputs.cloudsearch.v1.QueryInterpretationConfigResponse; /** * With each result we should return the URI for its thumbnail (when applicable) */ readonly returnResultThumbnailUrls: boolean; /** * Configuration for ranking results. */ readonly scoringConfig: outputs.cloudsearch.v1.ScoringConfigResponse; /** * Configuration for a sources specified in data_source_restrictions. */ readonly sourceConfig: outputs.cloudsearch.v1.SourceConfigResponse[]; } /** * Gets the specified search application. **Note:** This API requires an admin account to execute. */ export declare function getSearchApplicationOutput(args: GetSearchApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetSearchApplicationOutputArgs { debugOptionsEnableDebugging?: pulumi.Input; searchapplicationId: pulumi.Input; }