1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. CloudGuard
  5. CloudGuardDataSource
Oracle Cloud Infrastructure v2.4.0 published on Thursday, Jul 25, 2024 by Pulumi

oci.CloudGuard.CloudGuardDataSource

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.4.0 published on Thursday, Jul 25, 2024 by Pulumi

    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=oci.cloud_guard.CloudGuardDataSourceDataSourceDetailsArgs(
            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=oci.cloud_guard.CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs(
                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=oci.cloud_guard.CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs(
                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=[oci.cloud_guard.CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArgs(
                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.Map{
    				"foo-namespace.bar-key": pulumi.Any("value"),
    			},
    			FreeformTags: pulumi.Map{
    				"bar-key": pulumi.Any("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[_cloudguard.CloudGuardDataSourceDataSourceDetailsArgs] = None,
                             defined_tags: Optional[Mapping[str, Any]] = None,
                             freeform_tags: Optional[Mapping[str, Any]] = 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", "any" },
        },
        FreeformTags = 
        {
            { "string", "any" },
        },
        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.Map{
    		"string": pulumi.Any("any"),
    	},
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	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", "any"))
        .freeformTags(Map.of("string", "any"))
        .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=oci.cloud_guard.CloudGuardDataSourceDataSourceDetailsArgs(
            data_source_feed_provider="string",
            logging_query_type="string",
            description="string",
            interval_in_minutes=0,
            interval_in_seconds=0,
            logging_query_details=oci.cloud_guard.CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs(
                logging_query_type="string",
                key_entities_count=0,
            ),
            additional_entities_count=0,
            operator="string",
            query="string",
            query_start_time=oci.cloud_guard.CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs(
                start_policy_type="string",
                query_start_time="string",
            ),
            regions=["string"],
            scheduled_query_scope_details=[oci.cloud_guard.CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArgs(
                region="string",
                resource_ids=["string"],
                resource_type="string",
            )],
            threshold=0,
        ),
        defined_tags={
            "string": "any",
        },
        freeform_tags={
            "string": "any",
        },
        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: "any",
        },
        freeformTags: {
            string: "any",
        },
        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: any
        displayName: string
        freeformTags:
            string: any
        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

    The CloudGuardDataSource resource accepts the following input properties:

    CompartmentId string
    (Updatable) Compartment OCID of the data source
    DataSourceFeedProvider string
    Type of data source feed provider (LoggingQuery)
    DisplayName string
    (Updatable) Data source display name
    DataSourceDetails CloudGuardDataSourceDataSourceDetails
    (Updatable) Details specific to the data source type.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags Dictionary<string, object>

    (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
    DataSourceFeedProvider string
    Type of data source feed provider (LoggingQuery)
    DisplayName string
    (Updatable) Data source display name
    DataSourceDetails CloudGuardDataSourceDataSourceDetailsArgs
    (Updatable) Details specific to the data source type.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags map[string]interface{}

    (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
    dataSourceFeedProvider String
    Type of data source feed provider (LoggingQuery)
    displayName String
    (Updatable) Data source display name
    dataSourceDetails DataSourceDataSourceDetails
    (Updatable) Details specific to the data source type.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String,Object>

    (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
    dataSourceFeedProvider string
    Type of data source feed provider (LoggingQuery)
    displayName string
    (Updatable) Data source display name
    dataSourceDetails CloudGuardDataSourceDataSourceDetails
    (Updatable) Details specific to the data source type.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[key: string]: any}

    (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_feed_provider str
    Type of data source feed provider (LoggingQuery)
    display_name str
    (Updatable) Data source display name
    data_source_details cloudguard.CloudGuardDataSourceDataSourceDetailsArgs
    (Updatable) Details specific to the data source type.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags Mapping[str, Any]

    (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
    dataSourceFeedProvider String
    Type of data source feed provider (LoggingQuery)
    displayName String
    (Updatable) Data source display name
    dataSourceDetails Property Map
    (Updatable) Details specific to the data source type.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<Any>

    (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:

    DataSourceDetectorMappingInfos List<CloudGuardDataSourceDataSourceDetectorMappingInfo>
    Information about the detector recipe and rule attached
    Id string
    The provider-assigned unique ID for this managed resource.
    RegionStatusDetails List<CloudGuardDataSourceRegionStatusDetail>
    Information about the region and status of query replication
    State string
    The current lifecycle state of the resource.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the Data source was created. Format defined by RFC3339.
    TimeUpdated string
    The date and time the data source was updated. Format defined by RFC3339.
    DataSourceDetectorMappingInfos []CloudGuardDataSourceDataSourceDetectorMappingInfo
    Information about the detector recipe and rule attached
    Id string
    The provider-assigned unique ID for this managed resource.
    RegionStatusDetails []CloudGuardDataSourceRegionStatusDetail
    Information about the region and status of query replication
    State string
    The current lifecycle state of the resource.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the Data source was created. Format defined by RFC3339.
    TimeUpdated string
    The date and time the data source was updated. Format defined by RFC3339.
    dataSourceDetectorMappingInfos List<DataSourceDataSourceDetectorMappingInfo>
    Information about the detector recipe and rule attached
    id String
    The provider-assigned unique ID for this managed resource.
    regionStatusDetails List<DataSourceRegionStatusDetail>
    Information about the region and status of query replication
    state String
    The current lifecycle state of the resource.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the Data source was created. Format defined by RFC3339.
    timeUpdated String
    The date and time the data source was updated. Format defined by RFC3339.
    dataSourceDetectorMappingInfos CloudGuardDataSourceDataSourceDetectorMappingInfo[]
    Information about the detector recipe and rule attached
    id string
    The provider-assigned unique ID for this managed resource.
    regionStatusDetails CloudGuardDataSourceRegionStatusDetail[]
    Information about the region and status of query replication
    state string
    The current lifecycle state of the resource.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the Data source was created. Format defined by RFC3339.
    timeUpdated string
    The date and time the data source was updated. Format defined by RFC3339.
    data_source_detector_mapping_infos Sequence[cloudguard.CloudGuardDataSourceDataSourceDetectorMappingInfo]
    Information about the detector recipe and rule attached
    id str
    The provider-assigned unique ID for this managed resource.
    region_status_details Sequence[cloudguard.CloudGuardDataSourceRegionStatusDetail]
    Information about the region and status of query replication
    state str
    The current lifecycle state of the resource.
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the Data source was created. Format defined by RFC3339.
    time_updated str
    The date and time the data source was updated. Format defined by RFC3339.
    dataSourceDetectorMappingInfos List<Property Map>
    Information about the detector recipe and rule attached
    id String
    The provider-assigned unique ID for this managed resource.
    regionStatusDetails List<Property Map>
    Information about the region and status of query replication
    state String
    The current lifecycle state of the resource.
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the Data source was created. Format defined by RFC3339.
    timeUpdated String
    The date and time the data source was updated. Format defined by RFC3339.

    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[_cloudguard.CloudGuardDataSourceDataSourceDetailsArgs] = None,
            data_source_detector_mapping_infos: Optional[Sequence[_cloudguard.CloudGuardDataSourceDataSourceDetectorMappingInfoArgs]] = None,
            data_source_feed_provider: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            region_status_details: Optional[Sequence[_cloudguard.CloudGuardDataSourceRegionStatusDetailArgs]] = None,
            state: Optional[str] = None,
            status: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> CloudGuardDataSource
    func 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) Compartment OCID of the data source
    DataSourceDetails CloudGuardDataSourceDataSourceDetails
    (Updatable) Details specific to the data source type.
    DataSourceDetectorMappingInfos List<CloudGuardDataSourceDataSourceDetectorMappingInfo>
    Information about the detector recipe and rule attached
    DataSourceFeedProvider string
    Type of data source feed provider (LoggingQuery)
    DefinedTags Dictionary<string, object>
    (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
    FreeformTags Dictionary<string, object>

    (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.

    RegionStatusDetails List<CloudGuardDataSourceRegionStatusDetail>
    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

    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the Data source was created. Format defined by RFC3339.
    TimeUpdated string
    The date and time the data source was updated. Format defined by RFC3339.
    CompartmentId string
    (Updatable) Compartment OCID of the data source
    DataSourceDetails CloudGuardDataSourceDataSourceDetailsArgs
    (Updatable) Details specific to the data source type.
    DataSourceDetectorMappingInfos []CloudGuardDataSourceDataSourceDetectorMappingInfoArgs
    Information about the detector recipe and rule attached
    DataSourceFeedProvider string
    Type of data source feed provider (LoggingQuery)
    DefinedTags map[string]interface{}
    (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
    FreeformTags map[string]interface{}

    (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.

    RegionStatusDetails []CloudGuardDataSourceRegionStatusDetailArgs
    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

    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the Data source was created. Format defined by RFC3339.
    TimeUpdated string
    The date and time the data source was updated. Format defined by RFC3339.
    compartmentId String
    (Updatable) Compartment OCID of the data source
    dataSourceDetails DataSourceDataSourceDetails
    (Updatable) Details specific to the data source type.
    dataSourceDetectorMappingInfos List<DataSourceDataSourceDetectorMappingInfo>
    Information about the detector recipe and rule attached
    dataSourceFeedProvider String
    Type of data source feed provider (LoggingQuery)
    definedTags Map<String,Object>
    (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
    freeformTags Map<String,Object>

    (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.

    regionStatusDetails List<DataSourceRegionStatusDetail>
    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

    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the Data source was created. Format defined by RFC3339.
    timeUpdated String
    The date and time the data source was updated. Format defined by RFC3339.
    compartmentId string
    (Updatable) Compartment OCID of the data source
    dataSourceDetails CloudGuardDataSourceDataSourceDetails
    (Updatable) Details specific to the data source type.
    dataSourceDetectorMappingInfos CloudGuardDataSourceDataSourceDetectorMappingInfo[]
    Information about the detector recipe and rule attached
    dataSourceFeedProvider string
    Type of data source feed provider (LoggingQuery)
    definedTags {[key: string]: any}
    (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
    freeformTags {[key: string]: any}

    (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.

    regionStatusDetails CloudGuardDataSourceRegionStatusDetail[]
    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

    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the Data source was created. Format defined by RFC3339.
    timeUpdated string
    The date and time the data source was updated. Format defined by RFC3339.
    compartment_id str
    (Updatable) Compartment OCID of the data source
    data_source_details cloudguard.CloudGuardDataSourceDataSourceDetailsArgs
    (Updatable) Details specific to the data source type.
    data_source_detector_mapping_infos Sequence[cloudguard.CloudGuardDataSourceDataSourceDetectorMappingInfoArgs]
    Information about the detector recipe and rule attached
    data_source_feed_provider str
    Type of data source feed provider (LoggingQuery)
    defined_tags Mapping[str, Any]
    (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
    freeform_tags Mapping[str, Any]

    (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_details Sequence[cloudguard.CloudGuardDataSourceRegionStatusDetailArgs]
    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

    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the Data source was created. Format defined by RFC3339.
    time_updated str
    The date and time the data source was updated. Format defined by RFC3339.
    compartmentId String
    (Updatable) Compartment OCID of the data source
    dataSourceDetails Property Map
    (Updatable) Details specific to the data source type.
    dataSourceDetectorMappingInfos List<Property Map>
    Information about the detector recipe and rule attached
    dataSourceFeedProvider String
    Type of data source feed provider (LoggingQuery)
    definedTags Map<Any>
    (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
    freeformTags Map<Any>

    (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.

    regionStatusDetails List<Property Map>
    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

    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the Data source was created. Format defined by RFC3339.
    timeUpdated String
    The date and time the data source was updated. Format defined by RFC3339.

    Supporting Types

    CloudGuardDataSourceDataSourceDetails, CloudGuardDataSourceDataSourceDetailsArgs

    DataSourceFeedProvider string
    (Updatable) Type of data source feed provider (LoggingQuery)
    AdditionalEntitiesCount int
    (Updatable) The additional entities count used for data source query
    Description string
    (Updatable) Description text for the query
    IntervalInMinutes int
    (Updatable) Interval in minutes that query is run periodically.
    IntervalInSeconds int
    (Updatable) Interval in minutes which query is run periodically.
    LoggingQueryDetails CloudGuardDataSourceDataSourceDetailsLoggingQueryDetails
    (Updatable) Details for a logging query for a data source.
    LoggingQueryType string
    (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.
    QueryStartTime CloudGuardDataSourceDataSourceDetailsQueryStartTime
    (Updatable) Start policy for continuous query
    Regions List<string>
    (Updatable) List of logging query regions
    ScheduledQueryScopeDetails List<CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetail>
    (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
    DataSourceFeedProvider string
    (Updatable) Type of data source feed provider (LoggingQuery)
    AdditionalEntitiesCount int
    (Updatable) The additional entities count used for data source query
    Description string
    (Updatable) Description text for the query
    IntervalInMinutes int
    (Updatable) Interval in minutes that query is run periodically.
    IntervalInSeconds int
    (Updatable) Interval in minutes which query is run periodically.
    LoggingQueryDetails CloudGuardDataSourceDataSourceDetailsLoggingQueryDetails
    (Updatable) Details for a logging query for a data source.
    LoggingQueryType string
    (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.
    QueryStartTime CloudGuardDataSourceDataSourceDetailsQueryStartTime
    (Updatable) Start policy for continuous query
    Regions []string
    (Updatable) List of logging query regions
    ScheduledQueryScopeDetails []CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetail
    (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
    dataSourceFeedProvider String
    (Updatable) Type of data source feed provider (LoggingQuery)
    additionalEntitiesCount Integer
    (Updatable) The additional entities count used for data source query
    description String
    (Updatable) Description text for the query
    intervalInMinutes Integer
    (Updatable) Interval in minutes that query is run periodically.
    intervalInSeconds Integer
    (Updatable) Interval in minutes which query is run periodically.
    loggingQueryDetails DataSourceDataSourceDetailsLoggingQueryDetails
    (Updatable) Details for a logging query for a data source.
    loggingQueryType String
    (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.
    queryStartTime DataSourceDataSourceDetailsQueryStartTime
    (Updatable) Start policy for continuous query
    regions List<String>
    (Updatable) List of logging query regions
    scheduledQueryScopeDetails List<DataSourceDataSourceDetailsScheduledQueryScopeDetail>
    (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
    dataSourceFeedProvider string
    (Updatable) Type of data source feed provider (LoggingQuery)
    additionalEntitiesCount number
    (Updatable) The additional entities count used for data source query
    description string
    (Updatable) Description text for the query
    intervalInMinutes number
    (Updatable) Interval in minutes that query is run periodically.
    intervalInSeconds number
    (Updatable) Interval in minutes which query is run periodically.
    loggingQueryDetails CloudGuardDataSourceDataSourceDetailsLoggingQueryDetails
    (Updatable) Details for a logging query for a data source.
    loggingQueryType string
    (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.
    queryStartTime CloudGuardDataSourceDataSourceDetailsQueryStartTime
    (Updatable) Start policy for continuous query
    regions string[]
    (Updatable) List of logging query regions
    scheduledQueryScopeDetails CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetail[]
    (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_feed_provider str
    (Updatable) Type of data source feed provider (LoggingQuery)
    additional_entities_count int
    (Updatable) The additional entities count used for data source query
    description str
    (Updatable) Description text for the query
    interval_in_minutes int
    (Updatable) Interval in minutes that query is run periodically.
    interval_in_seconds int
    (Updatable) Interval in minutes which query is run periodically.
    logging_query_details cloudguard.CloudGuardDataSourceDataSourceDetailsLoggingQueryDetails
    (Updatable) Details for a logging query for a data source.
    logging_query_type str
    (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_time cloudguard.CloudGuardDataSourceDataSourceDetailsQueryStartTime
    (Updatable) Start policy for continuous query
    regions Sequence[str]
    (Updatable) List of logging query regions
    scheduled_query_scope_details Sequence[cloudguard.CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetail]
    (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
    dataSourceFeedProvider String
    (Updatable) Type of data source feed provider (LoggingQuery)
    additionalEntitiesCount Number
    (Updatable) The additional entities count used for data source query
    description String
    (Updatable) Description text for the query
    intervalInMinutes Number
    (Updatable) Interval in minutes that query is run periodically.
    intervalInSeconds Number
    (Updatable) Interval in minutes which query is run periodically.
    loggingQueryDetails Property Map
    (Updatable) Details for a logging query for a data source.
    loggingQueryType String
    (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.
    queryStartTime Property Map
    (Updatable) Start policy for continuous query
    regions List<String>
    (Updatable) List of logging query regions
    scheduledQueryScopeDetails List<Property Map>
    (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

    LoggingQueryType string
    (Updatable) Logging query type for data source
    KeyEntitiesCount int
    (Updatable) The key entities count used for data source query
    LoggingQueryType string
    (Updatable) Logging query type for data source
    KeyEntitiesCount int
    (Updatable) The key entities count used for data source query
    loggingQueryType String
    (Updatable) Logging query type for data source
    keyEntitiesCount Integer
    (Updatable) The key entities count used for data source query
    loggingQueryType string
    (Updatable) Logging query type for data source
    keyEntitiesCount number
    (Updatable) The key entities count used for data source query
    logging_query_type str
    (Updatable) Logging query type for data source
    key_entities_count int
    (Updatable) The key entities count used for data source query
    loggingQueryType String
    (Updatable) Logging query type for data source
    keyEntitiesCount Number
    (Updatable) The key entities count used for data source query

    CloudGuardDataSourceDataSourceDetailsQueryStartTime, CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs

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

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

    CloudGuardDataSourceRegionStatusDetail, CloudGuardDataSourceRegionStatusDetailArgs

    Region string
    Data source replication region
    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

    Region string
    Data source replication region
    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

    region String
    Data source replication region
    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

    region string
    Data source replication region
    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

    region str
    Data source replication region
    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

    region String
    Data source replication region
    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

    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.4.0 published on Thursday, Jul 25, 2024 by Pulumi