PreventionJobTriggerState class

Input properties used for looking up and filtering PreventionJobTrigger resources.

Constructors

PreventionJobTriggerState({Input<String?>? createTime, Input<String?>? deletionPolicy, Input<String?>? description, Input<String?>? displayName, Input<PreventionJobTriggerInspectJob?>? inspectJob, Input<String?>? lastRunTime, Input<String?>? name, Input<String?>? parent, Input<String?>? status, Input<String?>? triggerId, Input<List<PreventionJobTriggerTrigger>?>? triggers, Input<String?>? updateTime})
Creates a new PreventionJobTriggerState. createTime The creation timestamp of an inspectTemplate. Set by the server. 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. lastRunTime The timestamp of the last time this trigger executed. name The resource name of the job trigger. Set by the server. 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. updateTime The last update timestamp of an inspectTemplate. Set by the server.
const
PreventionJobTriggerState.fromMap(Map<String, dynamic> map)
factory

Properties

createTime → Input<String?>?
The creation timestamp of an inspectTemplate. Set by the server.
final
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
lastRunTime → Input<String?>?
The timestamp of the last time this trigger executed.
final
name → Input<String?>?
The resource name of the job trigger. Set by the server.
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
updateTime → Input<String?>?
The last update timestamp of an inspectTemplate. Set by the server.
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