Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

CloudGuardDataSource

This resource provides the Data Source resource in Oracle Cloud Infrastructure Cloud Guard service.

Creates a DataSource

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testDataSource = new Oci.CloudGuard.CloudGuardDataSource("testDataSource", new()
    {
        CompartmentId = @var.Compartment_id,
        DataSourceFeedProvider = @var.Data_source_data_source_feed_provider,
        DisplayName = @var.Data_source_display_name,
        DataSourceDetails = new Oci.CloudGuard.Inputs.CloudGuardDataSourceDataSourceDetailsArgs
        {
            DataSourceFeedProvider = @var.Data_source_data_source_details_data_source_feed_provider,
            AdditionalEntitiesCount = @var.Data_source_data_source_details_additional_entities_count,
            IntervalInMinutes = @var.Data_source_data_source_details_interval_in_minutes,
            LoggingQueryDetails = new Oci.CloudGuard.Inputs.CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs
            {
                LoggingQueryType = @var.Data_source_data_source_details_logging_query_details_logging_query_type,
                KeyEntitiesCount = @var.Data_source_data_source_details_logging_query_details_key_entities_count,
            },
            LoggingQueryType = @var.Data_source_data_source_details_logging_query_type,
            Operator = @var.Data_source_data_source_details_operator,
            Query = @var.Data_source_data_source_details_query,
            QueryStartTime = new Oci.CloudGuard.Inputs.CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs
            {
                StartPolicyType = @var.Data_source_data_source_details_query_start_time_start_policy_type,
                QueryStartTime = @var.Data_source_data_source_details_query_start_time_query_start_time,
            },
            Regions = @var.Data_source_data_source_details_regions,
            Threshold = @var.Data_source_data_source_details_threshold,
        },
        DefinedTags = 
        {
            { "foo-namespace.bar-key", "value" },
        },
        FreeformTags = 
        {
            { "bar-key", "value" },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/CloudGuard"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := CloudGuard.NewCloudGuardDataSource(ctx, "testDataSource", &CloudGuard.CloudGuardDataSourceArgs{
			CompartmentId:          pulumi.Any(_var.Compartment_id),
			DataSourceFeedProvider: pulumi.Any(_var.Data_source_data_source_feed_provider),
			DisplayName:            pulumi.Any(_var.Data_source_display_name),
			DataSourceDetails: &cloudguard.CloudGuardDataSourceDataSourceDetailsArgs{
				DataSourceFeedProvider:  pulumi.Any(_var.Data_source_data_source_details_data_source_feed_provider),
				AdditionalEntitiesCount: pulumi.Any(_var.Data_source_data_source_details_additional_entities_count),
				IntervalInMinutes:       pulumi.Any(_var.Data_source_data_source_details_interval_in_minutes),
				LoggingQueryDetails: &cloudguard.CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs{
					LoggingQueryType: pulumi.Any(_var.Data_source_data_source_details_logging_query_details_logging_query_type),
					KeyEntitiesCount: pulumi.Any(_var.Data_source_data_source_details_logging_query_details_key_entities_count),
				},
				LoggingQueryType: pulumi.Any(_var.Data_source_data_source_details_logging_query_type),
				Operator:         pulumi.Any(_var.Data_source_data_source_details_operator),
				Query:            pulumi.Any(_var.Data_source_data_source_details_query),
				QueryStartTime: &cloudguard.CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs{
					StartPolicyType: pulumi.Any(_var.Data_source_data_source_details_query_start_time_start_policy_type),
					QueryStartTime:  pulumi.Any(_var.Data_source_data_source_details_query_start_time_query_start_time),
				},
				Regions:   pulumi.Any(_var.Data_source_data_source_details_regions),
				Threshold: pulumi.Any(_var.Data_source_data_source_details_threshold),
			},
			DefinedTags: pulumi.AnyMap{
				"foo-namespace.bar-key": pulumi.Any("value"),
			},
			FreeformTags: pulumi.AnyMap{
				"bar-key": pulumi.Any("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
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(var_.compartment_id())
            .dataSourceFeedProvider(var_.data_source_data_source_feed_provider())
            .displayName(var_.data_source_display_name())
            .dataSourceDetails(CloudGuardDataSourceDataSourceDetailsArgs.builder()
                .dataSourceFeedProvider(var_.data_source_data_source_details_data_source_feed_provider())
                .additionalEntitiesCount(var_.data_source_data_source_details_additional_entities_count())
                .intervalInMinutes(var_.data_source_data_source_details_interval_in_minutes())
                .loggingQueryDetails(CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs.builder()
                    .loggingQueryType(var_.data_source_data_source_details_logging_query_details_logging_query_type())
                    .keyEntitiesCount(var_.data_source_data_source_details_logging_query_details_key_entities_count())
                    .build())
                .loggingQueryType(var_.data_source_data_source_details_logging_query_type())
                .operator(var_.data_source_data_source_details_operator())
                .query(var_.data_source_data_source_details_query())
                .queryStartTime(CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs.builder()
                    .startPolicyType(var_.data_source_data_source_details_query_start_time_start_policy_type())
                    .queryStartTime(var_.data_source_data_source_details_query_start_time_query_start_time())
                    .build())
                .regions(var_.data_source_data_source_details_regions())
                .threshold(var_.data_source_data_source_details_threshold())
                .build())
            .definedTags(Map.of("foo-namespace.bar-key", "value"))
            .freeformTags(Map.of("bar-key", "value"))
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_data_source = oci.cloud_guard.CloudGuardDataSource("testDataSource",
    compartment_id=var["compartment_id"],
    data_source_feed_provider=var["data_source_data_source_feed_provider"],
    display_name=var["data_source_display_name"],
    data_source_details=oci.cloud_guard.CloudGuardDataSourceDataSourceDetailsArgs(
        data_source_feed_provider=var["data_source_data_source_details_data_source_feed_provider"],
        additional_entities_count=var["data_source_data_source_details_additional_entities_count"],
        interval_in_minutes=var["data_source_data_source_details_interval_in_minutes"],
        logging_query_details=oci.cloud_guard.CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs(
            logging_query_type=var["data_source_data_source_details_logging_query_details_logging_query_type"],
            key_entities_count=var["data_source_data_source_details_logging_query_details_key_entities_count"],
        ),
        logging_query_type=var["data_source_data_source_details_logging_query_type"],
        operator=var["data_source_data_source_details_operator"],
        query=var["data_source_data_source_details_query"],
        query_start_time=oci.cloud_guard.CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs(
            start_policy_type=var["data_source_data_source_details_query_start_time_start_policy_type"],
            query_start_time=var["data_source_data_source_details_query_start_time_query_start_time"],
        ),
        regions=var["data_source_data_source_details_regions"],
        threshold=var["data_source_data_source_details_threshold"],
    ),
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    freeform_tags={
        "bar-key": "value",
    })
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDataSource = new oci.cloudguard.CloudGuardDataSource("testDataSource", {
    compartmentId: _var.compartment_id,
    dataSourceFeedProvider: _var.data_source_data_source_feed_provider,
    displayName: _var.data_source_display_name,
    dataSourceDetails: {
        dataSourceFeedProvider: _var.data_source_data_source_details_data_source_feed_provider,
        additionalEntitiesCount: _var.data_source_data_source_details_additional_entities_count,
        intervalInMinutes: _var.data_source_data_source_details_interval_in_minutes,
        loggingQueryDetails: {
            loggingQueryType: _var.data_source_data_source_details_logging_query_details_logging_query_type,
            keyEntitiesCount: _var.data_source_data_source_details_logging_query_details_key_entities_count,
        },
        loggingQueryType: _var.data_source_data_source_details_logging_query_type,
        operator: _var.data_source_data_source_details_operator,
        query: _var.data_source_data_source_details_query,
        queryStartTime: {
            startPolicyType: _var.data_source_data_source_details_query_start_time_start_policy_type,
            queryStartTime: _var.data_source_data_source_details_query_start_time_query_start_time,
        },
        regions: _var.data_source_data_source_details_regions,
        threshold: _var.data_source_data_source_details_threshold,
    },
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    freeformTags: {
        "bar-key": "value",
    },
});
resources:
  testDataSource:
    type: oci:CloudGuard:CloudGuardDataSource
    properties:
      #Required
      compartmentId: ${var.compartment_id}
      dataSourceFeedProvider: ${var.data_source_data_source_feed_provider}
      displayName: ${var.data_source_display_name}
      dataSourceDetails:
        dataSourceFeedProvider: ${var.data_source_data_source_details_data_source_feed_provider}
        additionalEntitiesCount: ${var.data_source_data_source_details_additional_entities_count}
        intervalInMinutes: ${var.data_source_data_source_details_interval_in_minutes}
        loggingQueryDetails:
          loggingQueryType: ${var.data_source_data_source_details_logging_query_details_logging_query_type}
          keyEntitiesCount: ${var.data_source_data_source_details_logging_query_details_key_entities_count}
        loggingQueryType: ${var.data_source_data_source_details_logging_query_type}
        operator: ${var.data_source_data_source_details_operator}
        query: ${var.data_source_data_source_details_query}
        queryStartTime:
          startPolicyType: ${var.data_source_data_source_details_query_start_time_start_policy_type}
          queryStartTime: ${var.data_source_data_source_details_query_start_time_query_start_time}
        regions: ${var.data_source_data_source_details_regions}
        threshold: ${var.data_source_data_source_details_threshold}
      definedTags:
        foo-namespace.bar-key: value
      freeformTags:
        bar-key: value

Create a CloudGuardDataSource Resource

new CloudGuardDataSource(name: string, args: CloudGuardDataSourceArgs, opts?: CustomResourceOptions);
@overload
def CloudGuardDataSource(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         compartment_id: Optional[str] = None,
                         data_source_details: Optional[_cloudguard.CloudGuardDataSourceDataSourceDetailsArgs] = 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)
@overload
def CloudGuardDataSource(resource_name: str,
                         args: CloudGuardDataSourceArgs,
                         opts: Optional[ResourceOptions] = 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.

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.

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) CompartmentId of Data Source.

DataSourceFeedProvider string

Possible type of dataSourceFeed Provider(LoggingQuery)

DisplayName string

(Updatable) Data Source display name.

DataSourceDetails CloudGuardDataSourceDataSourceDetailsArgs

(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"}

CompartmentId string

(Updatable) CompartmentId of Data Source.

DataSourceFeedProvider string

Possible type of dataSourceFeed 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"}

compartmentId String

(Updatable) CompartmentId of Data Source.

dataSourceFeedProvider String

Possible type of dataSourceFeed Provider(LoggingQuery)

displayName String

(Updatable) Data Source display name.

dataSourceDetails DataSourceDataSourceDetailsArgs

(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"}

compartmentId string

(Updatable) CompartmentId of Data Source.

dataSourceFeedProvider string

Possible type of dataSourceFeed Provider(LoggingQuery)

displayName string

(Updatable) Data Source display name.

dataSourceDetails CloudGuardDataSourceDataSourceDetailsArgs

(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"}

compartment_id str

(Updatable) CompartmentId of Data Source.

data_source_feed_provider str

Possible type of dataSourceFeed Provider(LoggingQuery)

display_name str

(Updatable) Data Source display name.

data_source_details 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"}

compartmentId String

(Updatable) CompartmentId of Data Source.

dataSourceFeedProvider String

Possible type of dataSourceFeed 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"}

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 state of the resource.

Status string

Status of data Source

SystemTags Dictionary<string, object>

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}

TimeCreated string

The date and time the Data source was created. Format defined by RFC3339.

TimeUpdated string

The date and time the Data source was updated. Format defined by RFC3339.

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 state of the resource.

Status string

Status of data Source

SystemTags map[string]interface{}

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}

TimeCreated string

The date and time the Data source was created. Format defined by RFC3339.

TimeUpdated string

The date and time the Data source was updated. Format defined by RFC3339.

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 state of the resource.

status String

Status of data Source

systemTags Map<String,Object>

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated String

The date and time the Data source was created. Format defined by RFC3339.

timeUpdated String

The date and time the Data source was updated. Format defined by RFC3339.

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 state of the resource.

status string

Status of data Source

systemTags {[key: string]: any}

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated string

The date and time the Data source was created. Format defined by RFC3339.

timeUpdated string

The date and time the Data source was updated. Format defined by RFC3339.

data_source_detector_mapping_infos CloudGuardDataSourceDataSourceDetectorMappingInfo]

Information about the detector recipe and rule attached

id str

The provider-assigned unique ID for this managed resource.

region_status_details CloudGuardDataSourceRegionStatusDetail]

Information about the region and status of query replication

state str

The current state of the resource.

status str

Status of data Source

system_tags Mapping[str, Any]

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}

time_created str

The date and time the Data source was created. Format defined by RFC3339.

time_updated str

The date and time the Data source was updated. Format defined by RFC3339.

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 state of the resource.

status String

Status of data Source

systemTags Map<Any>

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated String

The date and time the Data source was created. Format defined by RFC3339.

timeUpdated String

The date and time the Data source was updated. Format defined by RFC3339.

Look up an 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) CompartmentId of Data Source.

DataSourceDetails CloudGuardDataSourceDataSourceDetailsArgs

(Updatable) Details specific to the data source type.

DataSourceDetectorMappingInfos List<CloudGuardDataSourceDataSourceDetectorMappingInfoArgs>

Information about the detector recipe and rule attached

DataSourceFeedProvider string

Possible type of dataSourceFeed 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"}

RegionStatusDetails List<CloudGuardDataSourceRegionStatusDetailArgs>

Information about the region and status of query replication

State string

The current state of the resource.

Status string

Status of data Source

SystemTags Dictionary<string, object>

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}

TimeCreated string

The date and time the Data source was created. Format defined by RFC3339.

TimeUpdated string

The date and time the Data source was updated. Format defined by RFC3339.

CompartmentId string

(Updatable) CompartmentId of Data Source.

DataSourceDetails CloudGuardDataSourceDataSourceDetailsArgs

(Updatable) Details specific to the data source type.

DataSourceDetectorMappingInfos []CloudGuardDataSourceDataSourceDetectorMappingInfoArgs

Information about the detector recipe and rule attached

DataSourceFeedProvider string

Possible type of dataSourceFeed 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"}

RegionStatusDetails []CloudGuardDataSourceRegionStatusDetailArgs

Information about the region and status of query replication

State string

The current state of the resource.

Status string

Status of data Source

SystemTags map[string]interface{}

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}

TimeCreated string

The date and time the Data source was created. Format defined by RFC3339.

TimeUpdated string

The date and time the Data source was updated. Format defined by RFC3339.

compartmentId String

(Updatable) CompartmentId of Data Source.

dataSourceDetails DataSourceDataSourceDetailsArgs

(Updatable) Details specific to the data source type.

dataSourceDetectorMappingInfos List<DataSourceDataSourceDetectorMappingInfoArgs>

Information about the detector recipe and rule attached

dataSourceFeedProvider String

Possible type of dataSourceFeed 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"}

regionStatusDetails List<DataSourceRegionStatusDetailArgs>

Information about the region and status of query replication

state String

The current state of the resource.

status String

Status of data Source

systemTags Map<String,Object>

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated String

The date and time the Data source was created. Format defined by RFC3339.

timeUpdated String

The date and time the Data source was updated. Format defined by RFC3339.

compartmentId string

(Updatable) CompartmentId of Data Source.

dataSourceDetails CloudGuardDataSourceDataSourceDetailsArgs

(Updatable) Details specific to the data source type.

dataSourceDetectorMappingInfos CloudGuardDataSourceDataSourceDetectorMappingInfoArgs[]

Information about the detector recipe and rule attached

dataSourceFeedProvider string

Possible type of dataSourceFeed 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"}

regionStatusDetails CloudGuardDataSourceRegionStatusDetailArgs[]

Information about the region and status of query replication

state string

The current state of the resource.

status string

Status of data Source

systemTags {[key: string]: any}

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated string

The date and time the Data source was created. Format defined by RFC3339.

timeUpdated string

The date and time the Data source was updated. Format defined by RFC3339.

compartment_id str

(Updatable) CompartmentId of Data Source.

data_source_details CloudGuardDataSourceDataSourceDetailsArgs

(Updatable) Details specific to the data source type.

data_source_detector_mapping_infos CloudGuardDataSourceDataSourceDetectorMappingInfoArgs]

Information about the detector recipe and rule attached

data_source_feed_provider str

Possible type of dataSourceFeed 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"}

region_status_details CloudGuardDataSourceRegionStatusDetailArgs]

Information about the region and status of query replication

state str

The current state of the resource.

status str

Status of data Source

system_tags Mapping[str, Any]

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}

time_created str

The date and time the Data source was created. Format defined by RFC3339.

time_updated str

The date and time the Data source was updated. Format defined by RFC3339.

compartmentId String

(Updatable) CompartmentId of 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

Possible type of dataSourceFeed 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"}

regionStatusDetails List<Property Map>

Information about the region and status of query replication

state String

The current state of the resource.

status String

Status of data Source

systemTags Map<Any>

System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated String

The date and time the Data source was created. Format defined by RFC3339.

timeUpdated String

The date and time the Data source was updated. Format defined by RFC3339.

Supporting Types

CloudGuardDataSourceDataSourceDetails

DataSourceFeedProvider string

Possible type of dataSourceFeed Provider(LoggingQuery)

AdditionalEntitiesCount int

(Updatable) The additional entities count used for data source query.

IntervalInMinutes int

(Updatable) Interval in minutes that query is run periodically.

LoggingQueryDetails CloudGuardDataSourceDataSourceDetailsLoggingQueryDetails

(Updatable) Additional details specific to the data source type (Sighting/Insight).

LoggingQueryType string

(Updatable) Logging query type for data source (Sighting/Insight)

Operator string

(Updatable) Operator used in Data Soruce

Query string

(Updatable) The continuous query expression that is run periodically.

QueryStartTime CloudGuardDataSourceDataSourceDetailsQueryStartTime

(Updatable) Time when the query can start, if not specified it can start immediately.

Regions List<string>

(Updatable) Logging Query regions

Threshold int

(Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), the query result to trigger an event.

DataSourceFeedProvider string

Possible type of dataSourceFeed Provider(LoggingQuery)

AdditionalEntitiesCount int

(Updatable) The additional entities count used for data source query.

IntervalInMinutes int

(Updatable) Interval in minutes that query is run periodically.

LoggingQueryDetails CloudGuardDataSourceDataSourceDetailsLoggingQueryDetails

(Updatable) Additional details specific to the data source type (Sighting/Insight).

LoggingQueryType string

(Updatable) Logging query type for data source (Sighting/Insight)

Operator string

(Updatable) Operator used in Data Soruce

Query string

(Updatable) The continuous query expression that is run periodically.

QueryStartTime CloudGuardDataSourceDataSourceDetailsQueryStartTime

(Updatable) Time when the query can start, if not specified it can start immediately.

Regions []string

(Updatable) Logging Query regions

Threshold int

(Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), the query result to trigger an event.

dataSourceFeedProvider String

Possible type of dataSourceFeed Provider(LoggingQuery)

additionalEntitiesCount Integer

(Updatable) The additional entities count used for data source query.

intervalInMinutes Integer

(Updatable) Interval in minutes that query is run periodically.

loggingQueryDetails DataSourceDataSourceDetailsLoggingQueryDetails

(Updatable) Additional details specific to the data source type (Sighting/Insight).

loggingQueryType String

(Updatable) Logging query type for data source (Sighting/Insight)

operator String

(Updatable) Operator used in Data Soruce

query String

(Updatable) The continuous query expression that is run periodically.

queryStartTime DataSourceDataSourceDetailsQueryStartTime

(Updatable) Time when the query can start, if not specified it can start immediately.

regions List<String>

(Updatable) Logging Query regions

threshold Integer

(Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), the query result to trigger an event.

dataSourceFeedProvider string

Possible type of dataSourceFeed Provider(LoggingQuery)

additionalEntitiesCount number

(Updatable) The additional entities count used for data source query.

intervalInMinutes number

(Updatable) Interval in minutes that query is run periodically.

loggingQueryDetails CloudGuardDataSourceDataSourceDetailsLoggingQueryDetails

(Updatable) Additional details specific to the data source type (Sighting/Insight).

loggingQueryType string

(Updatable) Logging query type for data source (Sighting/Insight)

operator string

(Updatable) Operator used in Data Soruce

query string

(Updatable) The continuous query expression that is run periodically.

queryStartTime CloudGuardDataSourceDataSourceDetailsQueryStartTime

(Updatable) Time when the query can start, if not specified it can start immediately.

regions string[]

(Updatable) Logging Query regions

threshold number

(Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), the query result to trigger an event.

data_source_feed_provider str

Possible type of dataSourceFeed Provider(LoggingQuery)

additional_entities_count int

(Updatable) The additional entities count used for data source query.

interval_in_minutes int

(Updatable) Interval in minutes that query is run periodically.

logging_query_details CloudGuardDataSourceDataSourceDetailsLoggingQueryDetails

(Updatable) Additional details specific to the data source type (Sighting/Insight).

logging_query_type str

(Updatable) Logging query type for data source (Sighting/Insight)

operator str

(Updatable) Operator used in Data Soruce

query str

(Updatable) The continuous query expression that is run periodically.

query_start_time CloudGuardDataSourceDataSourceDetailsQueryStartTime

(Updatable) Time when the query can start, if not specified it can start immediately.

regions Sequence[str]

(Updatable) Logging Query regions

threshold int

(Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), the query result to trigger an event.

dataSourceFeedProvider String

Possible type of dataSourceFeed Provider(LoggingQuery)

additionalEntitiesCount Number

(Updatable) The additional entities count used for data source query.

intervalInMinutes Number

(Updatable) Interval in minutes that query is run periodically.

loggingQueryDetails Property Map

(Updatable) Additional details specific to the data source type (Sighting/Insight).

loggingQueryType String

(Updatable) Logging query type for data source (Sighting/Insight)

operator String

(Updatable) Operator used in Data Soruce

query String

(Updatable) The continuous query expression that is run periodically.

queryStartTime Property Map

(Updatable) Time when the query can start, if not specified it can start immediately.

regions List<String>

(Updatable) Logging Query regions

threshold Number

(Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), the query result to trigger an event.

CloudGuardDataSourceDataSourceDetailsLoggingQueryDetails

LoggingQueryType string

(Updatable) Logging query type for data source (Sighting/Insight)

KeyEntitiesCount int

(Updatable) The key entities count used for data source query

LoggingQueryType string

(Updatable) Logging query type for data source (Sighting/Insight)

KeyEntitiesCount int

(Updatable) The key entities count used for data source query

loggingQueryType String

(Updatable) Logging query type for data source (Sighting/Insight)

keyEntitiesCount Integer

(Updatable) The key entities count used for data source query

loggingQueryType string

(Updatable) Logging query type for data source (Sighting/Insight)

keyEntitiesCount number

(Updatable) The key entities count used for data source query

logging_query_type str

(Updatable) Logging query type for data source (Sighting/Insight)

key_entities_count int

(Updatable) The key entities count used for data source query

loggingQueryType String

(Updatable) Logging query type for data source (Sighting/Insight)

keyEntitiesCount Number

(Updatable) The key entities count used for data source query

CloudGuardDataSourceDataSourceDetailsQueryStartTime

StartPolicyType string

(Updatable) policy used for deciding the query start time

QueryStartTime string

(Updatable) Time when the query can start, if not specified it can start immediately.

StartPolicyType string

(Updatable) policy used for deciding the query start time

QueryStartTime string

(Updatable) Time when the query can start, if not specified it can start immediately.

startPolicyType String

(Updatable) policy used for deciding the query start time

queryStartTime String

(Updatable) Time when the query can start, if not specified it can start immediately.

startPolicyType string

(Updatable) policy used for deciding the query start time

queryStartTime string

(Updatable) Time when the query can start, if not specified it can start immediately.

start_policy_type str

(Updatable) policy used for deciding the query start time

query_start_time str

(Updatable) Time when the query can start, if not specified it can start immediately.

startPolicyType String

(Updatable) policy used for deciding the query start time

queryStartTime String

(Updatable) Time when the query can start, if not specified it can start immediately.

CloudGuardDataSourceDataSourceDetectorMappingInfo

DetectorRecipeId string

Id of the attached detectorRecipeId to the Data Source.

DetectorRuleId string

Id of the attached detectorRuleId to the Data Source.

DetectorRecipeId string

Id of the attached detectorRecipeId to the Data Source.

DetectorRuleId string

Id of the attached detectorRuleId to the Data Source.

detectorRecipeId String

Id of the attached detectorRecipeId to the Data Source.

detectorRuleId String

Id of the attached detectorRuleId to the Data Source.

detectorRecipeId string

Id of the attached detectorRecipeId to the Data Source.

detectorRuleId string

Id of the attached detectorRuleId to the Data Source.

detector_recipe_id str

Id of the attached detectorRecipeId to the Data Source.

detector_rule_id str

Id of the attached detectorRuleId to the Data Source.

detectorRecipeId String

Id of the attached detectorRecipeId to the Data Source.

detectorRuleId String

Id of the attached detectorRuleId to the Data Source.

CloudGuardDataSourceRegionStatusDetail

Region string

Data Source replication region.

Status string

Status of data Source

Region string

Data Source replication region.

Status string

Status of data Source

region String

Data Source replication region.

status String

Status of data Source

region string

Data Source replication region.

status string

Status of data Source

region str

Data Source replication region.

status str

Status of data Source

region String

Data Source replication region.

status String

Status of data Source

Import

DataSources can be imported using the id, e.g.

 $ pulumi import oci:CloudGuard/cloudGuardDataSource:CloudGuardDataSource test_data_source "id"

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.