RuleDeployment constructor
RuleDeployment(
- String name, {
- RuleDeploymentArgs? args,
- CustomResourceOptions? options,
Creates a new RuleDeployment.
name The Pulumi resource name.
args Arguments used to configure this RuleDeployment. The set of arguments for RuleDeployment.
options Resource options controlling this resource's behavior.
Implementation
RuleDeployment(
String name, {
RuleDeploymentArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'gcp:chronicle/ruleDeployment:RuleDeployment',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
) {
alerting = registerOutput<bool?>('alerting');
archiveTime = registerOutput<String>('archiveTime');
archived = registerOutput<bool?>('archived');
consumerRules = registerOutput<List<String>>('consumerRules', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
enabled = registerOutput<bool?>('enabled');
executionState = registerOutput<String>('executionState');
instance = registerOutput<String>('instance');
lastAlertStatusChangeTime = registerOutput<String>('lastAlertStatusChangeTime');
location = registerOutput<String>('location');
this.name = registerOutput<String>('name');
producerRules = registerOutput<List<String>>('producerRules', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
project = registerOutput<String>('project');
rule = registerOutput<String>('rule');
runFrequency = registerOutput<String?>('runFrequency');
scheduleCustomizations = registerOutput<RuleDeploymentScheduleCustomizations?>('scheduleCustomizations', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return RuleDeploymentScheduleCustomizations.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}