import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This data source provides the list of Data Sources in Oracle Cloud Infrastructure Cloud Guard service.
 *
 * Returns a list of all data sources (DataSource resources) for a compartment
 * identified by compartmentId. List is returned in a DataSourceCollection resource
 * with page of DataSourceSummary resources.
 *
 * The ListAdhocQueries operation returns only the adhoc queries in 'compartmentId' passed.
 * The list does not include any subcompartments of the compartmentId passed.
 *
 * The parameter `accessLevel` specifies whether to return only those compartments for which the
 * requestor has INSPECT permissions on at least one resource directly
 * or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
 * Principal doesn't have access to even one of the child compartments. This is valid only when
 * `compartmentIdInSubtree` is set to `true`.
 *
 * The parameter `compartmentIdInSubtree` applies when you perform ListAdhocQueries on the
 * `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
 * To get a full list of all compartments and subcompartments in the tenancy (root compartment),
 * set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testDataSources = oci.cloudguard.getDataSources({
 *     compartmentId: compartmentId,
 *     accessLevel: dataSourceAccessLevel,
 *     compartmentIdInSubtree: dataSourceCompartmentIdInSubtree === "true",
 *     dataSourceFeedProvider: dataSourceDataSourceFeedProvider,
 *     displayName: dataSourceDisplayName,
 *     loggingQueryType: dataSourceLoggingQueryType,
 *     state: dataSourceState,
 * });
 * ```
 */
export declare function getDataSources(args: GetDataSourcesArgs, opts?: pulumi.InvokeOptions): Promise<GetDataSourcesResult>;
/**
 * A collection of arguments for invoking getDataSources.
 */
export interface GetDataSourcesArgs {
    /**
     * Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed.
     */
    accessLevel?: string;
    /**
     * The OCID of the compartment in which to list resources.
     */
    compartmentId: string;
    /**
     * Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`.
     */
    compartmentIdInSubtree?: boolean;
    /**
     * A filter to return only resources when their feed provider matches the given feed provider (`DataSourceFeedProvider` resource).
     */
    dataSourceFeedProvider?: string;
    /**
     * A filter to return only resources that match the entire display name given.
     */
    displayName?: string;
    filters?: inputs.CloudGuard.GetDataSourcesFilter[];
    /**
     * A filter to return only resources where their query type matches the given LoggingQueryType.
     */
    loggingQueryType?: string;
    /**
     * The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
     */
    state?: string;
}
/**
 * A collection of values returned by getDataSources.
 */
export interface GetDataSourcesResult {
    readonly accessLevel?: string;
    /**
     * Compartment OCID of data source
     */
    readonly compartmentId: string;
    readonly compartmentIdInSubtree?: boolean;
    /**
     * The list of data_source_collection.
     */
    readonly dataSourceCollections: outputs.CloudGuard.GetDataSourcesDataSourceCollection[];
    /**
     * Possible type of dataSourceFeed Provider(LoggingQuery)
     */
    readonly dataSourceFeedProvider?: string;
    /**
     * Display name of the data source
     */
    readonly displayName?: string;
    readonly filters?: outputs.CloudGuard.GetDataSourcesFilter[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * Type of logging query for data source (Sighting/Insight)
     */
    readonly loggingQueryType?: string;
    /**
     * The current lifecycle state of the resource.
     */
    readonly state?: string;
}
/**
 * This data source provides the list of Data Sources in Oracle Cloud Infrastructure Cloud Guard service.
 *
 * Returns a list of all data sources (DataSource resources) for a compartment
 * identified by compartmentId. List is returned in a DataSourceCollection resource
 * with page of DataSourceSummary resources.
 *
 * The ListAdhocQueries operation returns only the adhoc queries in 'compartmentId' passed.
 * The list does not include any subcompartments of the compartmentId passed.
 *
 * The parameter `accessLevel` specifies whether to return only those compartments for which the
 * requestor has INSPECT permissions on at least one resource directly
 * or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
 * Principal doesn't have access to even one of the child compartments. This is valid only when
 * `compartmentIdInSubtree` is set to `true`.
 *
 * The parameter `compartmentIdInSubtree` applies when you perform ListAdhocQueries on the
 * `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
 * To get a full list of all compartments and subcompartments in the tenancy (root compartment),
 * set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testDataSources = oci.cloudguard.getDataSources({
 *     compartmentId: compartmentId,
 *     accessLevel: dataSourceAccessLevel,
 *     compartmentIdInSubtree: dataSourceCompartmentIdInSubtree === "true",
 *     dataSourceFeedProvider: dataSourceDataSourceFeedProvider,
 *     displayName: dataSourceDisplayName,
 *     loggingQueryType: dataSourceLoggingQueryType,
 *     state: dataSourceState,
 * });
 * ```
 */
export declare function getDataSourcesOutput(args: GetDataSourcesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDataSourcesResult>;
/**
 * A collection of arguments for invoking getDataSources.
 */
export interface GetDataSourcesOutputArgs {
    /**
     * Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed.
     */
    accessLevel?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the compartment in which to list resources.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`.
     */
    compartmentIdInSubtree?: pulumi.Input<boolean | undefined>;
    /**
     * A filter to return only resources when their feed provider matches the given feed provider (`DataSourceFeedProvider` resource).
     */
    dataSourceFeedProvider?: pulumi.Input<string | undefined>;
    /**
     * A filter to return only resources that match the entire display name given.
     */
    displayName?: pulumi.Input<string | undefined>;
    filters?: pulumi.Input<pulumi.Input<inputs.CloudGuard.GetDataSourcesFilterArgs>[] | undefined>;
    /**
     * A filter to return only resources where their query type matches the given LoggingQueryType.
     */
    loggingQueryType?: pulumi.Input<string | undefined>;
    /**
     * The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
     */
    state?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getDataSources.d.ts.map