oci.CloudGuard.getDataSources
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDataSources = oci.CloudGuard.getDataSources({
    compartmentId: compartmentId,
    accessLevel: dataSourceAccessLevel,
    compartmentIdInSubtree: dataSourceCompartmentIdInSubtree,
    dataSourceFeedProvider: dataSourceDataSourceFeedProvider,
    displayName: dataSourceDisplayName,
    loggingQueryType: dataSourceLoggingQueryType,
    state: dataSourceState,
});
import pulumi
import pulumi_oci as oci
test_data_sources = oci.CloudGuard.get_data_sources(compartment_id=compartment_id,
    access_level=data_source_access_level,
    compartment_id_in_subtree=data_source_compartment_id_in_subtree,
    data_source_feed_provider=data_source_data_source_feed_provider,
    display_name=data_source_display_name,
    logging_query_type=data_source_logging_query_type,
    state=data_source_state)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/cloudguard"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudguard.GetDataSources(ctx, &cloudguard.GetDataSourcesArgs{
			CompartmentId:          compartmentId,
			AccessLevel:            pulumi.StringRef(dataSourceAccessLevel),
			CompartmentIdInSubtree: pulumi.BoolRef(dataSourceCompartmentIdInSubtree),
			DataSourceFeedProvider: pulumi.StringRef(dataSourceDataSourceFeedProvider),
			DisplayName:            pulumi.StringRef(dataSourceDisplayName),
			LoggingQueryType:       pulumi.StringRef(dataSourceLoggingQueryType),
			State:                  pulumi.StringRef(dataSourceState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testDataSources = Oci.CloudGuard.GetDataSources.Invoke(new()
    {
        CompartmentId = compartmentId,
        AccessLevel = dataSourceAccessLevel,
        CompartmentIdInSubtree = dataSourceCompartmentIdInSubtree,
        DataSourceFeedProvider = dataSourceDataSourceFeedProvider,
        DisplayName = dataSourceDisplayName,
        LoggingQueryType = dataSourceLoggingQueryType,
        State = dataSourceState,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CloudGuard.CloudGuardFunctions;
import com.pulumi.oci.CloudGuard.inputs.GetDataSourcesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var testDataSources = CloudGuardFunctions.getDataSources(GetDataSourcesArgs.builder()
            .compartmentId(compartmentId)
            .accessLevel(dataSourceAccessLevel)
            .compartmentIdInSubtree(dataSourceCompartmentIdInSubtree)
            .dataSourceFeedProvider(dataSourceDataSourceFeedProvider)
            .displayName(dataSourceDisplayName)
            .loggingQueryType(dataSourceLoggingQueryType)
            .state(dataSourceState)
            .build());
    }
}
variables:
  testDataSources:
    fn::invoke:
      function: oci:CloudGuard:getDataSources
      arguments:
        compartmentId: ${compartmentId}
        accessLevel: ${dataSourceAccessLevel}
        compartmentIdInSubtree: ${dataSourceCompartmentIdInSubtree}
        dataSourceFeedProvider: ${dataSourceDataSourceFeedProvider}
        displayName: ${dataSourceDisplayName}
        loggingQueryType: ${dataSourceLoggingQueryType}
        state: ${dataSourceState}
Using getDataSources
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDataSources(args: GetDataSourcesArgs, opts?: InvokeOptions): Promise<GetDataSourcesResult>
function getDataSourcesOutput(args: GetDataSourcesOutputArgs, opts?: InvokeOptions): Output<GetDataSourcesResult>def get_data_sources(access_level: Optional[str] = None,
                     compartment_id: Optional[str] = None,
                     compartment_id_in_subtree: Optional[bool] = None,
                     data_source_feed_provider: Optional[str] = None,
                     display_name: Optional[str] = None,
                     filters: Optional[Sequence[GetDataSourcesFilter]] = None,
                     logging_query_type: Optional[str] = None,
                     state: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetDataSourcesResult
def get_data_sources_output(access_level: Optional[pulumi.Input[str]] = None,
                     compartment_id: Optional[pulumi.Input[str]] = None,
                     compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                     data_source_feed_provider: Optional[pulumi.Input[str]] = None,
                     display_name: Optional[pulumi.Input[str]] = None,
                     filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetDataSourcesFilterArgs]]]] = None,
                     logging_query_type: Optional[pulumi.Input[str]] = None,
                     state: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetDataSourcesResult]func GetDataSources(ctx *Context, args *GetDataSourcesArgs, opts ...InvokeOption) (*GetDataSourcesResult, error)
func GetDataSourcesOutput(ctx *Context, args *GetDataSourcesOutputArgs, opts ...InvokeOption) GetDataSourcesResultOutput> Note: This function is named GetDataSources in the Go SDK.
public static class GetDataSources 
{
    public static Task<GetDataSourcesResult> InvokeAsync(GetDataSourcesArgs args, InvokeOptions? opts = null)
    public static Output<GetDataSourcesResult> Invoke(GetDataSourcesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDataSourcesResult> getDataSources(GetDataSourcesArgs args, InvokeOptions options)
public static Output<GetDataSourcesResult> getDataSources(GetDataSourcesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:CloudGuard/getDataSources:getDataSources
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The OCID of the compartment in which to list resources.
- AccessLevel string
- Valid values are RESTRICTEDandACCESSIBLE. Default isRESTRICTED. Setting this toACCESSIBLEreturns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set toRESTRICTEDpermissions are checked and no partial results are displayed.
- CompartmentId boolIn Subtree 
- 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.
- DataSource stringFeed Provider 
- A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProviderresource).
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
List<GetData Sources Filter> 
- LoggingQuery stringType 
- A filter to return only resources where their query type matches the given LoggingQueryType.
- State 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.
- CompartmentId string
- The OCID of the compartment in which to list resources.
- AccessLevel string
- Valid values are RESTRICTEDandACCESSIBLE. Default isRESTRICTED. Setting this toACCESSIBLEreturns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set toRESTRICTEDpermissions are checked and no partial results are displayed.
- CompartmentId boolIn Subtree 
- 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.
- DataSource stringFeed Provider 
- A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProviderresource).
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
[]GetData Sources Filter 
- LoggingQuery stringType 
- A filter to return only resources where their query type matches the given LoggingQueryType.
- State 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.
- compartmentId String
- The OCID of the compartment in which to list resources.
- accessLevel String
- Valid values are RESTRICTEDandACCESSIBLE. Default isRESTRICTED. Setting this toACCESSIBLEreturns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set toRESTRICTEDpermissions are checked and no partial results are displayed.
- compartmentId BooleanIn Subtree 
- 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.
- dataSource StringFeed Provider 
- A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProviderresource).
- displayName String
- A filter to return only resources that match the entire display name given.
- filters
List<GetData Sources Filter> 
- loggingQuery StringType 
- A filter to return only resources where their query type matches the given LoggingQueryType.
- state 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.
- compartmentId string
- The OCID of the compartment in which to list resources.
- accessLevel string
- Valid values are RESTRICTEDandACCESSIBLE. Default isRESTRICTED. Setting this toACCESSIBLEreturns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set toRESTRICTEDpermissions are checked and no partial results are displayed.
- compartmentId booleanIn Subtree 
- 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.
- dataSource stringFeed Provider 
- A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProviderresource).
- displayName string
- A filter to return only resources that match the entire display name given.
- filters
GetData Sources Filter[] 
- loggingQuery stringType 
- A filter to return only resources where their query type matches the given LoggingQueryType.
- state 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.
- compartment_id str
- The OCID of the compartment in which to list resources.
- access_level str
- Valid values are RESTRICTEDandACCESSIBLE. Default isRESTRICTED. Setting this toACCESSIBLEreturns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set toRESTRICTEDpermissions are checked and no partial results are displayed.
- compartment_id_ boolin_ subtree 
- 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.
- data_source_ strfeed_ provider 
- A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProviderresource).
- display_name str
- A filter to return only resources that match the entire display name given.
- filters
Sequence[GetData Sources Filter] 
- logging_query_ strtype 
- A filter to return only resources where their query type matches the given LoggingQueryType.
- state str
- The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
- compartmentId String
- The OCID of the compartment in which to list resources.
- accessLevel String
- Valid values are RESTRICTEDandACCESSIBLE. Default isRESTRICTED. Setting this toACCESSIBLEreturns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set toRESTRICTEDpermissions are checked and no partial results are displayed.
- compartmentId BooleanIn Subtree 
- 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.
- dataSource StringFeed Provider 
- A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProviderresource).
- displayName String
- A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- loggingQuery StringType 
- A filter to return only resources where their query type matches the given LoggingQueryType.
- state 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.
getDataSources Result
The following output properties are available:
- CompartmentId string
- Compartment OCID of data source
- DataSource List<GetCollections Data Sources Data Source Collection> 
- The list of data_source_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- AccessLevel string
- CompartmentId boolIn Subtree 
- DataSource stringFeed Provider 
- Possible type of dataSourceFeed Provider(LoggingQuery)
- DisplayName string
- Display name of the data source
- Filters
List<GetData Sources Filter> 
- LoggingQuery stringType 
- Type of logging query for data source (Sighting/Insight)
- State string
- The current lifecycle state of the resource.
- CompartmentId string
- Compartment OCID of data source
- DataSource []GetCollections Data Sources Data Source Collection 
- The list of data_source_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- AccessLevel string
- CompartmentId boolIn Subtree 
- DataSource stringFeed Provider 
- Possible type of dataSourceFeed Provider(LoggingQuery)
- DisplayName string
- Display name of the data source
- Filters
[]GetData Sources Filter 
- LoggingQuery stringType 
- Type of logging query for data source (Sighting/Insight)
- State string
- The current lifecycle state of the resource.
- compartmentId String
- Compartment OCID of data source
- dataSource List<GetCollections Data Sources Data Source Collection> 
- The list of data_source_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- accessLevel String
- compartmentId BooleanIn Subtree 
- dataSource StringFeed Provider 
- Possible type of dataSourceFeed Provider(LoggingQuery)
- displayName String
- Display name of the data source
- filters
List<GetData Sources Filter> 
- loggingQuery StringType 
- Type of logging query for data source (Sighting/Insight)
- state String
- The current lifecycle state of the resource.
- compartmentId string
- Compartment OCID of data source
- dataSource GetCollections Data Sources Data Source Collection[] 
- The list of data_source_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- accessLevel string
- compartmentId booleanIn Subtree 
- dataSource stringFeed Provider 
- Possible type of dataSourceFeed Provider(LoggingQuery)
- displayName string
- Display name of the data source
- filters
GetData Sources Filter[] 
- loggingQuery stringType 
- Type of logging query for data source (Sighting/Insight)
- state string
- The current lifecycle state of the resource.
- compartment_id str
- Compartment OCID of data source
- data_source_ Sequence[Getcollections Data Sources Data Source Collection] 
- The list of data_source_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- access_level str
- compartment_id_ boolin_ subtree 
- data_source_ strfeed_ provider 
- Possible type of dataSourceFeed Provider(LoggingQuery)
- display_name str
- Display name of the data source
- filters
Sequence[GetData Sources Filter] 
- logging_query_ strtype 
- Type of logging query for data source (Sighting/Insight)
- state str
- The current lifecycle state of the resource.
- compartmentId String
- Compartment OCID of data source
- dataSource List<Property Map>Collections 
- The list of data_source_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- accessLevel String
- compartmentId BooleanIn Subtree 
- dataSource StringFeed Provider 
- Possible type of dataSourceFeed Provider(LoggingQuery)
- displayName String
- Display name of the data source
- filters List<Property Map>
- loggingQuery StringType 
- Type of logging query for data source (Sighting/Insight)
- state String
- The current lifecycle state of the resource.
Supporting Types
GetDataSourcesDataSourceCollection     
GetDataSourcesDataSourceCollectionItem      
- CompartmentId string
- The OCID of the compartment in which to list resources.
- DataSource List<GetDetails Data Sources Data Source Collection Item Data Source Detail> 
- Details specific to the data source type.
- DataSource List<GetDetector Mapping Infos Data Sources Data Source Collection Item Data Source Detector Mapping Info> 
- Information about the detector recipe and rule attached
- DataSource stringFeed Provider 
- A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProviderresource).
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- Id string
- OCID for the data source
- RegionStatus List<GetDetails Data Sources Data Source Collection Item Region Status Detail> 
- Information about the region and status of query replication
- State 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.
- Status string
- Enablement status of the data source
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The date and time the Data source was created. Format defined by RFC3339.
- TimeUpdated string
- The date and time the data source was updated. Format defined by RFC3339.
- CompartmentId string
- The OCID of the compartment in which to list resources.
- DataSource []GetDetails Data Sources Data Source Collection Item Data Source Detail 
- Details specific to the data source type.
- DataSource []GetDetector Mapping Infos Data Sources Data Source Collection Item Data Source Detector Mapping Info 
- Information about the detector recipe and rule attached
- DataSource stringFeed Provider 
- A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProviderresource).
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DisplayName string
- A filter to return only resources that match the entire display name given.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- Id string
- OCID for the data source
- RegionStatus []GetDetails Data Sources Data Source Collection Item Region Status Detail 
- Information about the region and status of query replication
- State 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.
- Status string
- Enablement status of the data source
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The date and time the Data source was created. Format defined by RFC3339.
- TimeUpdated string
- The date and time the data source was updated. Format defined by RFC3339.
- compartmentId String
- The OCID of the compartment in which to list resources.
- dataSource List<GetDetails Data Sources Data Source Collection Item Data Source Detail> 
- Details specific to the data source type.
- dataSource List<GetDetector Mapping Infos Data Sources Data Source Collection Item Data Source Detector Mapping Info> 
- Information about the detector recipe and rule attached
- dataSource StringFeed Provider 
- A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProviderresource).
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName String
- A filter to return only resources that match the entire display name given.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id String
- OCID for the data source
- regionStatus List<GetDetails Data Sources Data Source Collection Item Region Status Detail> 
- Information about the region and status of query replication
- state 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.
- status String
- Enablement status of the data source
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The date and time the Data source was created. Format defined by RFC3339.
- timeUpdated String
- The date and time the data source was updated. Format defined by RFC3339.
- compartmentId string
- The OCID of the compartment in which to list resources.
- dataSource GetDetails Data Sources Data Source Collection Item Data Source Detail[] 
- Details specific to the data source type.
- dataSource GetDetector Mapping Infos Data Sources Data Source Collection Item Data Source Detector Mapping Info[] 
- Information about the detector recipe and rule attached
- dataSource stringFeed Provider 
- A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProviderresource).
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName string
- A filter to return only resources that match the entire display name given.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id string
- OCID for the data source
- regionStatus GetDetails Data Sources Data Source Collection Item Region Status Detail[] 
- Information about the region and status of query replication
- state 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.
- status string
- Enablement status of the data source
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- The date and time the Data source was created. Format defined by RFC3339.
- timeUpdated string
- The date and time the data source was updated. Format defined by RFC3339.
- compartment_id str
- The OCID of the compartment in which to list resources.
- data_source_ Sequence[Getdetails Data Sources Data Source Collection Item Data Source Detail] 
- Details specific to the data source type.
- data_source_ Sequence[Getdetector_ mapping_ infos Data Sources Data Source Collection Item Data Source Detector Mapping Info] 
- Information about the detector recipe and rule attached
- data_source_ strfeed_ provider 
- A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProviderresource).
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- display_name str
- A filter to return only resources that match the entire display name given.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id str
- OCID for the data source
- region_status_ Sequence[Getdetails Data Sources Data Source Collection Item Region Status Detail] 
- Information about the region and status of query replication
- state str
- The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
- status str
- Enablement status of the data source
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- time_created str
- The date and time the Data source was created. Format defined by RFC3339.
- time_updated str
- The date and time the data source was updated. Format defined by RFC3339.
- compartmentId String
- The OCID of the compartment in which to list resources.
- dataSource List<Property Map>Details 
- Details specific to the data source type.
- dataSource List<Property Map>Detector Mapping Infos 
- Information about the detector recipe and rule attached
- dataSource StringFeed Provider 
- A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProviderresource).
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName String
- A filter to return only resources that match the entire display name given.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
- id String
- OCID for the data source
- regionStatus List<Property Map>Details 
- Information about the region and status of query replication
- state 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.
- status String
- Enablement status of the data source
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The date and time the Data source was created. Format defined by RFC3339.
- timeUpdated String
- The date and time the data source was updated. Format defined by RFC3339.
GetDataSourcesDataSourceCollectionItemDataSourceDetail         
- AdditionalEntities intCount 
- The additional entities count used for data source query
- DataSource stringFeed Provider 
- A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProviderresource).
- Description string
- Description text for the query
- IntervalIn intMinutes 
- Interval in minutes that query is run periodically.
- IntervalIn intSeconds 
- Interval in minutes which query is run periodically.
- LoggingQuery List<GetDetails Data Sources Data Source Collection Item Data Source Detail Logging Query Detail> 
- Details for a logging query for a data source.
- LoggingQuery stringType 
- A filter to return only resources where their query type matches the given LoggingQueryType.
- Operator string
- Operator used in data source
- Query string
- The continuous query expression that is run periodically.
- QueryStart List<GetTimes Data Sources Data Source Collection Item Data Source Detail Query Start Time> 
- Time when the query can start. If not specified it can start immediately
- Regions List<string>
- List of logging query regions
- ScheduledQuery List<GetScope Details Data Sources Data Source Collection Item Data Source Detail Scheduled Query Scope Detail> 
- Target information in which scheduled query will be run
- Threshold int
- The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
- AdditionalEntities intCount 
- The additional entities count used for data source query
- DataSource stringFeed Provider 
- A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProviderresource).
- Description string
- Description text for the query
- IntervalIn intMinutes 
- Interval in minutes that query is run periodically.
- IntervalIn intSeconds 
- Interval in minutes which query is run periodically.
- LoggingQuery []GetDetails Data Sources Data Source Collection Item Data Source Detail Logging Query Detail 
- Details for a logging query for a data source.
- LoggingQuery stringType 
- A filter to return only resources where their query type matches the given LoggingQueryType.
- Operator string
- Operator used in data source
- Query string
- The continuous query expression that is run periodically.
- QueryStart []GetTimes Data Sources Data Source Collection Item Data Source Detail Query Start Time 
- Time when the query can start. If not specified it can start immediately
- Regions []string
- List of logging query regions
- ScheduledQuery []GetScope Details Data Sources Data Source Collection Item Data Source Detail Scheduled Query Scope Detail 
- Target information in which scheduled query will be run
- Threshold int
- The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
- additionalEntities IntegerCount 
- The additional entities count used for data source query
- dataSource StringFeed Provider 
- A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProviderresource).
- description String
- Description text for the query
- intervalIn IntegerMinutes 
- Interval in minutes that query is run periodically.
- intervalIn IntegerSeconds 
- Interval in minutes which query is run periodically.
- loggingQuery List<GetDetails Data Sources Data Source Collection Item Data Source Detail Logging Query Detail> 
- Details for a logging query for a data source.
- loggingQuery StringType 
- A filter to return only resources where their query type matches the given LoggingQueryType.
- operator String
- Operator used in data source
- query String
- The continuous query expression that is run periodically.
- queryStart List<GetTimes Data Sources Data Source Collection Item Data Source Detail Query Start Time> 
- Time when the query can start. If not specified it can start immediately
- regions List<String>
- List of logging query regions
- scheduledQuery List<GetScope Details Data Sources Data Source Collection Item Data Source Detail Scheduled Query Scope Detail> 
- Target information in which scheduled query will be run
- threshold Integer
- The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
- additionalEntities numberCount 
- The additional entities count used for data source query
- dataSource stringFeed Provider 
- A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProviderresource).
- description string
- Description text for the query
- intervalIn numberMinutes 
- Interval in minutes that query is run periodically.
- intervalIn numberSeconds 
- Interval in minutes which query is run periodically.
- loggingQuery GetDetails Data Sources Data Source Collection Item Data Source Detail Logging Query Detail[] 
- Details for a logging query for a data source.
- loggingQuery stringType 
- A filter to return only resources where their query type matches the given LoggingQueryType.
- operator string
- Operator used in data source
- query string
- The continuous query expression that is run periodically.
- queryStart GetTimes Data Sources Data Source Collection Item Data Source Detail Query Start Time[] 
- Time when the query can start. If not specified it can start immediately
- regions string[]
- List of logging query regions
- scheduledQuery GetScope Details Data Sources Data Source Collection Item Data Source Detail Scheduled Query Scope Detail[] 
- Target information in which scheduled query will be run
- threshold number
- The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
- additional_entities_ intcount 
- The additional entities count used for data source query
- data_source_ strfeed_ provider 
- A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProviderresource).
- description str
- Description text for the query
- interval_in_ intminutes 
- Interval in minutes that query is run periodically.
- interval_in_ intseconds 
- Interval in minutes which query is run periodically.
- logging_query_ Sequence[Getdetails Data Sources Data Source Collection Item Data Source Detail Logging Query Detail] 
- Details for a logging query for a data source.
- logging_query_ strtype 
- A filter to return only resources where their query type matches the given LoggingQueryType.
- operator str
- Operator used in data source
- query str
- The continuous query expression that is run periodically.
- query_start_ Sequence[Gettimes Data Sources Data Source Collection Item Data Source Detail Query Start Time] 
- Time when the query can start. If not specified it can start immediately
- regions Sequence[str]
- List of logging query regions
- scheduled_query_ Sequence[Getscope_ details Data Sources Data Source Collection Item Data Source Detail Scheduled Query Scope Detail] 
- Target information in which scheduled query will be run
- threshold int
- The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
- additionalEntities NumberCount 
- The additional entities count used for data source query
- dataSource StringFeed Provider 
- A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProviderresource).
- description String
- Description text for the query
- intervalIn NumberMinutes 
- Interval in minutes that query is run periodically.
- intervalIn NumberSeconds 
- Interval in minutes which query is run periodically.
- loggingQuery List<Property Map>Details 
- Details for a logging query for a data source.
- loggingQuery StringType 
- A filter to return only resources where their query type matches the given LoggingQueryType.
- operator String
- Operator used in data source
- query String
- The continuous query expression that is run periodically.
- queryStart List<Property Map>Times 
- Time when the query can start. If not specified it can start immediately
- regions List<String>
- List of logging query regions
- scheduledQuery List<Property Map>Scope Details 
- Target information in which scheduled query will be run
- threshold Number
- The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
GetDataSourcesDataSourceCollectionItemDataSourceDetailLoggingQueryDetail            
- KeyEntities intCount 
- The key entities count used for data source query
- LoggingQuery stringType 
- A filter to return only resources where their query type matches the given LoggingQueryType.
- KeyEntities intCount 
- The key entities count used for data source query
- LoggingQuery stringType 
- A filter to return only resources where their query type matches the given LoggingQueryType.
- keyEntities IntegerCount 
- The key entities count used for data source query
- loggingQuery StringType 
- A filter to return only resources where their query type matches the given LoggingQueryType.
- keyEntities numberCount 
- The key entities count used for data source query
- loggingQuery stringType 
- A filter to return only resources where their query type matches the given LoggingQueryType.
- key_entities_ intcount 
- The key entities count used for data source query
- logging_query_ strtype 
- A filter to return only resources where their query type matches the given LoggingQueryType.
- keyEntities NumberCount 
- The key entities count used for data source query
- loggingQuery StringType 
- A filter to return only resources where their query type matches the given LoggingQueryType.
GetDataSourcesDataSourceCollectionItemDataSourceDetailQueryStartTime            
- QueryStart stringTime 
- Time when the query can start. If not specified it can start immediately
- StartPolicy stringType 
- Start policy delay timing
- QueryStart stringTime 
- Time when the query can start. If not specified it can start immediately
- StartPolicy stringType 
- Start policy delay timing
- queryStart StringTime 
- Time when the query can start. If not specified it can start immediately
- startPolicy StringType 
- Start policy delay timing
- queryStart stringTime 
- Time when the query can start. If not specified it can start immediately
- startPolicy stringType 
- Start policy delay timing
- query_start_ strtime 
- Time when the query can start. If not specified it can start immediately
- start_policy_ strtype 
- Start policy delay timing
- queryStart StringTime 
- Time when the query can start. If not specified it can start immediately
- startPolicy StringType 
- Start policy delay timing
GetDataSourcesDataSourceCollectionItemDataSourceDetailScheduledQueryScopeDetail             
- Region string
- Data source replication region
- ResourceIds List<string>
- List of OCIDs on scheduled query needs to run
- ResourceType string
- Type of resource
- Region string
- Data source replication region
- ResourceIds []string
- List of OCIDs on scheduled query needs to run
- ResourceType string
- Type of resource
- region String
- Data source replication region
- resourceIds List<String>
- List of OCIDs on scheduled query needs to run
- resourceType String
- Type of resource
- region string
- Data source replication region
- resourceIds string[]
- List of OCIDs on scheduled query needs to run
- resourceType string
- Type of resource
- region str
- Data source replication region
- resource_ids Sequence[str]
- List of OCIDs on scheduled query needs to run
- resource_type str
- Type of resource
- region String
- Data source replication region
- resourceIds List<String>
- List of OCIDs on scheduled query needs to run
- resourceType String
- Type of resource
GetDataSourcesDataSourceCollectionItemDataSourceDetectorMappingInfo           
- DetectorRecipe stringId 
- ID of the detector recipe attached to the data source
- DetectorRule stringId 
- ID of the detector rule attached to the data source
- DetectorRecipe stringId 
- ID of the detector recipe attached to the data source
- DetectorRule stringId 
- ID of the detector rule attached to the data source
- detectorRecipe StringId 
- ID of the detector recipe attached to the data source
- detectorRule StringId 
- ID of the detector rule attached to the data source
- detectorRecipe stringId 
- ID of the detector recipe attached to the data source
- detectorRule stringId 
- ID of the detector rule attached to the data source
- detector_recipe_ strid 
- ID of the detector recipe attached to the data source
- detector_rule_ strid 
- ID of the detector rule attached to the data source
- detectorRecipe StringId 
- ID of the detector recipe attached to the data source
- detectorRule StringId 
- ID of the detector rule attached to the data source
GetDataSourcesDataSourceCollectionItemRegionStatusDetail         
GetDataSourcesFilter   
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.