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/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:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Access
Level string - Valid values are
RESTRICTED
andACCESSIBLE
. Default isRESTRICTED
. Setting this toACCESSIBLE
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 toRESTRICTED
permissions 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 stringFeed Provider - A filter to return only resources when their feed provider matches the given feed provider (
DataSourceFeedProvider
resource). - Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Data Sources Filter> - Logging
Query 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 string - The OCID of the compartment in which to list resources.
- Access
Level string - Valid values are
RESTRICTED
andACCESSIBLE
. Default isRESTRICTED
. Setting this toACCESSIBLE
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 toRESTRICTED
permissions 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 stringFeed Provider - A filter to return only resources when their feed provider matches the given feed provider (
DataSourceFeedProvider
resource). - Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Data Sources Filter - Logging
Query 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 String - The OCID of the compartment in which to list resources.
- access
Level String - Valid values are
RESTRICTED
andACCESSIBLE
. Default isRESTRICTED
. Setting this toACCESSIBLE
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 toRESTRICTED
permissions are checked and no partial results are displayed. - compartment
Id 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
. - data
Source StringFeed Provider - A filter to return only resources when their feed provider matches the given feed provider (
DataSourceFeedProvider
resource). - display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Data Sources Filter> - logging
Query 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 string - The OCID of the compartment in which to list resources.
- access
Level string - Valid values are
RESTRICTED
andACCESSIBLE
. Default isRESTRICTED
. Setting this toACCESSIBLE
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 toRESTRICTED
permissions are checked and no partial results are displayed. - compartment
Id 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
. - data
Source stringFeed Provider - A filter to return only resources when their feed provider matches the given feed provider (
DataSourceFeedProvider
resource). - display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Data Sources Filter[] - logging
Query 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
RESTRICTED
andACCESSIBLE
. Default isRESTRICTED
. Setting this toACCESSIBLE
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 toRESTRICTED
permissions 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 (
DataSourceFeedProvider
resource). - display_
name str - A filter to return only resources that match the entire display name given.
- filters
Sequence[cloudguard.
Get Data 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.
- compartment
Id String - The OCID of the compartment in which to list resources.
- access
Level String - Valid values are
RESTRICTED
andACCESSIBLE
. Default isRESTRICTED
. Setting this toACCESSIBLE
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 toRESTRICTED
permissions are checked and no partial results are displayed. - compartment
Id 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
. - data
Source StringFeed Provider - A filter to return only resources when their feed provider matches the given feed provider (
DataSourceFeedProvider
resource). - display
Name String - A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- logging
Query 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:
- Compartment
Id string - Compartment OCID of data source
- Data
Source List<GetCollections Data Sources Data Source Collection> - The list of data_source_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Access
Level string - Compartment
Id boolIn Subtree - Data
Source stringFeed Provider - Possible type of dataSourceFeed Provider(LoggingQuery)
- Display
Name string - Display name of the data source
- Filters
List<Get
Data Sources Filter> - Logging
Query stringType - Type of logging query for data source (Sighting/Insight)
- State string
- The current lifecycle state of the resource.
- Compartment
Id string - Compartment OCID of data source
- Data
Source []GetCollections Data Sources Data Source Collection - The list of data_source_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Access
Level string - Compartment
Id boolIn Subtree - Data
Source stringFeed Provider - Possible type of dataSourceFeed Provider(LoggingQuery)
- Display
Name string - Display name of the data source
- Filters
[]Get
Data Sources Filter - Logging
Query stringType - Type of logging query for data source (Sighting/Insight)
- State string
- The current lifecycle state of the resource.
- compartment
Id String - Compartment OCID of data source
- data
Source List<GetCollections Data Sources Data Source Collection> - The list of data_source_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- access
Level String - compartment
Id BooleanIn Subtree - data
Source StringFeed Provider - Possible type of dataSourceFeed Provider(LoggingQuery)
- display
Name String - Display name of the data source
- filters
List<Get
Data Sources Filter> - logging
Query StringType - Type of logging query for data source (Sighting/Insight)
- state String
- The current lifecycle state of the resource.
- compartment
Id string - Compartment OCID of data source
- data
Source GetCollections Data Sources Data Source Collection[] - The list of data_source_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- access
Level string - compartment
Id booleanIn Subtree - data
Source stringFeed Provider - Possible type of dataSourceFeed Provider(LoggingQuery)
- display
Name string - Display name of the data source
- filters
Get
Data Sources Filter[] - logging
Query 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[cloudguard.collections Get 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[cloudguard.
Get Data Sources Filter] - logging_
query_ strtype - Type of logging query for data source (Sighting/Insight)
- state str
- The current lifecycle state of the resource.
- compartment
Id String - Compartment OCID of data source
- data
Source List<Property Map>Collections - The list of data_source_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- access
Level String - compartment
Id BooleanIn Subtree - data
Source StringFeed Provider - Possible type of dataSourceFeed Provider(LoggingQuery)
- display
Name String - Display name of the data source
- filters List<Property Map>
- logging
Query StringType - Type of logging query for data source (Sighting/Insight)
- state String
- The current lifecycle state of the resource.
Supporting Types
GetDataSourcesDataSourceCollection
GetDataSourcesDataSourceCollectionItem
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Data
Source List<GetDetails Data Sources Data Source Collection Item Data Source Detail> - Details specific to the data source type.
- Data
Source List<GetDetector Mapping Infos Data Sources Data Source Collection Item Data Source Detector Mapping Info> - Information about the detector recipe and rule attached
- Data
Source stringFeed Provider - A filter to return only resources when their feed provider matches the given feed provider (
DataSourceFeedProvider
resource). - Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - A filter to return only resources that match the entire display name given.
- 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
- Region
Status 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, 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"}
- Time
Created string - The date and time the Data source was created. Format defined by RFC3339.
- Time
Updated string - The date and time the data source was updated. Format defined by RFC3339.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Data
Source []GetDetails Data Sources Data Source Collection Item Data Source Detail - Details specific to the data source type.
- Data
Source []GetDetector Mapping Infos Data Sources Data Source Collection Item Data Source Detector Mapping Info - Information about the detector recipe and rule attached
- Data
Source stringFeed Provider - A filter to return only resources when their feed provider matches the given feed provider (
DataSourceFeedProvider
resource). - map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - A filter to return only resources that match the entire display name given.
- 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
- Region
Status []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]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"}
- Time
Created string - The date and time the Data source was created. Format defined by RFC3339.
- Time
Updated string - The date and time the data source was updated. Format defined by RFC3339.
- compartment
Id String - The OCID of the compartment in which to list resources.
- data
Source List<GetDetails Data Sources Data Source Collection Item Data Source Detail> - Details specific to the data source type.
- data
Source List<GetDetector Mapping Infos Data Sources Data Source Collection Item Data Source Detector Mapping Info> - Information about the detector recipe and rule attached
- data
Source StringFeed Provider - A filter to return only resources when their feed provider matches the given feed provider (
DataSourceFeedProvider
resource). - Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - A filter to return only resources that match the entire display name given.
- 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
- region
Status 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,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"}
- time
Created String - The date and time the Data source was created. Format defined by RFC3339.
- time
Updated String - The date and time the data source was updated. Format defined by RFC3339.
- compartment
Id string - The OCID of the compartment in which to list resources.
- data
Source GetDetails Data Sources Data Source Collection Item Data Source Detail[] - Details specific to the data source type.
- data
Source GetDetector Mapping Infos Data Sources Data Source Collection Item Data Source Detector Mapping Info[] - Information about the detector recipe and rule attached
- data
Source stringFeed Provider - A filter to return only resources when their feed provider matches the given feed provider (
DataSourceFeedProvider
resource). - {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - A filter to return only resources that match the entire display name given.
- {[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
- region
Status 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]: 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 string - The date and time the Data source was created. Format defined by RFC3339.
- time
Updated 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[cloudguard.details Get Data Sources Data Source Collection Item Data Source Detail] - Details specific to the data source type.
- data_
source_ Sequence[cloudguard.detector_ mapping_ infos Get 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 (
DataSourceFeedProvider
resource). - 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.
- 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_ Sequence[cloudguard.details Get 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, 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.
- compartment
Id String - The OCID of the compartment in which to list resources.
- data
Source List<Property Map>Details - Details specific to the data source type.
- data
Source List<Property Map>Detector Mapping Infos - Information about the detector recipe and rule attached
- data
Source StringFeed Provider - A filter to return only resources when their feed provider matches the given feed provider (
DataSourceFeedProvider
resource). - Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - A filter to return only resources that match the entire display name given.
- 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
- region
Status 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<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 String - The date and time the Data source was created. Format defined by RFC3339.
- time
Updated String - The date and time the data source was updated. Format defined by RFC3339.
GetDataSourcesDataSourceCollectionItemDataSourceDetail
- Additional
Entities intCount - The additional entities count used for data source query
- Data
Source stringFeed Provider - A filter to return only resources when their feed provider matches the given feed provider (
DataSourceFeedProvider
resource). - Description string
- 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 List<GetDetails Data Sources Data Source Collection Item Data Source Detail Logging Query Detail> - Details for a logging query for a data source.
- Logging
Query 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.
- Query
Start 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
- Scheduled
Query 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
- Additional
Entities intCount - The additional entities count used for data source query
- Data
Source stringFeed Provider - A filter to return only resources when their feed provider matches the given feed provider (
DataSourceFeedProvider
resource). - Description string
- 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 []GetDetails Data Sources Data Source Collection Item Data Source Detail Logging Query Detail - Details for a logging query for a data source.
- Logging
Query 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.
- Query
Start []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
- Scheduled
Query []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
- additional
Entities IntegerCount - The additional entities count used for data source query
- data
Source StringFeed Provider - A filter to return only resources when their feed provider matches the given feed provider (
DataSourceFeedProvider
resource). - description String
- Description text for the query
- interval
In IntegerMinutes - Interval in minutes that query is run periodically.
- interval
In IntegerSeconds - Interval in minutes which query is run periodically.
- logging
Query List<GetDetails Data Sources Data Source Collection Item Data Source Detail Logging Query Detail> - Details for a logging query for a data source.
- logging
Query 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.
- query
Start 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
- scheduled
Query 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
- additional
Entities numberCount - The additional entities count used for data source query
- data
Source stringFeed Provider - A filter to return only resources when their feed provider matches the given feed provider (
DataSourceFeedProvider
resource). - description string
- Description text for the query
- interval
In numberMinutes - Interval in minutes that query is run periodically.
- interval
In numberSeconds - Interval in minutes which query is run periodically.
- logging
Query GetDetails Data Sources Data Source Collection Item Data Source Detail Logging Query Detail[] - Details for a logging query for a data source.
- logging
Query 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.
- query
Start 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
- scheduled
Query 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 (
DataSourceFeedProvider
resource). - 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[cloudguard.details Get 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[cloudguard.times Get 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[cloudguard.scope_ details Get 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
- additional
Entities NumberCount - The additional entities count used for data source query
- data
Source StringFeed Provider - A filter to return only resources when their feed provider matches the given feed provider (
DataSourceFeedProvider
resource). - description String
- Description text for the query
- interval
In NumberMinutes - Interval in minutes that query is run periodically.
- interval
In NumberSeconds - Interval in minutes which query is run periodically.
- logging
Query List<Property Map>Details - Details for a logging query for a data source.
- logging
Query 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.
- query
Start 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
- scheduled
Query 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
- Key
Entities intCount - The key entities count used for data source query
- Logging
Query 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 stringType - A filter to return only resources where their query type matches the given LoggingQueryType.
- key
Entities IntegerCount - The key entities count used for data source query
- logging
Query StringType - A filter to return only resources where their query type matches the given LoggingQueryType.
- key
Entities numberCount - The key entities count used for data source query
- logging
Query 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.
- key
Entities NumberCount - The key entities count used for data source query
- logging
Query StringType - A filter to return only resources where their query type matches the given LoggingQueryType.
GetDataSourcesDataSourceCollectionItemDataSourceDetailQueryStartTime
- Query
Start stringTime - Time when the query can start. If not specified it can start immediately
- Start
Policy stringType - Start policy delay timing
- Query
Start stringTime - Time when the query can start. If not specified it can start immediately
- Start
Policy stringType - Start policy delay timing
- query
Start StringTime - Time when the query can start. If not specified it can start immediately
- start
Policy StringType - Start policy delay timing
- query
Start stringTime - Time when the query can start. If not specified it can start immediately
- start
Policy 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
- query
Start StringTime - Time when the query can start. If not specified it can start immediately
- start
Policy StringType - Start policy delay timing
GetDataSourcesDataSourceCollectionItemDataSourceDetailScheduledQueryScopeDetail
- Region string
- Data source replication region
- Resource
Ids List<string> - List of OCIDs on scheduled query needs to run
- Resource
Type string - Type of resource
- Region string
- Data source replication region
- Resource
Ids []string - List of OCIDs on scheduled query needs to run
- Resource
Type string - Type of resource
- region String
- Data source replication region
- resource
Ids List<String> - List of OCIDs on scheduled query needs to run
- resource
Type String - Type of resource
- region string
- Data source replication region
- resource
Ids string[] - List of OCIDs on scheduled query needs to run
- resource
Type 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
- resource
Ids List<String> - List of OCIDs on scheduled query needs to run
- resource
Type String - Type of resource
GetDataSourcesDataSourceCollectionItemDataSourceDetectorMappingInfo
- Detector
Recipe stringId - ID of the detector recipe attached to the data source
- Detector
Rule stringId - ID of the detector rule attached to the data source
- Detector
Recipe stringId - ID of the detector recipe attached to the data source
- Detector
Rule stringId - ID of the detector rule attached to the data source
- detector
Recipe StringId - ID of the detector recipe attached to the data source
- detector
Rule StringId - ID of the detector rule attached to the data source
- detector
Recipe stringId - ID of the detector recipe attached to the data source
- detector
Rule 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
- detector
Recipe StringId - ID of the detector recipe attached to the data source
- detector
Rule 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
oci
Terraform Provider.