oci.CloudGuard.CloudGuardDataSource
Explore with Pulumi AI
This resource provides the Data Source resource in Oracle Cloud Infrastructure Cloud Guard service.
Creates a data source (DataSource resource), using parameters passed through a CreateDataSourceDetails resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDataSource = new oci.cloudguard.CloudGuardDataSource("test_data_source", {
    compartmentId: compartmentId,
    dataSourceFeedProvider: dataSourceDataSourceFeedProvider,
    displayName: dataSourceDisplayName,
    dataSourceDetails: {
        dataSourceFeedProvider: dataSourceDataSourceDetailsDataSourceFeedProvider,
        additionalEntitiesCount: dataSourceDataSourceDetailsAdditionalEntitiesCount,
        description: dataSourceDataSourceDetailsDescription,
        intervalInMinutes: dataSourceDataSourceDetailsIntervalInMinutes,
        intervalInSeconds: dataSourceDataSourceDetailsIntervalInSeconds,
        loggingQueryDetails: {
            loggingQueryType: dataSourceDataSourceDetailsLoggingQueryDetailsLoggingQueryType,
            keyEntitiesCount: dataSourceDataSourceDetailsLoggingQueryDetailsKeyEntitiesCount,
        },
        loggingQueryType: dataSourceDataSourceDetailsLoggingQueryType,
        operator: dataSourceDataSourceDetailsOperator,
        query: dataSourceDataSourceDetailsQuery,
        queryStartTime: {
            startPolicyType: dataSourceDataSourceDetailsQueryStartTimeStartPolicyType,
            queryStartTime: dataSourceDataSourceDetailsQueryStartTimeQueryStartTime,
        },
        regions: dataSourceDataSourceDetailsRegions,
        scheduledQueryScopeDetails: [{
            region: dataSourceDataSourceDetailsScheduledQueryScopeDetailsRegion,
            resourceIds: dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceIds,
            resourceType: dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceType,
        }],
        threshold: dataSourceDataSourceDetailsThreshold,
    },
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    freeformTags: {
        "bar-key": "value",
    },
    status: dataSourceStatus,
});
import pulumi
import pulumi_oci as oci
test_data_source = oci.cloud_guard.CloudGuardDataSource("test_data_source",
    compartment_id=compartment_id,
    data_source_feed_provider=data_source_data_source_feed_provider,
    display_name=data_source_display_name,
    data_source_details={
        "data_source_feed_provider": data_source_data_source_details_data_source_feed_provider,
        "additional_entities_count": data_source_data_source_details_additional_entities_count,
        "description": data_source_data_source_details_description,
        "interval_in_minutes": data_source_data_source_details_interval_in_minutes,
        "interval_in_seconds": data_source_data_source_details_interval_in_seconds,
        "logging_query_details": {
            "logging_query_type": data_source_data_source_details_logging_query_details_logging_query_type,
            "key_entities_count": data_source_data_source_details_logging_query_details_key_entities_count,
        },
        "logging_query_type": data_source_data_source_details_logging_query_type,
        "operator": data_source_data_source_details_operator,
        "query": data_source_data_source_details_query,
        "query_start_time": {
            "start_policy_type": data_source_data_source_details_query_start_time_start_policy_type,
            "query_start_time": data_source_data_source_details_query_start_time_query_start_time,
        },
        "regions": data_source_data_source_details_regions,
        "scheduled_query_scope_details": [{
            "region": data_source_data_source_details_scheduled_query_scope_details_region,
            "resource_ids": data_source_data_source_details_scheduled_query_scope_details_resource_ids,
            "resource_type": data_source_data_source_details_scheduled_query_scope_details_resource_type,
        }],
        "threshold": data_source_data_source_details_threshold,
    },
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    freeform_tags={
        "bar-key": "value",
    },
    status=data_source_status)
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.NewCloudGuardDataSource(ctx, "test_data_source", &cloudguard.CloudGuardDataSourceArgs{
			CompartmentId:          pulumi.Any(compartmentId),
			DataSourceFeedProvider: pulumi.Any(dataSourceDataSourceFeedProvider),
			DisplayName:            pulumi.Any(dataSourceDisplayName),
			DataSourceDetails: &cloudguard.CloudGuardDataSourceDataSourceDetailsArgs{
				DataSourceFeedProvider:  pulumi.Any(dataSourceDataSourceDetailsDataSourceFeedProvider),
				AdditionalEntitiesCount: pulumi.Any(dataSourceDataSourceDetailsAdditionalEntitiesCount),
				Description:             pulumi.Any(dataSourceDataSourceDetailsDescription),
				IntervalInMinutes:       pulumi.Any(dataSourceDataSourceDetailsIntervalInMinutes),
				IntervalInSeconds:       pulumi.Any(dataSourceDataSourceDetailsIntervalInSeconds),
				LoggingQueryDetails: &cloudguard.CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs{
					LoggingQueryType: pulumi.Any(dataSourceDataSourceDetailsLoggingQueryDetailsLoggingQueryType),
					KeyEntitiesCount: pulumi.Any(dataSourceDataSourceDetailsLoggingQueryDetailsKeyEntitiesCount),
				},
				LoggingQueryType: pulumi.Any(dataSourceDataSourceDetailsLoggingQueryType),
				Operator:         pulumi.Any(dataSourceDataSourceDetailsOperator),
				Query:            pulumi.Any(dataSourceDataSourceDetailsQuery),
				QueryStartTime: &cloudguard.CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs{
					StartPolicyType: pulumi.Any(dataSourceDataSourceDetailsQueryStartTimeStartPolicyType),
					QueryStartTime:  pulumi.Any(dataSourceDataSourceDetailsQueryStartTimeQueryStartTime),
				},
				Regions: pulumi.Any(dataSourceDataSourceDetailsRegions),
				ScheduledQueryScopeDetails: cloudguard.CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArray{
					&cloudguard.CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArgs{
						Region:       pulumi.Any(dataSourceDataSourceDetailsScheduledQueryScopeDetailsRegion),
						ResourceIds:  pulumi.Any(dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceIds),
						ResourceType: pulumi.Any(dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceType),
					},
				},
				Threshold: pulumi.Any(dataSourceDataSourceDetailsThreshold),
			},
			DefinedTags: pulumi.StringMap{
				"foo-namespace.bar-key": pulumi.String("value"),
			},
			FreeformTags: pulumi.StringMap{
				"bar-key": pulumi.String("value"),
			},
			Status: pulumi.Any(dataSourceStatus),
		})
		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 testDataSource = new Oci.CloudGuard.CloudGuardDataSource("test_data_source", new()
    {
        CompartmentId = compartmentId,
        DataSourceFeedProvider = dataSourceDataSourceFeedProvider,
        DisplayName = dataSourceDisplayName,
        DataSourceDetails = new Oci.CloudGuard.Inputs.CloudGuardDataSourceDataSourceDetailsArgs
        {
            DataSourceFeedProvider = dataSourceDataSourceDetailsDataSourceFeedProvider,
            AdditionalEntitiesCount = dataSourceDataSourceDetailsAdditionalEntitiesCount,
            Description = dataSourceDataSourceDetailsDescription,
            IntervalInMinutes = dataSourceDataSourceDetailsIntervalInMinutes,
            IntervalInSeconds = dataSourceDataSourceDetailsIntervalInSeconds,
            LoggingQueryDetails = new Oci.CloudGuard.Inputs.CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs
            {
                LoggingQueryType = dataSourceDataSourceDetailsLoggingQueryDetailsLoggingQueryType,
                KeyEntitiesCount = dataSourceDataSourceDetailsLoggingQueryDetailsKeyEntitiesCount,
            },
            LoggingQueryType = dataSourceDataSourceDetailsLoggingQueryType,
            Operator = dataSourceDataSourceDetailsOperator,
            Query = dataSourceDataSourceDetailsQuery,
            QueryStartTime = new Oci.CloudGuard.Inputs.CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs
            {
                StartPolicyType = dataSourceDataSourceDetailsQueryStartTimeStartPolicyType,
                QueryStartTime = dataSourceDataSourceDetailsQueryStartTimeQueryStartTime,
            },
            Regions = dataSourceDataSourceDetailsRegions,
            ScheduledQueryScopeDetails = new[]
            {
                new Oci.CloudGuard.Inputs.CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArgs
                {
                    Region = dataSourceDataSourceDetailsScheduledQueryScopeDetailsRegion,
                    ResourceIds = dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceIds,
                    ResourceType = dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceType,
                },
            },
            Threshold = dataSourceDataSourceDetailsThreshold,
        },
        DefinedTags = 
        {
            { "foo-namespace.bar-key", "value" },
        },
        FreeformTags = 
        {
            { "bar-key", "value" },
        },
        Status = dataSourceStatus,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CloudGuard.CloudGuardDataSource;
import com.pulumi.oci.CloudGuard.CloudGuardDataSourceArgs;
import com.pulumi.oci.CloudGuard.inputs.CloudGuardDataSourceDataSourceDetailsArgs;
import com.pulumi.oci.CloudGuard.inputs.CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs;
import com.pulumi.oci.CloudGuard.inputs.CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs;
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) {
        var testDataSource = new CloudGuardDataSource("testDataSource", CloudGuardDataSourceArgs.builder()
            .compartmentId(compartmentId)
            .dataSourceFeedProvider(dataSourceDataSourceFeedProvider)
            .displayName(dataSourceDisplayName)
            .dataSourceDetails(CloudGuardDataSourceDataSourceDetailsArgs.builder()
                .dataSourceFeedProvider(dataSourceDataSourceDetailsDataSourceFeedProvider)
                .additionalEntitiesCount(dataSourceDataSourceDetailsAdditionalEntitiesCount)
                .description(dataSourceDataSourceDetailsDescription)
                .intervalInMinutes(dataSourceDataSourceDetailsIntervalInMinutes)
                .intervalInSeconds(dataSourceDataSourceDetailsIntervalInSeconds)
                .loggingQueryDetails(CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs.builder()
                    .loggingQueryType(dataSourceDataSourceDetailsLoggingQueryDetailsLoggingQueryType)
                    .keyEntitiesCount(dataSourceDataSourceDetailsLoggingQueryDetailsKeyEntitiesCount)
                    .build())
                .loggingQueryType(dataSourceDataSourceDetailsLoggingQueryType)
                .operator(dataSourceDataSourceDetailsOperator)
                .query(dataSourceDataSourceDetailsQuery)
                .queryStartTime(CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs.builder()
                    .startPolicyType(dataSourceDataSourceDetailsQueryStartTimeStartPolicyType)
                    .queryStartTime(dataSourceDataSourceDetailsQueryStartTimeQueryStartTime)
                    .build())
                .regions(dataSourceDataSourceDetailsRegions)
                .scheduledQueryScopeDetails(CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArgs.builder()
                    .region(dataSourceDataSourceDetailsScheduledQueryScopeDetailsRegion)
                    .resourceIds(dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceIds)
                    .resourceType(dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceType)
                    .build())
                .threshold(dataSourceDataSourceDetailsThreshold)
                .build())
            .definedTags(Map.of("foo-namespace.bar-key", "value"))
            .freeformTags(Map.of("bar-key", "value"))
            .status(dataSourceStatus)
            .build());
    }
}
resources:
  testDataSource:
    type: oci:CloudGuard:CloudGuardDataSource
    name: test_data_source
    properties:
      compartmentId: ${compartmentId}
      dataSourceFeedProvider: ${dataSourceDataSourceFeedProvider}
      displayName: ${dataSourceDisplayName}
      dataSourceDetails:
        dataSourceFeedProvider: ${dataSourceDataSourceDetailsDataSourceFeedProvider}
        additionalEntitiesCount: ${dataSourceDataSourceDetailsAdditionalEntitiesCount}
        description: ${dataSourceDataSourceDetailsDescription}
        intervalInMinutes: ${dataSourceDataSourceDetailsIntervalInMinutes}
        intervalInSeconds: ${dataSourceDataSourceDetailsIntervalInSeconds}
        loggingQueryDetails:
          loggingQueryType: ${dataSourceDataSourceDetailsLoggingQueryDetailsLoggingQueryType}
          keyEntitiesCount: ${dataSourceDataSourceDetailsLoggingQueryDetailsKeyEntitiesCount}
        loggingQueryType: ${dataSourceDataSourceDetailsLoggingQueryType}
        operator: ${dataSourceDataSourceDetailsOperator}
        query: ${dataSourceDataSourceDetailsQuery}
        queryStartTime:
          startPolicyType: ${dataSourceDataSourceDetailsQueryStartTimeStartPolicyType}
          queryStartTime: ${dataSourceDataSourceDetailsQueryStartTimeQueryStartTime}
        regions: ${dataSourceDataSourceDetailsRegions}
        scheduledQueryScopeDetails:
          - region: ${dataSourceDataSourceDetailsScheduledQueryScopeDetailsRegion}
            resourceIds: ${dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceIds}
            resourceType: ${dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceType}
        threshold: ${dataSourceDataSourceDetailsThreshold}
      definedTags:
        foo-namespace.bar-key: value
      freeformTags:
        bar-key: value
      status: ${dataSourceStatus}
Create CloudGuardDataSource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudGuardDataSource(name: string, args: CloudGuardDataSourceArgs, opts?: CustomResourceOptions);@overload
def CloudGuardDataSource(resource_name: str,
                         args: CloudGuardDataSourceArgs,
                         opts: Optional[ResourceOptions] = None)
@overload
def CloudGuardDataSource(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         compartment_id: Optional[str] = None,
                         data_source_feed_provider: Optional[str] = None,
                         display_name: Optional[str] = None,
                         data_source_details: Optional[CloudGuardDataSourceDataSourceDetailsArgs] = None,
                         defined_tags: Optional[Mapping[str, str]] = None,
                         freeform_tags: Optional[Mapping[str, str]] = None,
                         status: Optional[str] = None)func NewCloudGuardDataSource(ctx *Context, name string, args CloudGuardDataSourceArgs, opts ...ResourceOption) (*CloudGuardDataSource, error)public CloudGuardDataSource(string name, CloudGuardDataSourceArgs args, CustomResourceOptions? opts = null)
public CloudGuardDataSource(String name, CloudGuardDataSourceArgs args)
public CloudGuardDataSource(String name, CloudGuardDataSourceArgs args, CustomResourceOptions options)
type: oci:CloudGuard:CloudGuardDataSource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CloudGuardDataSourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CloudGuardDataSourceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CloudGuardDataSourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudGuardDataSourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudGuardDataSourceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cloudGuardDataSourceResource = new Oci.CloudGuard.CloudGuardDataSource("cloudGuardDataSourceResource", new()
{
    CompartmentId = "string",
    DataSourceFeedProvider = "string",
    DisplayName = "string",
    DataSourceDetails = new Oci.CloudGuard.Inputs.CloudGuardDataSourceDataSourceDetailsArgs
    {
        DataSourceFeedProvider = "string",
        LoggingQueryType = "string",
        Description = "string",
        IntervalInMinutes = 0,
        IntervalInSeconds = 0,
        LoggingQueryDetails = new Oci.CloudGuard.Inputs.CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs
        {
            LoggingQueryType = "string",
            KeyEntitiesCount = 0,
        },
        AdditionalEntitiesCount = 0,
        Operator = "string",
        Query = "string",
        QueryStartTime = new Oci.CloudGuard.Inputs.CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs
        {
            StartPolicyType = "string",
            QueryStartTime = "string",
        },
        Regions = new[]
        {
            "string",
        },
        ScheduledQueryScopeDetails = new[]
        {
            new Oci.CloudGuard.Inputs.CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArgs
            {
                Region = "string",
                ResourceIds = new[]
                {
                    "string",
                },
                ResourceType = "string",
            },
        },
        Threshold = 0,
    },
    DefinedTags = 
    {
        { "string", "string" },
    },
    FreeformTags = 
    {
        { "string", "string" },
    },
    Status = "string",
});
example, err := cloudguard.NewCloudGuardDataSource(ctx, "cloudGuardDataSourceResource", &cloudguard.CloudGuardDataSourceArgs{
	CompartmentId:          pulumi.String("string"),
	DataSourceFeedProvider: pulumi.String("string"),
	DisplayName:            pulumi.String("string"),
	DataSourceDetails: &cloudguard.CloudGuardDataSourceDataSourceDetailsArgs{
		DataSourceFeedProvider: pulumi.String("string"),
		LoggingQueryType:       pulumi.String("string"),
		Description:            pulumi.String("string"),
		IntervalInMinutes:      pulumi.Int(0),
		IntervalInSeconds:      pulumi.Int(0),
		LoggingQueryDetails: &cloudguard.CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs{
			LoggingQueryType: pulumi.String("string"),
			KeyEntitiesCount: pulumi.Int(0),
		},
		AdditionalEntitiesCount: pulumi.Int(0),
		Operator:                pulumi.String("string"),
		Query:                   pulumi.String("string"),
		QueryStartTime: &cloudguard.CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs{
			StartPolicyType: pulumi.String("string"),
			QueryStartTime:  pulumi.String("string"),
		},
		Regions: pulumi.StringArray{
			pulumi.String("string"),
		},
		ScheduledQueryScopeDetails: cloudguard.CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArray{
			&cloudguard.CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArgs{
				Region: pulumi.String("string"),
				ResourceIds: pulumi.StringArray{
					pulumi.String("string"),
				},
				ResourceType: pulumi.String("string"),
			},
		},
		Threshold: pulumi.Int(0),
	},
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Status: pulumi.String("string"),
})
var cloudGuardDataSourceResource = new CloudGuardDataSource("cloudGuardDataSourceResource", CloudGuardDataSourceArgs.builder()
    .compartmentId("string")
    .dataSourceFeedProvider("string")
    .displayName("string")
    .dataSourceDetails(CloudGuardDataSourceDataSourceDetailsArgs.builder()
        .dataSourceFeedProvider("string")
        .loggingQueryType("string")
        .description("string")
        .intervalInMinutes(0)
        .intervalInSeconds(0)
        .loggingQueryDetails(CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs.builder()
            .loggingQueryType("string")
            .keyEntitiesCount(0)
            .build())
        .additionalEntitiesCount(0)
        .operator("string")
        .query("string")
        .queryStartTime(CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs.builder()
            .startPolicyType("string")
            .queryStartTime("string")
            .build())
        .regions("string")
        .scheduledQueryScopeDetails(CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArgs.builder()
            .region("string")
            .resourceIds("string")
            .resourceType("string")
            .build())
        .threshold(0)
        .build())
    .definedTags(Map.of("string", "string"))
    .freeformTags(Map.of("string", "string"))
    .status("string")
    .build());
cloud_guard_data_source_resource = oci.cloud_guard.CloudGuardDataSource("cloudGuardDataSourceResource",
    compartment_id="string",
    data_source_feed_provider="string",
    display_name="string",
    data_source_details={
        "data_source_feed_provider": "string",
        "logging_query_type": "string",
        "description": "string",
        "interval_in_minutes": 0,
        "interval_in_seconds": 0,
        "logging_query_details": {
            "logging_query_type": "string",
            "key_entities_count": 0,
        },
        "additional_entities_count": 0,
        "operator": "string",
        "query": "string",
        "query_start_time": {
            "start_policy_type": "string",
            "query_start_time": "string",
        },
        "regions": ["string"],
        "scheduled_query_scope_details": [{
            "region": "string",
            "resource_ids": ["string"],
            "resource_type": "string",
        }],
        "threshold": 0,
    },
    defined_tags={
        "string": "string",
    },
    freeform_tags={
        "string": "string",
    },
    status="string")
const cloudGuardDataSourceResource = new oci.cloudguard.CloudGuardDataSource("cloudGuardDataSourceResource", {
    compartmentId: "string",
    dataSourceFeedProvider: "string",
    displayName: "string",
    dataSourceDetails: {
        dataSourceFeedProvider: "string",
        loggingQueryType: "string",
        description: "string",
        intervalInMinutes: 0,
        intervalInSeconds: 0,
        loggingQueryDetails: {
            loggingQueryType: "string",
            keyEntitiesCount: 0,
        },
        additionalEntitiesCount: 0,
        operator: "string",
        query: "string",
        queryStartTime: {
            startPolicyType: "string",
            queryStartTime: "string",
        },
        regions: ["string"],
        scheduledQueryScopeDetails: [{
            region: "string",
            resourceIds: ["string"],
            resourceType: "string",
        }],
        threshold: 0,
    },
    definedTags: {
        string: "string",
    },
    freeformTags: {
        string: "string",
    },
    status: "string",
});
type: oci:CloudGuard:CloudGuardDataSource
properties:
    compartmentId: string
    dataSourceDetails:
        additionalEntitiesCount: 0
        dataSourceFeedProvider: string
        description: string
        intervalInMinutes: 0
        intervalInSeconds: 0
        loggingQueryDetails:
            keyEntitiesCount: 0
            loggingQueryType: string
        loggingQueryType: string
        operator: string
        query: string
        queryStartTime:
            queryStartTime: string
            startPolicyType: string
        regions:
            - string
        scheduledQueryScopeDetails:
            - region: string
              resourceIds:
                - string
              resourceType: string
        threshold: 0
    dataSourceFeedProvider: string
    definedTags:
        string: string
    displayName: string
    freeformTags:
        string: string
    status: string
CloudGuardDataSource Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CloudGuardDataSource resource accepts the following input properties:
- CompartmentId string
- (Updatable) Compartment OCID of the data source
- DataSource stringFeed Provider 
- Type of data source feed provider (LoggingQuery)
- DisplayName string
- (Updatable) Data source display name
- DataSource CloudDetails Guard Data Source Data Source Details 
- (Updatable) Details specific to the data source type.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- Status string
- (Updatable) Enablement status of data source. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- CompartmentId string
- (Updatable) Compartment OCID of the data source
- DataSource stringFeed Provider 
- Type of data source feed provider (LoggingQuery)
- DisplayName string
- (Updatable) Data source display name
- DataSource CloudDetails Guard Data Source Data Source Details Args 
- (Updatable) Details specific to the data source type.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- Status string
- (Updatable) Enablement status of data source. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- compartmentId String
- (Updatable) Compartment OCID of the data source
- dataSource StringFeed Provider 
- Type of data source feed provider (LoggingQuery)
- displayName String
- (Updatable) Data source display name
- dataSource DataDetails Source Data Source Details 
- (Updatable) Details specific to the data source type.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- status String
- (Updatable) Enablement status of data source. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- compartmentId string
- (Updatable) Compartment OCID of the data source
- dataSource stringFeed Provider 
- Type of data source feed provider (LoggingQuery)
- displayName string
- (Updatable) Data source display name
- dataSource CloudDetails Guard Data Source Data Source Details 
- (Updatable) Details specific to the data source type.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- status string
- (Updatable) Enablement status of data source. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- compartment_id str
- (Updatable) Compartment OCID of the data source
- data_source_ strfeed_ provider 
- Type of data source feed provider (LoggingQuery)
- display_name str
- (Updatable) Data source display name
- data_source_ Clouddetails Guard Data Source Data Source Details Args 
- (Updatable) Details specific to the data source type.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- status str
- (Updatable) Enablement status of data source. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- compartmentId String
- (Updatable) Compartment OCID of the data source
- dataSource StringFeed Provider 
- Type of data source feed provider (LoggingQuery)
- displayName String
- (Updatable) Data source display name
- dataSource Property MapDetails 
- (Updatable) Details specific to the data source type.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- status String
- (Updatable) Enablement status of data source. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudGuardDataSource resource produces the following output properties:
- DataSource List<CloudDetector Mapping Infos Guard Data Source Data Source Detector Mapping Info> 
- Information about the detector recipe and rule attached
- Id string
- The provider-assigned unique ID for this managed resource.
- RegionStatus List<CloudDetails Guard Data Source Region Status Detail> 
- Information about the region and status of query replication
- State string
- The current lifecycle state of the resource.
- 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.
- DataSource []CloudDetector Mapping Infos Guard Data Source Data Source Detector Mapping Info 
- Information about the detector recipe and rule attached
- Id string
- The provider-assigned unique ID for this managed resource.
- RegionStatus []CloudDetails Guard Data Source Region Status Detail 
- Information about the region and status of query replication
- State string
- The current lifecycle state of the resource.
- 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.
- dataSource List<DataDetector Mapping Infos Source Data Source Detector Mapping Info> 
- Information about the detector recipe and rule attached
- id String
- The provider-assigned unique ID for this managed resource.
- regionStatus List<DataDetails Source Region Status Detail> 
- Information about the region and status of query replication
- state String
- The current lifecycle state of the resource.
- 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.
- dataSource CloudDetector Mapping Infos Guard Data Source Data Source Detector Mapping Info[] 
- Information about the detector recipe and rule attached
- id string
- The provider-assigned unique ID for this managed resource.
- regionStatus CloudDetails Guard Data Source Region Status Detail[] 
- Information about the region and status of query replication
- state string
- The current lifecycle state of the resource.
- {[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.
- data_source_ Sequence[Clouddetector_ mapping_ infos Guard Data Source Data Source Detector Mapping Info] 
- Information about the detector recipe and rule attached
- id str
- The provider-assigned unique ID for this managed resource.
- region_status_ Sequence[Clouddetails Guard Data Source Region Status Detail] 
- Information about the region and status of query replication
- state str
- The current lifecycle state of the resource.
- 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.
- dataSource List<Property Map>Detector Mapping Infos 
- Information about the detector recipe and rule attached
- id String
- The provider-assigned unique ID for this managed resource.
- regionStatus List<Property Map>Details 
- Information about the region and status of query replication
- state String
- The current lifecycle state of the resource.
- 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.
Look up Existing CloudGuardDataSource Resource
Get an existing CloudGuardDataSource resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CloudGuardDataSourceState, opts?: CustomResourceOptions): CloudGuardDataSource@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        data_source_details: Optional[CloudGuardDataSourceDataSourceDetailsArgs] = None,
        data_source_detector_mapping_infos: Optional[Sequence[CloudGuardDataSourceDataSourceDetectorMappingInfoArgs]] = None,
        data_source_feed_provider: Optional[str] = None,
        defined_tags: Optional[Mapping[str, str]] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        region_status_details: Optional[Sequence[CloudGuardDataSourceRegionStatusDetailArgs]] = None,
        state: Optional[str] = None,
        status: Optional[str] = None,
        system_tags: Optional[Mapping[str, str]] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> CloudGuardDataSourcefunc GetCloudGuardDataSource(ctx *Context, name string, id IDInput, state *CloudGuardDataSourceState, opts ...ResourceOption) (*CloudGuardDataSource, error)public static CloudGuardDataSource Get(string name, Input<string> id, CloudGuardDataSourceState? state, CustomResourceOptions? opts = null)public static CloudGuardDataSource get(String name, Output<String> id, CloudGuardDataSourceState state, CustomResourceOptions options)resources:  _:    type: oci:CloudGuard:CloudGuardDataSource    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- CompartmentId string
- (Updatable) Compartment OCID of the data source
- DataSource CloudDetails Guard Data Source Data Source Details 
- (Updatable) Details specific to the data source type.
- DataSource List<CloudDetector Mapping Infos Guard Data Source Data Source Detector Mapping Info> 
- Information about the detector recipe and rule attached
- DataSource stringFeed Provider 
- Type of data source feed provider (LoggingQuery)
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DisplayName string
- (Updatable) Data source display name
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- RegionStatus List<CloudDetails Guard Data Source Region Status Detail> 
- Information about the region and status of query replication
- State string
- The current lifecycle state of the resource.
- Status string
- (Updatable) Enablement status of data source. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- 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
- (Updatable) Compartment OCID of the data source
- DataSource CloudDetails Guard Data Source Data Source Details Args 
- (Updatable) Details specific to the data source type.
- DataSource []CloudDetector Mapping Infos Guard Data Source Data Source Detector Mapping Info Args 
- Information about the detector recipe and rule attached
- DataSource stringFeed Provider 
- Type of data source feed provider (LoggingQuery)
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- DisplayName string
- (Updatable) Data source display name
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- RegionStatus []CloudDetails Guard Data Source Region Status Detail Args 
- Information about the region and status of query replication
- State string
- The current lifecycle state of the resource.
- Status string
- (Updatable) Enablement status of data source. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- 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
- (Updatable) Compartment OCID of the data source
- dataSource DataDetails Source Data Source Details 
- (Updatable) Details specific to the data source type.
- dataSource List<DataDetector Mapping Infos Source Data Source Detector Mapping Info> 
- Information about the detector recipe and rule attached
- dataSource StringFeed Provider 
- Type of data source feed provider (LoggingQuery)
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName String
- (Updatable) Data source display name
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- regionStatus List<DataDetails Source Region Status Detail> 
- Information about the region and status of query replication
- state String
- The current lifecycle state of the resource.
- status String
- (Updatable) Enablement status of data source. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- 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
- (Updatable) Compartment OCID of the data source
- dataSource CloudDetails Guard Data Source Data Source Details 
- (Updatable) Details specific to the data source type.
- dataSource CloudDetector Mapping Infos Guard Data Source Data Source Detector Mapping Info[] 
- Information about the detector recipe and rule attached
- dataSource stringFeed Provider 
- Type of data source feed provider (LoggingQuery)
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName string
- (Updatable) Data source display name
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- regionStatus CloudDetails Guard Data Source Region Status Detail[] 
- Information about the region and status of query replication
- state string
- The current lifecycle state of the resource.
- status string
- (Updatable) Enablement status of data source. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- {[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
- (Updatable) Compartment OCID of the data source
- data_source_ Clouddetails Guard Data Source Data Source Details Args 
- (Updatable) Details specific to the data source type.
- data_source_ Sequence[Clouddetector_ mapping_ infos Guard Data Source Data Source Detector Mapping Info Args] 
- Information about the detector recipe and rule attached
- data_source_ strfeed_ provider 
- Type of data source feed provider (LoggingQuery)
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- display_name str
- (Updatable) Data source display name
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- region_status_ Sequence[Clouddetails Guard Data Source Region Status Detail Args] 
- Information about the region and status of query replication
- state str
- The current lifecycle state of the resource.
- status str
- (Updatable) Enablement status of data source. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- 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
- (Updatable) Compartment OCID of the data source
- dataSource Property MapDetails 
- (Updatable) 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 
- Type of data source feed provider (LoggingQuery)
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- displayName String
- (Updatable) Data source display name
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: - {"bar-key": "value"}- Avoid entering confidential information. 
- regionStatus List<Property Map>Details 
- Information about the region and status of query replication
- state String
- The current lifecycle state of the resource.
- status String
- (Updatable) Enablement status of data source. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- 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.
Supporting Types
CloudGuardDataSourceDataSourceDetails, CloudGuardDataSourceDataSourceDetailsArgs              
- DataSource stringFeed Provider 
- (Updatable) Type of data source feed provider (LoggingQuery)
- AdditionalEntities intCount 
- (Updatable) The additional entities count used for data source query
- Description string
- (Updatable) Description text for the query
- IntervalIn intMinutes 
- (Updatable) Interval in minutes that query is run periodically.
- IntervalIn intSeconds 
- (Updatable) Interval in minutes which query is run periodically.
- LoggingQuery CloudDetails Guard Data Source Data Source Details Logging Query Details 
- (Updatable) Details for a logging query for a data source.
- LoggingQuery stringType 
- (Updatable) Type of logging query for data source (Sighting/Insight)
- Operator string
- (Updatable) Operator used in data source
- Query string
- (Updatable) The continuous query expression that is run periodically.
- QueryStart CloudTime Guard Data Source Data Source Details Query Start Time 
- (Updatable) Start policy for continuous query
- Regions List<string>
- (Updatable) List of logging query regions
- ScheduledQuery List<CloudScope Details Guard Data Source Data Source Details Scheduled Query Scope Detail> 
- (Updatable) Target information in which scheduled query will be run
- Threshold int
- (Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
- DataSource stringFeed Provider 
- (Updatable) Type of data source feed provider (LoggingQuery)
- AdditionalEntities intCount 
- (Updatable) The additional entities count used for data source query
- Description string
- (Updatable) Description text for the query
- IntervalIn intMinutes 
- (Updatable) Interval in minutes that query is run periodically.
- IntervalIn intSeconds 
- (Updatable) Interval in minutes which query is run periodically.
- LoggingQuery CloudDetails Guard Data Source Data Source Details Logging Query Details 
- (Updatable) Details for a logging query for a data source.
- LoggingQuery stringType 
- (Updatable) Type of logging query for data source (Sighting/Insight)
- Operator string
- (Updatable) Operator used in data source
- Query string
- (Updatable) The continuous query expression that is run periodically.
- QueryStart CloudTime Guard Data Source Data Source Details Query Start Time 
- (Updatable) Start policy for continuous query
- Regions []string
- (Updatable) List of logging query regions
- ScheduledQuery []CloudScope Details Guard Data Source Data Source Details Scheduled Query Scope Detail 
- (Updatable) Target information in which scheduled query will be run
- Threshold int
- (Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
- dataSource StringFeed Provider 
- (Updatable) Type of data source feed provider (LoggingQuery)
- additionalEntities IntegerCount 
- (Updatable) The additional entities count used for data source query
- description String
- (Updatable) Description text for the query
- intervalIn IntegerMinutes 
- (Updatable) Interval in minutes that query is run periodically.
- intervalIn IntegerSeconds 
- (Updatable) Interval in minutes which query is run periodically.
- loggingQuery DataDetails Source Data Source Details Logging Query Details 
- (Updatable) Details for a logging query for a data source.
- loggingQuery StringType 
- (Updatable) Type of logging query for data source (Sighting/Insight)
- operator String
- (Updatable) Operator used in data source
- query String
- (Updatable) The continuous query expression that is run periodically.
- queryStart DataTime Source Data Source Details Query Start Time 
- (Updatable) Start policy for continuous query
- regions List<String>
- (Updatable) List of logging query regions
- scheduledQuery List<DataScope Details Source Data Source Details Scheduled Query Scope Detail> 
- (Updatable) Target information in which scheduled query will be run
- threshold Integer
- (Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
- dataSource stringFeed Provider 
- (Updatable) Type of data source feed provider (LoggingQuery)
- additionalEntities numberCount 
- (Updatable) The additional entities count used for data source query
- description string
- (Updatable) Description text for the query
- intervalIn numberMinutes 
- (Updatable) Interval in minutes that query is run periodically.
- intervalIn numberSeconds 
- (Updatable) Interval in minutes which query is run periodically.
- loggingQuery CloudDetails Guard Data Source Data Source Details Logging Query Details 
- (Updatable) Details for a logging query for a data source.
- loggingQuery stringType 
- (Updatable) Type of logging query for data source (Sighting/Insight)
- operator string
- (Updatable) Operator used in data source
- query string
- (Updatable) The continuous query expression that is run periodically.
- queryStart CloudTime Guard Data Source Data Source Details Query Start Time 
- (Updatable) Start policy for continuous query
- regions string[]
- (Updatable) List of logging query regions
- scheduledQuery CloudScope Details Guard Data Source Data Source Details Scheduled Query Scope Detail[] 
- (Updatable) Target information in which scheduled query will be run
- threshold number
- (Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
- data_source_ strfeed_ provider 
- (Updatable) Type of data source feed provider (LoggingQuery)
- additional_entities_ intcount 
- (Updatable) The additional entities count used for data source query
- description str
- (Updatable) Description text for the query
- interval_in_ intminutes 
- (Updatable) Interval in minutes that query is run periodically.
- interval_in_ intseconds 
- (Updatable) Interval in minutes which query is run periodically.
- logging_query_ Clouddetails Guard Data Source Data Source Details Logging Query Details 
- (Updatable) Details for a logging query for a data source.
- logging_query_ strtype 
- (Updatable) Type of logging query for data source (Sighting/Insight)
- operator str
- (Updatable) Operator used in data source
- query str
- (Updatable) The continuous query expression that is run periodically.
- query_start_ Cloudtime Guard Data Source Data Source Details Query Start Time 
- (Updatable) Start policy for continuous query
- regions Sequence[str]
- (Updatable) List of logging query regions
- scheduled_query_ Sequence[Cloudscope_ details Guard Data Source Data Source Details Scheduled Query Scope Detail] 
- (Updatable) Target information in which scheduled query will be run
- threshold int
- (Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
- dataSource StringFeed Provider 
- (Updatable) Type of data source feed provider (LoggingQuery)
- additionalEntities NumberCount 
- (Updatable) The additional entities count used for data source query
- description String
- (Updatable) Description text for the query
- intervalIn NumberMinutes 
- (Updatable) Interval in minutes that query is run periodically.
- intervalIn NumberSeconds 
- (Updatable) Interval in minutes which query is run periodically.
- loggingQuery Property MapDetails 
- (Updatable) Details for a logging query for a data source.
- loggingQuery StringType 
- (Updatable) Type of logging query for data source (Sighting/Insight)
- operator String
- (Updatable) Operator used in data source
- query String
- (Updatable) The continuous query expression that is run periodically.
- queryStart Property MapTime 
- (Updatable) Start policy for continuous query
- regions List<String>
- (Updatable) List of logging query regions
- scheduledQuery List<Property Map>Scope Details 
- (Updatable) Target information in which scheduled query will be run
- threshold Number
- (Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
CloudGuardDataSourceDataSourceDetailsLoggingQueryDetails, CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs                    
- LoggingQuery stringType 
- (Updatable) Logging query type for data source
- KeyEntities intCount 
- (Updatable) The key entities count used for data source query
- LoggingQuery stringType 
- (Updatable) Logging query type for data source
- KeyEntities intCount 
- (Updatable) The key entities count used for data source query
- loggingQuery StringType 
- (Updatable) Logging query type for data source
- keyEntities IntegerCount 
- (Updatable) The key entities count used for data source query
- loggingQuery stringType 
- (Updatable) Logging query type for data source
- keyEntities numberCount 
- (Updatable) The key entities count used for data source query
- logging_query_ strtype 
- (Updatable) Logging query type for data source
- key_entities_ intcount 
- (Updatable) The key entities count used for data source query
- loggingQuery StringType 
- (Updatable) Logging query type for data source
- keyEntities NumberCount 
- (Updatable) The key entities count used for data source query
CloudGuardDataSourceDataSourceDetailsQueryStartTime, CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs                    
- StartPolicy stringType 
- (Updatable) Start policy delay timing
- QueryStart stringTime 
- (Updatable) Time when the query can start. If not specified it can start immediately
- StartPolicy stringType 
- (Updatable) Start policy delay timing
- QueryStart stringTime 
- (Updatable) Time when the query can start. If not specified it can start immediately
- startPolicy StringType 
- (Updatable) Start policy delay timing
- queryStart StringTime 
- (Updatable) Time when the query can start. If not specified it can start immediately
- startPolicy stringType 
- (Updatable) Start policy delay timing
- queryStart stringTime 
- (Updatable) Time when the query can start. If not specified it can start immediately
- start_policy_ strtype 
- (Updatable) Start policy delay timing
- query_start_ strtime 
- (Updatable) Time when the query can start. If not specified it can start immediately
- startPolicy StringType 
- (Updatable) Start policy delay timing
- queryStart StringTime 
- (Updatable) Time when the query can start. If not specified it can start immediately
CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetail, CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArgs                      
- Region string
- (Updatable) region on which scheduled query needs to be run
- ResourceIds List<string>
- (Updatable) List of OCIDs on scheduled query needs to run
- ResourceType string
- (Updatable) Type of resource
- Region string
- (Updatable) region on which scheduled query needs to be run
- ResourceIds []string
- (Updatable) List of OCIDs on scheduled query needs to run
- ResourceType string
- (Updatable) Type of resource
- region String
- (Updatable) region on which scheduled query needs to be run
- resourceIds List<String>
- (Updatable) List of OCIDs on scheduled query needs to run
- resourceType String
- (Updatable) Type of resource
- region string
- (Updatable) region on which scheduled query needs to be run
- resourceIds string[]
- (Updatable) List of OCIDs on scheduled query needs to run
- resourceType string
- (Updatable) Type of resource
- region str
- (Updatable) region on which scheduled query needs to be run
- resource_ids Sequence[str]
- (Updatable) List of OCIDs on scheduled query needs to run
- resource_type str
- (Updatable) Type of resource
- region String
- (Updatable) region on which scheduled query needs to be run
- resourceIds List<String>
- (Updatable) List of OCIDs on scheduled query needs to run
- resourceType String
- (Updatable) Type of resource
CloudGuardDataSourceDataSourceDetectorMappingInfo, CloudGuardDataSourceDataSourceDetectorMappingInfoArgs                  
- 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
CloudGuardDataSourceRegionStatusDetail, CloudGuardDataSourceRegionStatusDetailArgs              
Import
DataSources can be imported using the id, e.g.
$ pulumi import oci:CloudGuard/cloudGuardDataSource:CloudGuardDataSource test_data_source "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.