import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Data Source resource in Oracle Cloud Infrastructure Cloud Guard service. * * Returns a data source (DataSource resource) identified by dataSourceId. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDataSource = oci.cloudguard.getDataSource({ * dataSourceId: testDataSourceOciCloudGuardDataSource.id, * }); * ``` */ export declare function getDataSource(args: GetDataSourceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDataSource. */ export interface GetDataSourceArgs { /** * Data source OCID. */ dataSourceId: string; } /** * A collection of values returned by getDataSource. */ export interface GetDataSourceResult { /** * Compartment OCID of data source */ readonly compartmentId: string; /** * Details specific to the data source type. */ readonly dataSourceDetails: outputs.CloudGuard.GetDataSourceDataSourceDetail[]; /** * Information about the detector recipe and rule attached */ readonly dataSourceDetectorMappingInfos: outputs.CloudGuard.GetDataSourceDataSourceDetectorMappingInfo[]; /** * Possible type of dataSourceFeed Provider(LoggingQuery) */ readonly dataSourceFeedProvider: string; readonly dataSourceId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: { [key: string]: string; }; /** * Display name of the data source */ readonly displayName: string; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: { [key: string]: string; }; /** * OCID for the data source */ readonly id: string; /** * Information about the region and status of query replication */ readonly regionStatusDetails: outputs.CloudGuard.GetDataSourceRegionStatusDetail[]; /** * The current lifecycle state of the resource. */ readonly state: string; /** * Enablement status of the data source */ readonly status: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The date and time the Data source was created. Format defined by RFC3339. */ readonly timeCreated: string; /** * The date and time the data source was updated. Format defined by RFC3339. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Data Source resource in Oracle Cloud Infrastructure Cloud Guard service. * * Returns a data source (DataSource resource) identified by dataSourceId. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDataSource = oci.cloudguard.getDataSource({ * dataSourceId: testDataSourceOciCloudGuardDataSource.id, * }); * ``` */ export declare function getDataSourceOutput(args: GetDataSourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDataSource. */ export interface GetDataSourceOutputArgs { /** * Data source OCID. */ dataSourceId: pulumi.Input; } //# sourceMappingURL=getDataSource.d.ts.map