oci.CloudGuard.CloudGuardDataSource
Explore with Pulumi AI
This resource provides the Data Source resource in Oracle Cloud Infrastructure Cloud Guard service.
Creates a data source (DataSource resource), using parameters passed through a CreateDataSourceDetails resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDataSource = new oci.cloudguard.CloudGuardDataSource("test_data_source", {
compartmentId: compartmentId,
dataSourceFeedProvider: dataSourceDataSourceFeedProvider,
displayName: dataSourceDisplayName,
dataSourceDetails: {
dataSourceFeedProvider: dataSourceDataSourceDetailsDataSourceFeedProvider,
additionalEntitiesCount: dataSourceDataSourceDetailsAdditionalEntitiesCount,
description: dataSourceDataSourceDetailsDescription,
intervalInMinutes: dataSourceDataSourceDetailsIntervalInMinutes,
intervalInSeconds: dataSourceDataSourceDetailsIntervalInSeconds,
loggingQueryDetails: {
loggingQueryType: dataSourceDataSourceDetailsLoggingQueryDetailsLoggingQueryType,
keyEntitiesCount: dataSourceDataSourceDetailsLoggingQueryDetailsKeyEntitiesCount,
},
loggingQueryType: dataSourceDataSourceDetailsLoggingQueryType,
operator: dataSourceDataSourceDetailsOperator,
query: dataSourceDataSourceDetailsQuery,
queryStartTime: {
startPolicyType: dataSourceDataSourceDetailsQueryStartTimeStartPolicyType,
queryStartTime: dataSourceDataSourceDetailsQueryStartTimeQueryStartTime,
},
regions: dataSourceDataSourceDetailsRegions,
scheduledQueryScopeDetails: [{
region: dataSourceDataSourceDetailsScheduledQueryScopeDetailsRegion,
resourceIds: dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceIds,
resourceType: dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceType,
}],
threshold: dataSourceDataSourceDetailsThreshold,
},
definedTags: {
"foo-namespace.bar-key": "value",
},
freeformTags: {
"bar-key": "value",
},
status: dataSourceStatus,
});
import pulumi
import pulumi_oci as oci
test_data_source = oci.cloud_guard.CloudGuardDataSource("test_data_source",
compartment_id=compartment_id,
data_source_feed_provider=data_source_data_source_feed_provider,
display_name=data_source_display_name,
data_source_details={
"data_source_feed_provider": data_source_data_source_details_data_source_feed_provider,
"additional_entities_count": data_source_data_source_details_additional_entities_count,
"description": data_source_data_source_details_description,
"interval_in_minutes": data_source_data_source_details_interval_in_minutes,
"interval_in_seconds": data_source_data_source_details_interval_in_seconds,
"logging_query_details": {
"logging_query_type": data_source_data_source_details_logging_query_details_logging_query_type,
"key_entities_count": data_source_data_source_details_logging_query_details_key_entities_count,
},
"logging_query_type": data_source_data_source_details_logging_query_type,
"operator": data_source_data_source_details_operator,
"query": data_source_data_source_details_query,
"query_start_time": {
"start_policy_type": data_source_data_source_details_query_start_time_start_policy_type,
"query_start_time": data_source_data_source_details_query_start_time_query_start_time,
},
"regions": data_source_data_source_details_regions,
"scheduled_query_scope_details": [{
"region": data_source_data_source_details_scheduled_query_scope_details_region,
"resource_ids": data_source_data_source_details_scheduled_query_scope_details_resource_ids,
"resource_type": data_source_data_source_details_scheduled_query_scope_details_resource_type,
}],
"threshold": data_source_data_source_details_threshold,
},
defined_tags={
"foo-namespace.bar-key": "value",
},
freeform_tags={
"bar-key": "value",
},
status=data_source_status)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/CloudGuard"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := CloudGuard.NewCloudGuardDataSource(ctx, "test_data_source", &CloudGuard.CloudGuardDataSourceArgs{
CompartmentId: pulumi.Any(compartmentId),
DataSourceFeedProvider: pulumi.Any(dataSourceDataSourceFeedProvider),
DisplayName: pulumi.Any(dataSourceDisplayName),
DataSourceDetails: &cloudguard.CloudGuardDataSourceDataSourceDetailsArgs{
DataSourceFeedProvider: pulumi.Any(dataSourceDataSourceDetailsDataSourceFeedProvider),
AdditionalEntitiesCount: pulumi.Any(dataSourceDataSourceDetailsAdditionalEntitiesCount),
Description: pulumi.Any(dataSourceDataSourceDetailsDescription),
IntervalInMinutes: pulumi.Any(dataSourceDataSourceDetailsIntervalInMinutes),
IntervalInSeconds: pulumi.Any(dataSourceDataSourceDetailsIntervalInSeconds),
LoggingQueryDetails: &cloudguard.CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs{
LoggingQueryType: pulumi.Any(dataSourceDataSourceDetailsLoggingQueryDetailsLoggingQueryType),
KeyEntitiesCount: pulumi.Any(dataSourceDataSourceDetailsLoggingQueryDetailsKeyEntitiesCount),
},
LoggingQueryType: pulumi.Any(dataSourceDataSourceDetailsLoggingQueryType),
Operator: pulumi.Any(dataSourceDataSourceDetailsOperator),
Query: pulumi.Any(dataSourceDataSourceDetailsQuery),
QueryStartTime: &cloudguard.CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs{
StartPolicyType: pulumi.Any(dataSourceDataSourceDetailsQueryStartTimeStartPolicyType),
QueryStartTime: pulumi.Any(dataSourceDataSourceDetailsQueryStartTimeQueryStartTime),
},
Regions: pulumi.Any(dataSourceDataSourceDetailsRegions),
ScheduledQueryScopeDetails: cloudguard.CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArray{
&cloudguard.CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArgs{
Region: pulumi.Any(dataSourceDataSourceDetailsScheduledQueryScopeDetailsRegion),
ResourceIds: pulumi.Any(dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceIds),
ResourceType: pulumi.Any(dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceType),
},
},
Threshold: pulumi.Any(dataSourceDataSourceDetailsThreshold),
},
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
Status: pulumi.Any(dataSourceStatus),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testDataSource = new Oci.CloudGuard.CloudGuardDataSource("test_data_source", new()
{
CompartmentId = compartmentId,
DataSourceFeedProvider = dataSourceDataSourceFeedProvider,
DisplayName = dataSourceDisplayName,
DataSourceDetails = new Oci.CloudGuard.Inputs.CloudGuardDataSourceDataSourceDetailsArgs
{
DataSourceFeedProvider = dataSourceDataSourceDetailsDataSourceFeedProvider,
AdditionalEntitiesCount = dataSourceDataSourceDetailsAdditionalEntitiesCount,
Description = dataSourceDataSourceDetailsDescription,
IntervalInMinutes = dataSourceDataSourceDetailsIntervalInMinutes,
IntervalInSeconds = dataSourceDataSourceDetailsIntervalInSeconds,
LoggingQueryDetails = new Oci.CloudGuard.Inputs.CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs
{
LoggingQueryType = dataSourceDataSourceDetailsLoggingQueryDetailsLoggingQueryType,
KeyEntitiesCount = dataSourceDataSourceDetailsLoggingQueryDetailsKeyEntitiesCount,
},
LoggingQueryType = dataSourceDataSourceDetailsLoggingQueryType,
Operator = dataSourceDataSourceDetailsOperator,
Query = dataSourceDataSourceDetailsQuery,
QueryStartTime = new Oci.CloudGuard.Inputs.CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs
{
StartPolicyType = dataSourceDataSourceDetailsQueryStartTimeStartPolicyType,
QueryStartTime = dataSourceDataSourceDetailsQueryStartTimeQueryStartTime,
},
Regions = dataSourceDataSourceDetailsRegions,
ScheduledQueryScopeDetails = new[]
{
new Oci.CloudGuard.Inputs.CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArgs
{
Region = dataSourceDataSourceDetailsScheduledQueryScopeDetailsRegion,
ResourceIds = dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceIds,
ResourceType = dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceType,
},
},
Threshold = dataSourceDataSourceDetailsThreshold,
},
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
FreeformTags =
{
{ "bar-key", "value" },
},
Status = dataSourceStatus,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CloudGuard.CloudGuardDataSource;
import com.pulumi.oci.CloudGuard.CloudGuardDataSourceArgs;
import com.pulumi.oci.CloudGuard.inputs.CloudGuardDataSourceDataSourceDetailsArgs;
import com.pulumi.oci.CloudGuard.inputs.CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs;
import com.pulumi.oci.CloudGuard.inputs.CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testDataSource = new CloudGuardDataSource("testDataSource", CloudGuardDataSourceArgs.builder()
.compartmentId(compartmentId)
.dataSourceFeedProvider(dataSourceDataSourceFeedProvider)
.displayName(dataSourceDisplayName)
.dataSourceDetails(CloudGuardDataSourceDataSourceDetailsArgs.builder()
.dataSourceFeedProvider(dataSourceDataSourceDetailsDataSourceFeedProvider)
.additionalEntitiesCount(dataSourceDataSourceDetailsAdditionalEntitiesCount)
.description(dataSourceDataSourceDetailsDescription)
.intervalInMinutes(dataSourceDataSourceDetailsIntervalInMinutes)
.intervalInSeconds(dataSourceDataSourceDetailsIntervalInSeconds)
.loggingQueryDetails(CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs.builder()
.loggingQueryType(dataSourceDataSourceDetailsLoggingQueryDetailsLoggingQueryType)
.keyEntitiesCount(dataSourceDataSourceDetailsLoggingQueryDetailsKeyEntitiesCount)
.build())
.loggingQueryType(dataSourceDataSourceDetailsLoggingQueryType)
.operator(dataSourceDataSourceDetailsOperator)
.query(dataSourceDataSourceDetailsQuery)
.queryStartTime(CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs.builder()
.startPolicyType(dataSourceDataSourceDetailsQueryStartTimeStartPolicyType)
.queryStartTime(dataSourceDataSourceDetailsQueryStartTimeQueryStartTime)
.build())
.regions(dataSourceDataSourceDetailsRegions)
.scheduledQueryScopeDetails(CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArgs.builder()
.region(dataSourceDataSourceDetailsScheduledQueryScopeDetailsRegion)
.resourceIds(dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceIds)
.resourceType(dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceType)
.build())
.threshold(dataSourceDataSourceDetailsThreshold)
.build())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.freeformTags(Map.of("bar-key", "value"))
.status(dataSourceStatus)
.build());
}
}
resources:
testDataSource:
type: oci:CloudGuard:CloudGuardDataSource
name: test_data_source
properties:
compartmentId: ${compartmentId}
dataSourceFeedProvider: ${dataSourceDataSourceFeedProvider}
displayName: ${dataSourceDisplayName}
dataSourceDetails:
dataSourceFeedProvider: ${dataSourceDataSourceDetailsDataSourceFeedProvider}
additionalEntitiesCount: ${dataSourceDataSourceDetailsAdditionalEntitiesCount}
description: ${dataSourceDataSourceDetailsDescription}
intervalInMinutes: ${dataSourceDataSourceDetailsIntervalInMinutes}
intervalInSeconds: ${dataSourceDataSourceDetailsIntervalInSeconds}
loggingQueryDetails:
loggingQueryType: ${dataSourceDataSourceDetailsLoggingQueryDetailsLoggingQueryType}
keyEntitiesCount: ${dataSourceDataSourceDetailsLoggingQueryDetailsKeyEntitiesCount}
loggingQueryType: ${dataSourceDataSourceDetailsLoggingQueryType}
operator: ${dataSourceDataSourceDetailsOperator}
query: ${dataSourceDataSourceDetailsQuery}
queryStartTime:
startPolicyType: ${dataSourceDataSourceDetailsQueryStartTimeStartPolicyType}
queryStartTime: ${dataSourceDataSourceDetailsQueryStartTimeQueryStartTime}
regions: ${dataSourceDataSourceDetailsRegions}
scheduledQueryScopeDetails:
- region: ${dataSourceDataSourceDetailsScheduledQueryScopeDetailsRegion}
resourceIds: ${dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceIds}
resourceType: ${dataSourceDataSourceDetailsScheduledQueryScopeDetailsResourceType}
threshold: ${dataSourceDataSourceDetailsThreshold}
definedTags:
foo-namespace.bar-key: value
freeformTags:
bar-key: value
status: ${dataSourceStatus}
Create CloudGuardDataSource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudGuardDataSource(name: string, args: CloudGuardDataSourceArgs, opts?: CustomResourceOptions);
@overload
def CloudGuardDataSource(resource_name: str,
args: CloudGuardDataSourceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CloudGuardDataSource(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
data_source_feed_provider: Optional[str] = None,
display_name: Optional[str] = None,
data_source_details: Optional[_cloudguard.CloudGuardDataSourceDataSourceDetailsArgs] = None,
defined_tags: Optional[Mapping[str, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
status: Optional[str] = None)
func NewCloudGuardDataSource(ctx *Context, name string, args CloudGuardDataSourceArgs, opts ...ResourceOption) (*CloudGuardDataSource, error)
public CloudGuardDataSource(string name, CloudGuardDataSourceArgs args, CustomResourceOptions? opts = null)
public CloudGuardDataSource(String name, CloudGuardDataSourceArgs args)
public CloudGuardDataSource(String name, CloudGuardDataSourceArgs args, CustomResourceOptions options)
type: oci:CloudGuard:CloudGuardDataSource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CloudGuardDataSourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CloudGuardDataSourceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CloudGuardDataSourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudGuardDataSourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudGuardDataSourceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cloudGuardDataSourceResource = new Oci.CloudGuard.CloudGuardDataSource("cloudGuardDataSourceResource", new()
{
CompartmentId = "string",
DataSourceFeedProvider = "string",
DisplayName = "string",
DataSourceDetails = new Oci.CloudGuard.Inputs.CloudGuardDataSourceDataSourceDetailsArgs
{
DataSourceFeedProvider = "string",
LoggingQueryType = "string",
Description = "string",
IntervalInMinutes = 0,
IntervalInSeconds = 0,
LoggingQueryDetails = new Oci.CloudGuard.Inputs.CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs
{
LoggingQueryType = "string",
KeyEntitiesCount = 0,
},
AdditionalEntitiesCount = 0,
Operator = "string",
Query = "string",
QueryStartTime = new Oci.CloudGuard.Inputs.CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs
{
StartPolicyType = "string",
QueryStartTime = "string",
},
Regions = new[]
{
"string",
},
ScheduledQueryScopeDetails = new[]
{
new Oci.CloudGuard.Inputs.CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArgs
{
Region = "string",
ResourceIds = new[]
{
"string",
},
ResourceType = "string",
},
},
Threshold = 0,
},
DefinedTags =
{
{ "string", "string" },
},
FreeformTags =
{
{ "string", "string" },
},
Status = "string",
});
example, err := CloudGuard.NewCloudGuardDataSource(ctx, "cloudGuardDataSourceResource", &CloudGuard.CloudGuardDataSourceArgs{
CompartmentId: pulumi.String("string"),
DataSourceFeedProvider: pulumi.String("string"),
DisplayName: pulumi.String("string"),
DataSourceDetails: &cloudguard.CloudGuardDataSourceDataSourceDetailsArgs{
DataSourceFeedProvider: pulumi.String("string"),
LoggingQueryType: pulumi.String("string"),
Description: pulumi.String("string"),
IntervalInMinutes: pulumi.Int(0),
IntervalInSeconds: pulumi.Int(0),
LoggingQueryDetails: &cloudguard.CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs{
LoggingQueryType: pulumi.String("string"),
KeyEntitiesCount: pulumi.Int(0),
},
AdditionalEntitiesCount: pulumi.Int(0),
Operator: pulumi.String("string"),
Query: pulumi.String("string"),
QueryStartTime: &cloudguard.CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs{
StartPolicyType: pulumi.String("string"),
QueryStartTime: pulumi.String("string"),
},
Regions: pulumi.StringArray{
pulumi.String("string"),
},
ScheduledQueryScopeDetails: cloudguard.CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArray{
&cloudguard.CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArgs{
Region: pulumi.String("string"),
ResourceIds: pulumi.StringArray{
pulumi.String("string"),
},
ResourceType: pulumi.String("string"),
},
},
Threshold: pulumi.Int(0),
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Status: pulumi.String("string"),
})
var cloudGuardDataSourceResource = new CloudGuardDataSource("cloudGuardDataSourceResource", CloudGuardDataSourceArgs.builder()
.compartmentId("string")
.dataSourceFeedProvider("string")
.displayName("string")
.dataSourceDetails(CloudGuardDataSourceDataSourceDetailsArgs.builder()
.dataSourceFeedProvider("string")
.loggingQueryType("string")
.description("string")
.intervalInMinutes(0)
.intervalInSeconds(0)
.loggingQueryDetails(CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs.builder()
.loggingQueryType("string")
.keyEntitiesCount(0)
.build())
.additionalEntitiesCount(0)
.operator("string")
.query("string")
.queryStartTime(CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs.builder()
.startPolicyType("string")
.queryStartTime("string")
.build())
.regions("string")
.scheduledQueryScopeDetails(CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArgs.builder()
.region("string")
.resourceIds("string")
.resourceType("string")
.build())
.threshold(0)
.build())
.definedTags(Map.of("string", "string"))
.freeformTags(Map.of("string", "string"))
.status("string")
.build());
cloud_guard_data_source_resource = oci.cloud_guard.CloudGuardDataSource("cloudGuardDataSourceResource",
compartment_id="string",
data_source_feed_provider="string",
display_name="string",
data_source_details=oci.cloud_guard.CloudGuardDataSourceDataSourceDetailsArgs(
data_source_feed_provider="string",
logging_query_type="string",
description="string",
interval_in_minutes=0,
interval_in_seconds=0,
logging_query_details=oci.cloud_guard.CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs(
logging_query_type="string",
key_entities_count=0,
),
additional_entities_count=0,
operator="string",
query="string",
query_start_time=oci.cloud_guard.CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs(
start_policy_type="string",
query_start_time="string",
),
regions=["string"],
scheduled_query_scope_details=[oci.cloud_guard.CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArgs(
region="string",
resource_ids=["string"],
resource_type="string",
)],
threshold=0,
),
defined_tags={
"string": "string",
},
freeform_tags={
"string": "string",
},
status="string")
const cloudGuardDataSourceResource = new oci.cloudguard.CloudGuardDataSource("cloudGuardDataSourceResource", {
compartmentId: "string",
dataSourceFeedProvider: "string",
displayName: "string",
dataSourceDetails: {
dataSourceFeedProvider: "string",
loggingQueryType: "string",
description: "string",
intervalInMinutes: 0,
intervalInSeconds: 0,
loggingQueryDetails: {
loggingQueryType: "string",
keyEntitiesCount: 0,
},
additionalEntitiesCount: 0,
operator: "string",
query: "string",
queryStartTime: {
startPolicyType: "string",
queryStartTime: "string",
},
regions: ["string"],
scheduledQueryScopeDetails: [{
region: "string",
resourceIds: ["string"],
resourceType: "string",
}],
threshold: 0,
},
definedTags: {
string: "string",
},
freeformTags: {
string: "string",
},
status: "string",
});
type: oci:CloudGuard:CloudGuardDataSource
properties:
compartmentId: string
dataSourceDetails:
additionalEntitiesCount: 0
dataSourceFeedProvider: string
description: string
intervalInMinutes: 0
intervalInSeconds: 0
loggingQueryDetails:
keyEntitiesCount: 0
loggingQueryType: string
loggingQueryType: string
operator: string
query: string
queryStartTime:
queryStartTime: string
startPolicyType: string
regions:
- string
scheduledQueryScopeDetails:
- region: string
resourceIds:
- string
resourceType: string
threshold: 0
dataSourceFeedProvider: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
status: string
CloudGuardDataSource Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The CloudGuardDataSource resource accepts the following input properties:
- Compartment
Id string - (Updatable) Compartment OCID of the data source
- Data
Source stringFeed Provider - Type of data source feed provider (LoggingQuery)
- Display
Name string - (Updatable) Data source display name
- Data
Source CloudDetails Guard Data Source Data Source Details - (Updatable) Details specific to the data source type.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Dictionary<string, string>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- Status string
(Updatable) Enablement status of data source.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Compartment
Id string - (Updatable) Compartment OCID of the data source
- Data
Source stringFeed Provider - Type of data source feed 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]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- map[string]string
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- Status string
(Updatable) Enablement status of data source.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) Compartment OCID of the data source
- data
Source StringFeed Provider - Type of data source feed provider (LoggingQuery)
- display
Name String - (Updatable) Data source display name
- data
Source DataDetails Source Data Source Details - (Updatable) Details specific to the data source type.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<String,String>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- status String
(Updatable) Enablement status of data source.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id string - (Updatable) Compartment OCID of the data source
- data
Source stringFeed Provider - Type of data source feed provider (LoggingQuery)
- display
Name string - (Updatable) Data source display name
- data
Source CloudDetails Guard Data Source Data Source Details - (Updatable) Details specific to the data source type.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- {[key: string]: string}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- status string
(Updatable) Enablement status of data source.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment_
id str - (Updatable) Compartment OCID of the data source
- data_
source_ strfeed_ provider - Type of data source feed provider (LoggingQuery)
- display_
name str - (Updatable) Data source display name
- data_
source_ cloudguard.details Cloud Guard Data Source Data Source Details Args - (Updatable) Details specific to the data source type.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Mapping[str, str]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- status str
(Updatable) Enablement status of data source.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) Compartment OCID of the data source
- data
Source StringFeed Provider - Type of data source feed provider (LoggingQuery)
- display
Name String - (Updatable) Data source display name
- data
Source Property MapDetails - (Updatable) Details specific to the data source type.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<String>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- status String
(Updatable) Enablement status of data source.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudGuardDataSource resource produces the following output properties:
- 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 lifecycle state of the resource.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- 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 lifecycle state of the resource.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- 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 lifecycle state of the resource.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- 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 lifecycle state of the resource.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- 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_ Sequence[cloudguard.detector_ mapping_ infos Cloud Guard Data Source Data Source Detector Mapping Info] - Information about the detector recipe and rule attached
- id str
- The provider-assigned unique ID for this managed resource.
- region_
status_ Sequence[cloudguard.details Cloud Guard Data Source Region Status Detail] - Information about the region and status of query replication
- state str
- The current lifecycle state of the resource.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The date and time the Data source was created. Format defined by RFC3339.
- time_
updated str - The date and time the data source was updated. Format defined by RFC3339.
- 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 lifecycle state of the resource.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- 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, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
region_status_details: Optional[Sequence[_cloudguard.CloudGuardDataSourceRegionStatusDetailArgs]] = None,
state: Optional[str] = None,
status: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> 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) Compartment OCID of the data source
- Data
Source CloudDetails Guard Data Source Data Source Details - (Updatable) Details specific to the data source type.
- Data
Source List<CloudDetector Mapping Infos Guard Data Source Data Source Detector Mapping Info> - Information about the detector recipe and rule attached
- Data
Source stringFeed Provider - Type of data source feed provider (LoggingQuery)
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) Data source display name
- Dictionary<string, string>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- Region
Status List<CloudDetails Guard Data Source Region Status Detail> - Information about the region and status of query replication
- State string
- The current lifecycle state of the resource.
- Status string
(Updatable) Enablement status of data source.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- 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) Compartment OCID of the data source
- Data
Source CloudDetails Guard Data Source Data Source Details Args - (Updatable) Details specific to the data source type.
- Data
Source []CloudDetector Mapping Infos Guard Data Source Data Source Detector Mapping Info Args - Information about the detector recipe and rule attached
- Data
Source stringFeed Provider - Type of data source feed provider (LoggingQuery)
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string - (Updatable) Data source display name
- map[string]string
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- Region
Status []CloudDetails Guard Data Source Region Status Detail Args - Information about the region and status of query replication
- State string
- The current lifecycle state of the resource.
- Status string
(Updatable) Enablement status of data source.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- 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) Compartment OCID of the data source
- data
Source DataDetails Source Data Source Details - (Updatable) Details specific to the data source type.
- data
Source List<DataDetector Mapping Infos Source Data Source Detector Mapping Info> - Information about the detector recipe and rule attached
- data
Source StringFeed Provider - Type of data source feed provider (LoggingQuery)
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) Data source display name
- Map<String,String>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- region
Status List<DataDetails Source Region Status Detail> - Information about the region and status of query replication
- state String
- The current lifecycle state of the resource.
- status String
(Updatable) Enablement status of data source.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- 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) Compartment OCID of the data source
- data
Source CloudDetails Guard Data Source Data Source Details - (Updatable) Details specific to the data source type.
- data
Source CloudDetector Mapping Infos Guard Data Source Data Source Detector Mapping Info[] - Information about the detector recipe and rule attached
- data
Source stringFeed Provider - Type of data source feed provider (LoggingQuery)
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string - (Updatable) Data source display name
- {[key: string]: string}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- region
Status CloudDetails Guard Data Source Region Status Detail[] - Information about the region and status of query replication
- state string
- The current lifecycle state of the resource.
- status string
(Updatable) Enablement status of data source.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- 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) Compartment OCID of the data source
- data_
source_ cloudguard.details Cloud Guard Data Source Data Source Details Args - (Updatable) Details specific to the data source type.
- data_
source_ Sequence[cloudguard.detector_ mapping_ infos Cloud Guard Data Source Data Source Detector Mapping Info Args] - Information about the detector recipe and rule attached
- data_
source_ strfeed_ provider - Type of data source feed provider (LoggingQuery)
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str - (Updatable) Data source display name
- Mapping[str, str]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- region_
status_ Sequence[cloudguard.details Cloud Guard Data Source Region Status Detail Args] - Information about the region and status of query replication
- state str
- The current lifecycle state of the resource.
- status str
(Updatable) Enablement status of data source.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The date and time the Data source was created. Format defined by RFC3339.
- time_
updated str - The date and time the data source was updated. Format defined by RFC3339.
- compartment
Id String - (Updatable) Compartment OCID of the 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 - Type of data source feed provider (LoggingQuery)
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String - (Updatable) Data source display name
- Map<String>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- region
Status List<Property Map>Details - Information about the region and status of query replication
- state String
- The current lifecycle state of the resource.
- status String
(Updatable) Enablement status of data source.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- 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, CloudGuardDataSourceDataSourceDetailsArgs
- Data
Source stringFeed Provider - (Updatable) Type of data source feed provider (LoggingQuery)
- Additional
Entities intCount - (Updatable) The additional entities count used for data source query
- Description string
- (Updatable) Description text for the query
- Interval
In intMinutes - (Updatable) Interval in minutes that query is run periodically.
- Interval
In intSeconds - (Updatable) Interval in minutes which query is run periodically.
- Logging
Query CloudDetails Guard Data Source Data Source Details Logging Query Details - (Updatable) Details for a logging query for a data source.
- Logging
Query stringType - (Updatable) Type of logging query for data source (Sighting/Insight)
- Operator string
- (Updatable) Operator used in data source
- Query string
- (Updatable) The continuous query expression that is run periodically.
- Query
Start CloudTime Guard Data Source Data Source Details Query Start Time - (Updatable) Start policy for continuous query
- Regions List<string>
- (Updatable) List of logging query regions
- Scheduled
Query List<CloudScope Details Guard Data Source Data Source Details Scheduled Query Scope Detail> - (Updatable) Target information in which scheduled query will be run
- Threshold int
- (Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
- Data
Source stringFeed Provider - (Updatable) Type of data source feed provider (LoggingQuery)
- Additional
Entities intCount - (Updatable) The additional entities count used for data source query
- Description string
- (Updatable) Description text for the query
- Interval
In intMinutes - (Updatable) Interval in minutes that query is run periodically.
- Interval
In intSeconds - (Updatable) Interval in minutes which query is run periodically.
- Logging
Query CloudDetails Guard Data Source Data Source Details Logging Query Details - (Updatable) Details for a logging query for a data source.
- Logging
Query stringType - (Updatable) Type of logging query for data source (Sighting/Insight)
- Operator string
- (Updatable) Operator used in data source
- Query string
- (Updatable) The continuous query expression that is run periodically.
- Query
Start CloudTime Guard Data Source Data Source Details Query Start Time - (Updatable) Start policy for continuous query
- Regions []string
- (Updatable) List of logging query regions
- Scheduled
Query []CloudScope Details Guard Data Source Data Source Details Scheduled Query Scope Detail - (Updatable) Target information in which scheduled query will be run
- Threshold int
- (Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
- data
Source StringFeed Provider - (Updatable) Type of data source feed provider (LoggingQuery)
- additional
Entities IntegerCount - (Updatable) The additional entities count used for data source query
- description String
- (Updatable) Description text for the query
- interval
In IntegerMinutes - (Updatable) Interval in minutes that query is run periodically.
- interval
In IntegerSeconds - (Updatable) Interval in minutes which query is run periodically.
- logging
Query DataDetails Source Data Source Details Logging Query Details - (Updatable) Details for a logging query for a data source.
- logging
Query StringType - (Updatable) Type of logging query for data source (Sighting/Insight)
- operator String
- (Updatable) Operator used in data source
- query String
- (Updatable) The continuous query expression that is run periodically.
- query
Start DataTime Source Data Source Details Query Start Time - (Updatable) Start policy for continuous query
- regions List<String>
- (Updatable) List of logging query regions
- scheduled
Query List<DataScope Details Source Data Source Details Scheduled Query Scope Detail> - (Updatable) Target information in which scheduled query will be run
- threshold Integer
- (Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
- data
Source stringFeed Provider - (Updatable) Type of data source feed provider (LoggingQuery)
- additional
Entities numberCount - (Updatable) The additional entities count used for data source query
- description string
- (Updatable) Description text for the query
- interval
In numberMinutes - (Updatable) Interval in minutes that query is run periodically.
- interval
In numberSeconds - (Updatable) Interval in minutes which query is run periodically.
- logging
Query CloudDetails Guard Data Source Data Source Details Logging Query Details - (Updatable) Details for a logging query for a data source.
- logging
Query stringType - (Updatable) Type of logging query for data source (Sighting/Insight)
- operator string
- (Updatable) Operator used in data source
- query string
- (Updatable) The continuous query expression that is run periodically.
- query
Start CloudTime Guard Data Source Data Source Details Query Start Time - (Updatable) Start policy for continuous query
- regions string[]
- (Updatable) List of logging query regions
- scheduled
Query CloudScope Details Guard Data Source Data Source Details Scheduled Query Scope Detail[] - (Updatable) Target information in which scheduled query will be run
- threshold number
- (Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
- data_
source_ strfeed_ provider - (Updatable) Type of data source feed provider (LoggingQuery)
- additional_
entities_ intcount - (Updatable) The additional entities count used for data source query
- description str
- (Updatable) Description text for the query
- interval_
in_ intminutes - (Updatable) Interval in minutes that query is run periodically.
- interval_
in_ intseconds - (Updatable) Interval in minutes which query is run periodically.
- logging_
query_ cloudguard.details Cloud Guard Data Source Data Source Details Logging Query Details - (Updatable) Details for a logging query for a data source.
- logging_
query_ strtype - (Updatable) Type of logging query for data source (Sighting/Insight)
- operator str
- (Updatable) Operator used in data source
- query str
- (Updatable) The continuous query expression that is run periodically.
- query_
start_ cloudguard.time Cloud Guard Data Source Data Source Details Query Start Time - (Updatable) Start policy for continuous query
- regions Sequence[str]
- (Updatable) List of logging query regions
- scheduled_
query_ Sequence[cloudguard.scope_ details Cloud Guard Data Source Data Source Details Scheduled Query Scope Detail] - (Updatable) Target information in which scheduled query will be run
- threshold int
- (Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
- data
Source StringFeed Provider - (Updatable) Type of data source feed provider (LoggingQuery)
- additional
Entities NumberCount - (Updatable) The additional entities count used for data source query
- description String
- (Updatable) Description text for the query
- interval
In NumberMinutes - (Updatable) Interval in minutes that query is run periodically.
- interval
In NumberSeconds - (Updatable) Interval in minutes which query is run periodically.
- logging
Query Property MapDetails - (Updatable) Details for a logging query for a data source.
- logging
Query StringType - (Updatable) Type of logging query for data source (Sighting/Insight)
- operator String
- (Updatable) Operator used in data source
- query String
- (Updatable) The continuous query expression that is run periodically.
- query
Start Property MapTime - (Updatable) Start policy for continuous query
- regions List<String>
- (Updatable) List of logging query regions
- scheduled
Query List<Property Map>Scope Details - (Updatable) Target information in which scheduled query will be run
- threshold Number
- (Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), for the query result to trigger an event
CloudGuardDataSourceDataSourceDetailsLoggingQueryDetails, CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs
- Logging
Query stringType - (Updatable) Logging query type for data source
- Key
Entities intCount - (Updatable) The key entities count used for data source query
- Logging
Query stringType - (Updatable) Logging query type for data source
- Key
Entities intCount - (Updatable) The key entities count used for data source query
- logging
Query StringType - (Updatable) Logging query type for data source
- key
Entities IntegerCount - (Updatable) The key entities count used for data source query
- logging
Query stringType - (Updatable) Logging query type for data source
- key
Entities numberCount - (Updatable) The key entities count used for data source query
- logging_
query_ strtype - (Updatable) Logging query type for data source
- key_
entities_ intcount - (Updatable) The key entities count used for data source query
- logging
Query StringType - (Updatable) Logging query type for data source
- key
Entities NumberCount - (Updatable) The key entities count used for data source query
CloudGuardDataSourceDataSourceDetailsQueryStartTime, CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs
- Start
Policy stringType - (Updatable) Start policy delay timing
- Query
Start stringTime - (Updatable) Time when the query can start. If not specified it can start immediately
- Start
Policy stringType - (Updatable) Start policy delay timing
- Query
Start stringTime - (Updatable) Time when the query can start. If not specified it can start immediately
- start
Policy StringType - (Updatable) Start policy delay timing
- query
Start StringTime - (Updatable) Time when the query can start. If not specified it can start immediately
- start
Policy stringType - (Updatable) Start policy delay timing
- query
Start stringTime - (Updatable) Time when the query can start. If not specified it can start immediately
- start_
policy_ strtype - (Updatable) Start policy delay timing
- query_
start_ strtime - (Updatable) Time when the query can start. If not specified it can start immediately
- start
Policy StringType - (Updatable) Start policy delay timing
- query
Start StringTime - (Updatable) Time when the query can start. If not specified it can start immediately
CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetail, CloudGuardDataSourceDataSourceDetailsScheduledQueryScopeDetailArgs
- Region string
- (Updatable) region on which scheduled query needs to be run
- Resource
Ids List<string> - (Updatable) List of OCIDs on scheduled query needs to run
- Resource
Type string - (Updatable) Type of resource
- Region string
- (Updatable) region on which scheduled query needs to be run
- Resource
Ids []string - (Updatable) List of OCIDs on scheduled query needs to run
- Resource
Type string - (Updatable) Type of resource
- region String
- (Updatable) region on which scheduled query needs to be run
- resource
Ids List<String> - (Updatable) List of OCIDs on scheduled query needs to run
- resource
Type String - (Updatable) Type of resource
- region string
- (Updatable) region on which scheduled query needs to be run
- resource
Ids string[] - (Updatable) List of OCIDs on scheduled query needs to run
- resource
Type string - (Updatable) Type of resource
- region str
- (Updatable) region on which scheduled query needs to be run
- resource_
ids Sequence[str] - (Updatable) List of OCIDs on scheduled query needs to run
- resource_
type str - (Updatable) Type of resource
- region String
- (Updatable) region on which scheduled query needs to be run
- resource
Ids List<String> - (Updatable) List of OCIDs on scheduled query needs to run
- resource
Type String - (Updatable) Type of resource
CloudGuardDataSourceDataSourceDetectorMappingInfo, CloudGuardDataSourceDataSourceDetectorMappingInfoArgs
- Detector
Recipe stringId - ID of the detector recipe attached to the data source
- Detector
Rule stringId - ID of the detector rule attached to the data source
- Detector
Recipe stringId - ID of the detector recipe attached to the data source
- Detector
Rule stringId - ID of the detector rule attached to the data source
- detector
Recipe StringId - ID of the detector recipe attached to the data source
- detector
Rule StringId - ID of the detector rule attached to the data source
- detector
Recipe stringId - ID of the detector recipe attached to the data source
- detector
Rule stringId - ID of the detector rule attached to the data source
- detector_
recipe_ strid - ID of the detector recipe attached to the data source
- detector_
rule_ strid - ID of the detector rule attached to the data source
- detector
Recipe StringId - ID of the detector recipe attached to the data source
- detector
Rule StringId - ID of the detector rule attached to the data source
CloudGuardDataSourceRegionStatusDetail, CloudGuardDataSourceRegionStatusDetailArgs
Import
DataSources can be imported using the id
, e.g.
$ pulumi import oci:CloudGuard/cloudGuardDataSource:CloudGuardDataSource test_data_source "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.