RuleDeploymentArgs

data class RuleDeploymentArgs(val alerting: Output<Boolean>? = null, val archived: Output<Boolean>? = null, val enabled: Output<Boolean>? = null, val instance: Output<String>? = null, val location: Output<String>? = null, val project: Output<String>? = null, val rule: Output<String>? = null, val runFrequency: Output<String>? = null) : ConvertibleToJava<RuleDeploymentArgs>

The RuleDeployment resource represents the deployment state of a Rule. To get more information about RuleDeployment, see:

Example Usage

Import

RuleDeployment can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{location}}/instances/{{instance}}/rules/{{rule}}/deployment

  • {{project}}/{{location}}/{{instance}}/{{rule}}

  • {{location}}/{{instance}}/{{rule}} When using the pulumi import command, RuleDeployment can be imported using one of the formats above. For example:

$ pulumi import gcp:chronicle/ruleDeployment:RuleDeployment default projects/{{project}}/locations/{{location}}/instances/{{instance}}/rules/{{rule}}/deployment
$ pulumi import gcp:chronicle/ruleDeployment:RuleDeployment default {{project}}/{{location}}/{{instance}}/{{rule}}
$ pulumi import gcp:chronicle/ruleDeployment:RuleDeployment default {{location}}/{{instance}}/{{rule}}

Constructors

Link copied to clipboard
constructor(alerting: Output<Boolean>? = null, archived: Output<Boolean>? = null, enabled: Output<Boolean>? = null, instance: Output<String>? = null, location: Output<String>? = null, project: Output<String>? = null, rule: Output<String>? = null, runFrequency: Output<String>? = null)

Properties

Link copied to clipboard
val alerting: Output<Boolean>? = null

Whether detections resulting from this deployment should be considered alerts.

Link copied to clipboard
val archived: Output<Boolean>? = null

The archive state of the rule deployment. Cannot be set to true unless enabled is set to false i.e. archiving requires a two-step process: first, disable the rule by setting 'enabled' to false, then set 'archive' to true. If set to true, alerting will automatically be set to false. If currently set to true, enabled, alerting, and run_frequency cannot be updated.

Link copied to clipboard
val enabled: Output<Boolean>? = null

Whether the rule is currently deployed continuously against incoming data.

Link copied to clipboard
val instance: Output<String>? = null

The unique identifier for the Chronicle instance, which is the same as the customer ID.

Link copied to clipboard
val location: Output<String>? = null

The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".

Link copied to clipboard
val project: Output<String>? = null

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard
val rule: Output<String>? = null

The Rule ID of the rule.

Link copied to clipboard
val runFrequency: Output<String>? = null

The run frequency of the rule deployment. Possible values: LIVE HOURLY DAILY

Functions

Link copied to clipboard
open override fun toJava(): RuleDeploymentArgs