PreventionJobTriggerArgs class

The set of arguments for PreventionJobTrigger. The set of arguments for PreventionJobTrigger.

Constructors

PreventionJobTriggerArgs({Input<String?>? deletionPolicy, Input<String?>? description, Input<String?>? displayName, Input<PreventionJobTriggerInspectJob?>? inspectJob, required Input<String> parent, Input<String?>? status, Input<String?>? triggerId, required Input<List<PreventionJobTriggerTrigger>> triggers})
Creates a new PreventionJobTriggerArgs. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description A description of the job trigger. displayName User set display name of the job trigger. inspectJob Controls what and how to inspect for findings. parent The parent of the trigger, either in the format projects/{{project}} status Whether the trigger is currently active. triggerId The trigger id can contain uppercase and lowercase letters, numbers, and hyphens; triggers What event needs to occur for a new job to be started.
const
PreventionJobTriggerArgs.fromMap(Map<String, dynamic> map)
factory

Properties

deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
A description of the job trigger.
final
displayName → Input<String?>?
User set display name of the job trigger.
final
hashCode → int
The hash code for this object.
no setterinherited
inspectJob → Input<PreventionJobTriggerInspectJob?>?
Controls what and how to inspect for findings. Structure is documented below.
final
parent → Input<String>
The parent of the trigger, either in the format projects/{{project}} or projects/{{project}}/locations/{{location}}
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → Input<String?>?
Whether the trigger is currently active. Default value is HEALTHY. Possible values are: PAUSED, HEALTHY, CANCELLED.
final
triggerId → Input<String?>?
The trigger id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: a-zA-Z\d-_+. The maximum length is 100 characters. Can be empty to allow the system to generate one.
final
triggers → Input<List<PreventionJobTriggerTrigger>>
What event needs to occur for a new job to be started. Structure is documented below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited