oci.CloudGuard.CloudGuardDataSource
Explore with Pulumi AI
This resource provides the Data Source resource in Oracle Cloud Infrastructure Cloud Guard service.
Creates a DataSource
Example Usage
using System.Collections.Generic;
using System.Linq;
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=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
additional_entities_count=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
interval_in_minutes=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
logging_query_details=oci.cloud_guard.CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs(
logging_query_type=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
key_entities_count=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
),
logging_query_type=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
operator=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
query=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
query_start_time=oci.cloud_guard.CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs(
start_policy_type=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
query_start_time=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
),
regions=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
threshold=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
),
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 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:
- Compartment
Id string (Updatable) CompartmentId of Data Source.
- Data
Source stringFeed Provider Possible type of dataSourceFeed Provider(LoggingQuery)
- Display
Name string (Updatable) Data Source display name.
- Data
Source CloudDetails Guard Data Source Data Source Details Args (Updatable) Details specific to the data source type.
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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.
** 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 string (Updatable) CompartmentId of Data Source.
- Data
Source stringFeed Provider Possible type of dataSourceFeed Provider(LoggingQuery)
- Display
Name string (Updatable) Data Source display name.
- Data
Source CloudDetails Guard Data Source Data Source Details Args (Updatable) Details specific to the data source type.
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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.
** 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 String (Updatable) CompartmentId of Data Source.
- data
Source StringFeed Provider Possible type of dataSourceFeed Provider(LoggingQuery)
- display
Name String (Updatable) Data Source display name.
- data
Source DataDetails Source Data Source Details Args (Updatable) Details specific to the data source type.
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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.
** 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 string (Updatable) CompartmentId of Data Source.
- data
Source stringFeed Provider Possible type of dataSourceFeed Provider(LoggingQuery)
- display
Name string (Updatable) Data Source display name.
- data
Source CloudDetails Guard Data Source Data Source Details Args (Updatable) Details specific to the data source type.
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- {[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.
** 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) CompartmentId of Data Source.
- data_
source_ strfeed_ provider Possible type of dataSourceFeed Provider(LoggingQuery)
- display_
name str (Updatable) Data Source display name.
- data_
source_ Clouddetails Guard Data Source Data Source Details Args (Updatable) Details specific to the data source type.
- Mapping[str, Any]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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.
** 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 String (Updatable) CompartmentId of Data Source.
- data
Source StringFeed Provider Possible type of dataSourceFeed Provider(LoggingQuery)
- display
Name String (Updatable) Data Source display name.
- data
Source Property MapDetails (Updatable) Details specific to the data source type.
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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.
** 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:
- Data
Source List<CloudDetector Mapping Infos Guard Data Source Data Source Detector Mapping Info> Information about the detector recipe and rule attached
- Id string
The provider-assigned unique ID for this managed resource.
- Region
Status List<CloudDetails Guard Data Source Region Status Detail> Information about the region and status of query replication
- State string
The current state of the resource.
- Status string
Status of data Source
- Dictionary<string, object>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The date and time the Data source was created. Format defined by RFC3339.
- Time
Updated string The date and time the Data source was updated. Format defined by RFC3339.
- Data
Source []CloudDetector Mapping Infos Guard Data Source Data Source Detector Mapping Info Information about the detector recipe and rule attached
- Id string
The provider-assigned unique ID for this managed resource.
- Region
Status []CloudDetails Guard Data Source Region Status Detail Information about the region and status of query replication
- State string
The current state of the resource.
- Status string
Status of data Source
- map[string]interface{}
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The date and time the Data source was created. Format defined by RFC3339.
- Time
Updated string The date and time the Data source was updated. Format defined by RFC3339.
- data
Source List<DataDetector Mapping Infos Source Data Source Detector Mapping Info> Information about the detector recipe and rule attached
- id String
The provider-assigned unique ID for this managed resource.
- region
Status List<DataDetails Source Region Status Detail> Information about the region and status of query replication
- state String
The current state of the resource.
- status String
Status of data Source
- Map<String,Object>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The date and time the Data source was created. Format defined by RFC3339.
- time
Updated String The date and time the Data source was updated. Format defined by RFC3339.
- data
Source CloudDetector Mapping Infos Guard Data Source Data Source Detector Mapping Info[] Information about the detector recipe and rule attached
- id string
The provider-assigned unique ID for this managed resource.
- region
Status CloudDetails Guard Data Source Region Status Detail[] Information about the region and status of query replication
- state string
The current state of the resource.
- status string
Status of data Source
- {[key: string]: any}
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string The date and time the Data source was created. Format defined by RFC3339.
- time
Updated string The date and time the Data source was updated. Format defined by RFC3339.
- data_
source_ Clouddetector_ mapping_ infos Guard Data Source Data Source Detector Mapping Info] Information about the detector recipe and rule attached
- id str
The provider-assigned unique ID for this managed resource.
- region_
status_ Clouddetails Guard Data Source Region Status Detail] Information about the region and status of query replication
- state str
The current state of the resource.
- status str
Status of data Source
- Mapping[str, Any]
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str The date and time the Data source was created. Format defined by RFC3339.
- time_
updated str The date and time the Data source was updated. Format defined by RFC3339.
- data
Source List<Property Map>Detector Mapping Infos Information about the detector recipe and rule attached
- id String
The provider-assigned unique ID for this managed resource.
- region
Status List<Property Map>Details Information about the region and status of query replication
- state String
The current state of the resource.
- status String
Status of data Source
- Map<Any>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The date and time the Data source was created. Format defined by RFC3339.
- time
Updated String The date and time the Data source was updated. Format defined by RFC3339.
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.
- Compartment
Id string (Updatable) CompartmentId of Data Source.
- Data
Source CloudDetails Guard Data Source Data Source Details Args (Updatable) Details specific to the data source type.
- Data
Source List<CloudDetector Mapping Infos Guard Data Source Data Source Detector Mapping Info Args> Information about the detector recipe and rule attached
- Data
Source stringFeed Provider Possible type of dataSourceFeed Provider(LoggingQuery)
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string (Updatable) Data Source display name.
- 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.
** 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
Status List<CloudDetails Guard Data Source Region Status Detail Args> Information about the region and status of query replication
- State string
The current state of the resource.
- Status string
Status of data Source
- Dictionary<string, object>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The date and time the Data source was created. Format defined by RFC3339.
- Time
Updated string The date and time the Data source was updated. Format defined by RFC3339.
- Compartment
Id string (Updatable) CompartmentId of Data Source.
- Data
Source CloudDetails Guard Data Source Data Source Details Args (Updatable) Details specific to the data source type.
- Data
Source []CloudDetector Mapping Infos Guard Data Source Data Source Detector Mapping Info Args Information about the detector recipe and rule attached
- Data
Source stringFeed Provider Possible type of dataSourceFeed Provider(LoggingQuery)
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string (Updatable) Data Source display name.
- 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.
** 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
Status []CloudDetails Guard Data Source Region Status Detail Args Information about the region and status of query replication
- State string
The current state of the resource.
- Status string
Status of data Source
- map[string]interface{}
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The date and time the Data source was created. Format defined by RFC3339.
- Time
Updated string The date and time the Data source was updated. Format defined by RFC3339.
- compartment
Id String (Updatable) CompartmentId of Data Source.
- data
Source DataDetails Source Data Source Details Args (Updatable) Details specific to the data source type.
- data
Source List<DataDetector Mapping Infos Source Data Source Detector Mapping Info Args> Information about the detector recipe and rule attached
- data
Source StringFeed Provider Possible type of dataSourceFeed Provider(LoggingQuery)
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String (Updatable) Data Source display name.
- 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.
** 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
Status List<DataDetails Source Region Status Detail Args> Information about the region and status of query replication
- state String
The current state of the resource.
- status String
Status of data Source
- Map<String,Object>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The date and time the Data source was created. Format defined by RFC3339.
- time
Updated String The date and time the Data source was updated. Format defined by RFC3339.
- compartment
Id string (Updatable) CompartmentId of Data Source.
- data
Source CloudDetails Guard Data Source Data Source Details Args (Updatable) Details specific to the data source type.
- data
Source CloudDetector Mapping Infos Guard Data Source Data Source Detector Mapping Info Args[] Information about the detector recipe and rule attached
- data
Source stringFeed Provider Possible type of dataSourceFeed Provider(LoggingQuery)
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string (Updatable) Data Source display name.
- {[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.
** 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
Status CloudDetails Guard Data Source Region Status Detail Args[] Information about the region and status of query replication
- state string
The current state of the resource.
- status string
Status of data Source
- {[key: string]: any}
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string The date and time the Data source was created. Format defined by RFC3339.
- time
Updated string The date and time the Data source was updated. Format defined by RFC3339.
- compartment_
id str (Updatable) CompartmentId of Data Source.
- data_
source_ Clouddetails Guard Data Source Data Source Details Args (Updatable) Details specific to the data source type.
- data_
source_ Clouddetector_ mapping_ infos Guard Data Source Data Source Detector Mapping Info Args] Information about the detector recipe and rule attached
- data_
source_ strfeed_ provider Possible type of dataSourceFeed Provider(LoggingQuery)
- 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.
- 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.
** 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_
status_ Clouddetails Guard Data Source Region Status Detail Args] Information about the region and status of query replication
- state str
The current state of the resource.
- status str
Status of data Source
- Mapping[str, Any]
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str The date and time the Data source was created. Format defined by RFC3339.
- time_
updated str The date and time the Data source was updated. Format defined by RFC3339.
- compartment
Id String (Updatable) CompartmentId of Data Source.
- data
Source Property MapDetails (Updatable) Details specific to the data source type.
- data
Source List<Property Map>Detector Mapping Infos Information about the detector recipe and rule attached
- data
Source StringFeed Provider Possible type of dataSourceFeed Provider(LoggingQuery)
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String (Updatable) Data Source display name.
- 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.
** 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
Status List<Property Map>Details Information about the region and status of query replication
- state String
The current state of the resource.
- status String
Status of data Source
- Map<Any>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The date and time the Data source was created. Format defined by RFC3339.
- time
Updated String The date and time the Data source was updated. Format defined by RFC3339.
Supporting Types
CloudGuardDataSourceDataSourceDetails
- Data
Source stringFeed Provider Possible type of dataSourceFeed Provider(LoggingQuery)
- Additional
Entities intCount (Updatable) The additional entities count used for data source query.
- Interval
In intMinutes (Updatable) Interval in minutes that query is run periodically.
- Logging
Query CloudDetails Guard Data Source Data Source Details Logging Query Details (Updatable) Additional details specific to the data source type (Sighting/Insight).
- Logging
Query stringType (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.
- Query
Start CloudTime Guard Data Source Data Source Details Query Start Time (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.
- Data
Source stringFeed Provider Possible type of dataSourceFeed Provider(LoggingQuery)
- Additional
Entities intCount (Updatable) The additional entities count used for data source query.
- Interval
In intMinutes (Updatable) Interval in minutes that query is run periodically.
- Logging
Query CloudDetails Guard Data Source Data Source Details Logging Query Details (Updatable) Additional details specific to the data source type (Sighting/Insight).
- Logging
Query stringType (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.
- Query
Start CloudTime Guard Data Source Data Source Details Query Start Time (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.
- data
Source StringFeed Provider Possible type of dataSourceFeed Provider(LoggingQuery)
- additional
Entities IntegerCount (Updatable) The additional entities count used for data source query.
- interval
In IntegerMinutes (Updatable) Interval in minutes that query is run periodically.
- logging
Query DataDetails Source Data Source Details Logging Query Details (Updatable) Additional details specific to the data source type (Sighting/Insight).
- logging
Query StringType (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.
- query
Start DataTime Source Data Source Details Query Start Time (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.
- data
Source stringFeed Provider Possible type of dataSourceFeed Provider(LoggingQuery)
- additional
Entities numberCount (Updatable) The additional entities count used for data source query.
- interval
In numberMinutes (Updatable) Interval in minutes that query is run periodically.
- logging
Query CloudDetails Guard Data Source Data Source Details Logging Query Details (Updatable) Additional details specific to the data source type (Sighting/Insight).
- logging
Query stringType (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.
- query
Start CloudTime Guard Data Source Data Source Details Query Start Time (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_ strfeed_ provider Possible type of dataSourceFeed Provider(LoggingQuery)
- additional_
entities_ intcount (Updatable) The additional entities count used for data source query.
- interval_
in_ intminutes (Updatable) Interval in minutes that query is run periodically.
- logging_
query_ Clouddetails Guard Data Source Data Source Details Logging Query Details (Updatable) Additional details specific to the data source type (Sighting/Insight).
- logging_
query_ strtype (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_ Cloudtime Guard Data Source Data Source Details Query Start Time (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.
- data
Source StringFeed Provider Possible type of dataSourceFeed Provider(LoggingQuery)
- additional
Entities NumberCount (Updatable) The additional entities count used for data source query.
- interval
In NumberMinutes (Updatable) Interval in minutes that query is run periodically.
- logging
Query Property MapDetails (Updatable) Additional details specific to the data source type (Sighting/Insight).
- logging
Query StringType (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.
- query
Start Property MapTime (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
- Logging
Query stringType (Updatable) Logging query type for data source (Sighting/Insight)
- Key
Entities intCount (Updatable) The key entities count used for data source query
- Logging
Query stringType (Updatable) Logging query type for data source (Sighting/Insight)
- Key
Entities intCount (Updatable) The key entities count used for data source query
- logging
Query StringType (Updatable) Logging query type for data source (Sighting/Insight)
- key
Entities IntegerCount (Updatable) The key entities count used for data source query
- logging
Query stringType (Updatable) Logging query type for data source (Sighting/Insight)
- key
Entities numberCount (Updatable) The key entities count used for data source query
- logging_
query_ strtype (Updatable) Logging query type for data source (Sighting/Insight)
- key_
entities_ intcount (Updatable) The key entities count used for data source query
- logging
Query StringType (Updatable) Logging query type for data source (Sighting/Insight)
- key
Entities NumberCount (Updatable) The key entities count used for data source query
CloudGuardDataSourceDataSourceDetailsQueryStartTime
- Start
Policy stringType (Updatable) policy used for deciding the query start time
- Query
Start stringTime (Updatable) Time when the query can start, if not specified it can start immediately.
- Start
Policy stringType (Updatable) policy used for deciding the query start time
- Query
Start stringTime (Updatable) Time when the query can start, if not specified it can start immediately.
- start
Policy StringType (Updatable) policy used for deciding the query start time
- query
Start StringTime (Updatable) Time when the query can start, if not specified it can start immediately.
- start
Policy stringType (Updatable) policy used for deciding the query start time
- query
Start stringTime (Updatable) Time when the query can start, if not specified it can start immediately.
- start_
policy_ strtype (Updatable) policy used for deciding the query start time
- query_
start_ strtime (Updatable) Time when the query can start, if not specified it can start immediately.
- start
Policy StringType (Updatable) policy used for deciding the query start time
- query
Start StringTime (Updatable) Time when the query can start, if not specified it can start immediately.
CloudGuardDataSourceDataSourceDetectorMappingInfo
- Detector
Recipe stringId Id of the attached detectorRecipeId to the Data Source.
- Detector
Rule stringId Id of the attached detectorRuleId to the Data Source.
- Detector
Recipe stringId Id of the attached detectorRecipeId to the Data Source.
- Detector
Rule stringId Id of the attached detectorRuleId to the Data Source.
- detector
Recipe StringId Id of the attached detectorRecipeId to the Data Source.
- detector
Rule StringId Id of the attached detectorRuleId to the Data Source.
- detector
Recipe stringId Id of the attached detectorRecipeId to the Data Source.
- detector
Rule stringId Id of the attached detectorRuleId to the Data Source.
- detector_
recipe_ strid Id of the attached detectorRecipeId to the Data Source.
- detector_
rule_ strid Id of the attached detectorRuleId to the Data Source.
- detector
Recipe StringId Id of the attached detectorRecipeId to the Data Source.
- detector
Rule StringId Id of the attached detectorRuleId to the Data Source.
CloudGuardDataSourceRegionStatusDetail
Import
DataSources can be imported using the id
, e.g.
$ pulumi import oci:CloudGuard/cloudGuardDataSource:CloudGuardDataSource test_data_source "id"
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.