import { DataSources } from "../operationsInterfaces/index.js"; import { SearchServiceClient } from "../searchServiceClient.js"; import { SearchIndexerDataSource, DataSourcesCreateOrUpdateOptionalParams, DataSourcesCreateOrUpdateResponse, DataSourcesDeleteOptionalParams, DataSourcesGetOptionalParams, DataSourcesGetResponse, DataSourcesListOptionalParams, DataSourcesListResponse, DataSourcesCreateOptionalParams, DataSourcesCreateResponse } from "../models/index.js"; /** Class containing DataSources operations. */ export declare class DataSourcesImpl implements DataSources { private readonly client; /** * Initialize a new instance of the class DataSources class. * @param client Reference to the service client */ constructor(client: SearchServiceClient); /** * Creates a new datasource or updates a datasource if it already exists. * @param dataSourceName The name of the datasource to create or update. * @param dataSource The definition of the datasource to create or update. * @param options The options parameters. */ createOrUpdate(dataSourceName: string, dataSource: SearchIndexerDataSource, options?: DataSourcesCreateOrUpdateOptionalParams): Promise; /** * Deletes a datasource. * @param dataSourceName The name of the datasource to delete. * @param options The options parameters. */ delete(dataSourceName: string, options?: DataSourcesDeleteOptionalParams): Promise; /** * Retrieves a datasource definition. * @param dataSourceName The name of the datasource to retrieve. * @param options The options parameters. */ get(dataSourceName: string, options?: DataSourcesGetOptionalParams): Promise; /** * Lists all datasources available for a search service. * @param options The options parameters. */ list(options?: DataSourcesListOptionalParams): Promise; /** * Creates a new datasource. * @param dataSource The definition of the datasource to create. * @param options The options parameters. */ create(dataSource: SearchIndexerDataSource, options?: DataSourcesCreateOptionalParams): Promise; } //# sourceMappingURL=dataSources.d.ts.map