1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. CloudGuard
  5. getDataSources
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.CloudGuard.getDataSources

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    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/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[_cloudguard.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[_cloudguard.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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:CloudGuard/getDataSources:getDataSources
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment in which to list resources.
    AccessLevel string
    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.
    CompartmentIdInSubtree bool
    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.
    DataSourceFeedProvider string
    A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProvider resource).
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters List<GetDataSourcesFilter>
    LoggingQueryType string
    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 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.
    CompartmentIdInSubtree bool
    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.
    DataSourceFeedProvider string
    A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProvider resource).
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters []GetDataSourcesFilter
    LoggingQueryType string
    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 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.
    compartmentIdInSubtree Boolean
    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.
    dataSourceFeedProvider String
    A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProvider resource).
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<GetDataSourcesFilter>
    loggingQueryType String
    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 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.
    compartmentIdInSubtree boolean
    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.
    dataSourceFeedProvider string
    A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProvider resource).
    displayName string
    A filter to return only resources that match the entire display name given.
    filters GetDataSourcesFilter[]
    loggingQueryType string
    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 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.
    compartment_id_in_subtree bool
    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_feed_provider str
    A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProvider resource).
    display_name str
    A filter to return only resources that match the entire display name given.
    filters Sequence[cloudguard.GetDataSourcesFilter]
    logging_query_type str
    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 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.
    compartmentIdInSubtree Boolean
    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.
    dataSourceFeedProvider String
    A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProvider resource).
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<Property Map>
    loggingQueryType String
    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
    DataSourceCollections List<GetDataSourcesDataSourceCollection>
    The list of data_source_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    AccessLevel string
    CompartmentIdInSubtree bool
    DataSourceFeedProvider string
    Possible type of dataSourceFeed Provider(LoggingQuery)
    DisplayName string
    Display name of the data source
    Filters List<GetDataSourcesFilter>
    LoggingQueryType string
    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
    DataSourceCollections []GetDataSourcesDataSourceCollection
    The list of data_source_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    AccessLevel string
    CompartmentIdInSubtree bool
    DataSourceFeedProvider string
    Possible type of dataSourceFeed Provider(LoggingQuery)
    DisplayName string
    Display name of the data source
    Filters []GetDataSourcesFilter
    LoggingQueryType string
    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
    dataSourceCollections List<GetDataSourcesDataSourceCollection>
    The list of data_source_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    accessLevel String
    compartmentIdInSubtree Boolean
    dataSourceFeedProvider String
    Possible type of dataSourceFeed Provider(LoggingQuery)
    displayName String
    Display name of the data source
    filters List<GetDataSourcesFilter>
    loggingQueryType String
    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
    dataSourceCollections GetDataSourcesDataSourceCollection[]
    The list of data_source_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    accessLevel string
    compartmentIdInSubtree boolean
    dataSourceFeedProvider string
    Possible type of dataSourceFeed Provider(LoggingQuery)
    displayName string
    Display name of the data source
    filters GetDataSourcesFilter[]
    loggingQueryType string
    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_collections Sequence[cloudguard.GetDataSourcesDataSourceCollection]
    The list of data_source_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    access_level str
    compartment_id_in_subtree bool
    data_source_feed_provider str
    Possible type of dataSourceFeed Provider(LoggingQuery)
    display_name str
    Display name of the data source
    filters Sequence[cloudguard.GetDataSourcesFilter]
    logging_query_type str
    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
    dataSourceCollections List<Property Map>
    The list of data_source_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    accessLevel String
    compartmentIdInSubtree Boolean
    dataSourceFeedProvider String
    Possible type of dataSourceFeed Provider(LoggingQuery)
    displayName String
    Display name of the data source
    filters List<Property Map>
    loggingQueryType String
    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.
    DataSourceDetails List<GetDataSourcesDataSourceCollectionItemDataSourceDetail>
    Details specific to the data source type.
    DataSourceDetectorMappingInfos List<GetDataSourcesDataSourceCollectionItemDataSourceDetectorMappingInfo>
    Information about the detector recipe and rule attached
    DataSourceFeedProvider string
    A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProvider resource).
    DefinedTags Dictionary<string, object>
    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.
    FreeformTags Dictionary<string, object>
    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
    RegionStatusDetails List<GetDataSourcesDataSourceCollectionItemRegionStatusDetail>
    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
    SystemTags Dictionary<string, object>
    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.
    DataSourceDetails []GetDataSourcesDataSourceCollectionItemDataSourceDetail
    Details specific to the data source type.
    DataSourceDetectorMappingInfos []GetDataSourcesDataSourceCollectionItemDataSourceDetectorMappingInfo
    Information about the detector recipe and rule attached
    DataSourceFeedProvider string
    A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProvider resource).
    DefinedTags map[string]interface{}
    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.
    FreeformTags map[string]interface{}
    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
    RegionStatusDetails []GetDataSourcesDataSourceCollectionItemRegionStatusDetail
    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
    SystemTags map[string]interface{}
    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.
    dataSourceDetails List<GetDataSourcesDataSourceCollectionItemDataSourceDetail>
    Details specific to the data source type.
    dataSourceDetectorMappingInfos List<GetDataSourcesDataSourceCollectionItemDataSourceDetectorMappingInfo>
    Information about the detector recipe and rule attached
    dataSourceFeedProvider String
    A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProvider resource).
    definedTags Map<String,Object>
    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.
    freeformTags Map<String,Object>
    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
    regionStatusDetails List<GetDataSourcesDataSourceCollectionItemRegionStatusDetail>
    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
    systemTags Map<String,Object>
    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.
    dataSourceDetails GetDataSourcesDataSourceCollectionItemDataSourceDetail[]
    Details specific to the data source type.
    dataSourceDetectorMappingInfos GetDataSourcesDataSourceCollectionItemDataSourceDetectorMappingInfo[]
    Information about the detector recipe and rule attached
    dataSourceFeedProvider string
    A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProvider resource).
    definedTags {[key: string]: any}
    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.
    freeformTags {[key: string]: any}
    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
    regionStatusDetails GetDataSourcesDataSourceCollectionItemRegionStatusDetail[]
    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
    systemTags {[key: string]: any}
    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_details Sequence[cloudguard.GetDataSourcesDataSourceCollectionItemDataSourceDetail]
    Details specific to the data source type.
    data_source_detector_mapping_infos Sequence[cloudguard.GetDataSourcesDataSourceCollectionItemDataSourceDetectorMappingInfo]
    Information about the detector recipe and rule attached
    data_source_feed_provider str
    A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProvider resource).
    defined_tags Mapping[str, Any]
    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.
    freeform_tags Mapping[str, Any]
    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_details Sequence[cloudguard.GetDataSourcesDataSourceCollectionItemRegionStatusDetail]
    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
    system_tags Mapping[str, Any]
    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.
    dataSourceDetails List<Property Map>
    Details specific to the data source type.
    dataSourceDetectorMappingInfos List<Property Map>
    Information about the detector recipe and rule attached
    dataSourceFeedProvider String
    A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProvider resource).
    definedTags Map<Any>
    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.
    freeformTags Map<Any>
    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
    regionStatusDetails List<Property Map>
    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
    systemTags Map<Any>
    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

    AdditionalEntitiesCount int
    The additional entities count used for data source query
    DataSourceFeedProvider string
    A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProvider resource).
    Description string
    Description text for the query
    IntervalInMinutes int
    Interval in minutes that query is run periodically.
    IntervalInSeconds int
    Interval in minutes which query is run periodically.
    LoggingQueryDetails List<GetDataSourcesDataSourceCollectionItemDataSourceDetailLoggingQueryDetail>
    Details for a logging query for a data source.
    LoggingQueryType string
    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.
    QueryStartTimes List<GetDataSourcesDataSourceCollectionItemDataSourceDetailQueryStartTime>
    Time when the query can start. If not specified it can start immediately
    Regions List<string>
    List of logging query regions
    ScheduledQueryScopeDetails List<GetDataSourcesDataSourceCollectionItemDataSourceDetailScheduledQueryScopeDetail>
    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
    AdditionalEntitiesCount int
    The additional entities count used for data source query
    DataSourceFeedProvider string
    A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProvider resource).
    Description string
    Description text for the query
    IntervalInMinutes int
    Interval in minutes that query is run periodically.
    IntervalInSeconds int
    Interval in minutes which query is run periodically.
    LoggingQueryDetails []GetDataSourcesDataSourceCollectionItemDataSourceDetailLoggingQueryDetail
    Details for a logging query for a data source.
    LoggingQueryType string
    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.
    QueryStartTimes []GetDataSourcesDataSourceCollectionItemDataSourceDetailQueryStartTime
    Time when the query can start. If not specified it can start immediately
    Regions []string
    List of logging query regions
    ScheduledQueryScopeDetails []GetDataSourcesDataSourceCollectionItemDataSourceDetailScheduledQueryScopeDetail
    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
    additionalEntitiesCount Integer
    The additional entities count used for data source query
    dataSourceFeedProvider String
    A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProvider resource).
    description String
    Description text for the query
    intervalInMinutes Integer
    Interval in minutes that query is run periodically.
    intervalInSeconds Integer
    Interval in minutes which query is run periodically.
    loggingQueryDetails List<GetDataSourcesDataSourceCollectionItemDataSourceDetailLoggingQueryDetail>
    Details for a logging query for a data source.
    loggingQueryType String
    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.
    queryStartTimes List<GetDataSourcesDataSourceCollectionItemDataSourceDetailQueryStartTime>
    Time when the query can start. If not specified it can start immediately
    regions List<String>
    List of logging query regions
    scheduledQueryScopeDetails List<GetDataSourcesDataSourceCollectionItemDataSourceDetailScheduledQueryScopeDetail>
    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
    additionalEntitiesCount number
    The additional entities count used for data source query
    dataSourceFeedProvider string
    A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProvider resource).
    description string
    Description text for the query
    intervalInMinutes number
    Interval in minutes that query is run periodically.
    intervalInSeconds number
    Interval in minutes which query is run periodically.
    loggingQueryDetails GetDataSourcesDataSourceCollectionItemDataSourceDetailLoggingQueryDetail[]
    Details for a logging query for a data source.
    loggingQueryType string
    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.
    queryStartTimes GetDataSourcesDataSourceCollectionItemDataSourceDetailQueryStartTime[]
    Time when the query can start. If not specified it can start immediately
    regions string[]
    List of logging query regions
    scheduledQueryScopeDetails GetDataSourcesDataSourceCollectionItemDataSourceDetailScheduledQueryScopeDetail[]
    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_count int
    The additional entities count used for data source query
    data_source_feed_provider str
    A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProvider resource).
    description str
    Description text for the query
    interval_in_minutes int
    Interval in minutes that query is run periodically.
    interval_in_seconds int
    Interval in minutes which query is run periodically.
    logging_query_details Sequence[cloudguard.GetDataSourcesDataSourceCollectionItemDataSourceDetailLoggingQueryDetail]
    Details for a logging query for a data source.
    logging_query_type str
    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_times Sequence[cloudguard.GetDataSourcesDataSourceCollectionItemDataSourceDetailQueryStartTime]
    Time when the query can start. If not specified it can start immediately
    regions Sequence[str]
    List of logging query regions
    scheduled_query_scope_details Sequence[cloudguard.GetDataSourcesDataSourceCollectionItemDataSourceDetailScheduledQueryScopeDetail]
    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
    additionalEntitiesCount Number
    The additional entities count used for data source query
    dataSourceFeedProvider String
    A filter to return only resources when their feed provider matches the given feed provider (DataSourceFeedProvider resource).
    description String
    Description text for the query
    intervalInMinutes Number
    Interval in minutes that query is run periodically.
    intervalInSeconds Number
    Interval in minutes which query is run periodically.
    loggingQueryDetails List<Property Map>
    Details for a logging query for a data source.
    loggingQueryType String
    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.
    queryStartTimes List<Property Map>
    Time when the query can start. If not specified it can start immediately
    regions List<String>
    List of logging query regions
    scheduledQueryScopeDetails List<Property Map>
    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

    KeyEntitiesCount int
    The key entities count used for data source query
    LoggingQueryType string
    A filter to return only resources where their query type matches the given LoggingQueryType.
    KeyEntitiesCount int
    The key entities count used for data source query
    LoggingQueryType string
    A filter to return only resources where their query type matches the given LoggingQueryType.
    keyEntitiesCount Integer
    The key entities count used for data source query
    loggingQueryType String
    A filter to return only resources where their query type matches the given LoggingQueryType.
    keyEntitiesCount number
    The key entities count used for data source query
    loggingQueryType string
    A filter to return only resources where their query type matches the given LoggingQueryType.
    key_entities_count int
    The key entities count used for data source query
    logging_query_type str
    A filter to return only resources where their query type matches the given LoggingQueryType.
    keyEntitiesCount Number
    The key entities count used for data source query
    loggingQueryType String
    A filter to return only resources where their query type matches the given LoggingQueryType.

    GetDataSourcesDataSourceCollectionItemDataSourceDetailQueryStartTime

    QueryStartTime string
    Time when the query can start. If not specified it can start immediately
    StartPolicyType string
    Start policy delay timing
    QueryStartTime string
    Time when the query can start. If not specified it can start immediately
    StartPolicyType string
    Start policy delay timing
    queryStartTime String
    Time when the query can start. If not specified it can start immediately
    startPolicyType String
    Start policy delay timing
    queryStartTime string
    Time when the query can start. If not specified it can start immediately
    startPolicyType string
    Start policy delay timing
    query_start_time str
    Time when the query can start. If not specified it can start immediately
    start_policy_type str
    Start policy delay timing
    queryStartTime String
    Time when the query can start. If not specified it can start immediately
    startPolicyType String
    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

    DetectorRecipeId string
    ID of the detector recipe attached to the data source
    DetectorRuleId string
    ID of the detector rule attached to the data source
    DetectorRecipeId string
    ID of the detector recipe attached to the data source
    DetectorRuleId string
    ID of the detector rule attached to the data source
    detectorRecipeId String
    ID of the detector recipe attached to the data source
    detectorRuleId String
    ID of the detector rule attached to the data source
    detectorRecipeId string
    ID of the detector recipe attached to the data source
    detectorRuleId string
    ID of the detector rule attached to the data source
    detector_recipe_id str
    ID of the detector recipe attached to the data source
    detector_rule_id str
    ID of the detector rule attached to the data source
    detectorRecipeId String
    ID of the detector recipe attached to the data source
    detectorRuleId String
    ID of the detector rule attached to the data source

    GetDataSourcesDataSourceCollectionItemRegionStatusDetail

    Region string
    Data source replication region
    Status string
    Enablement status of the data source
    Region string
    Data source replication region
    Status string
    Enablement status of the data source
    region String
    Data source replication region
    status String
    Enablement status of the data source
    region string
    Data source replication region
    status string
    Enablement status of the data source
    region str
    Data source replication region
    status str
    Enablement status of the data source
    region String
    Data source replication region
    status String
    Enablement status of the data source

    GetDataSourcesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi