import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. */ export declare class OrganizationJobTrigger extends pulumi.CustomResource { /** * Get an existing OrganizationJobTrigger resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): OrganizationJobTrigger; /** * Returns true if the given object is an instance of OrganizationJobTrigger. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is OrganizationJobTrigger; /** * The creation timestamp of a triggeredJob. */ readonly createTime: pulumi.Output; /** * User provided description (max 256 chars) */ readonly description: pulumi.Output; /** * Display name (max 100 chars) */ readonly displayName: pulumi.Output; /** * A stream of errors encountered when the trigger was activated. Repeated errors may result in the JobTrigger automatically being paused. Will return the last 100 errors. Whenever the JobTrigger is modified this list will be cleared. */ readonly errors: pulumi.Output; /** * For inspect jobs, a snapshot of the configuration. */ readonly inspectJob: pulumi.Output; /** * The timestamp of the last time this trigger executed. */ readonly lastRunTime: pulumi.Output; /** * Unique resource name for the triggeredJob, assigned by the service when the triggeredJob is created, for example `projects/dlp-test-project/jobTriggers/53234423`. */ readonly name: pulumi.Output; /** * Required. A status for this trigger. */ readonly status: pulumi.Output; /** * A list of triggers which will be OR'ed together. Only one in the list needs to trigger for a job to be started. The list may contain only a single Schedule trigger and must have at least one object. */ readonly triggers: pulumi.Output; /** * The last update timestamp of a triggeredJob. */ readonly updateTime: pulumi.Output; /** * Create a OrganizationJobTrigger resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: OrganizationJobTriggerArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a OrganizationJobTrigger resource. */ export interface OrganizationJobTriggerArgs { /** * User provided description (max 256 chars) */ readonly description?: pulumi.Input; /** * Display name (max 100 chars) */ readonly displayName?: pulumi.Input; /** * For inspect jobs, a snapshot of the configuration. */ readonly inspectJob?: pulumi.Input; readonly jobTriggersId: pulumi.Input; readonly locationsId: pulumi.Input; /** * Unique resource name for the triggeredJob, assigned by the service when the triggeredJob is created, for example `projects/dlp-test-project/jobTriggers/53234423`. */ readonly name?: pulumi.Input; readonly organizationsId: pulumi.Input; /** * Required. A status for this trigger. */ readonly status?: pulumi.Input; /** * 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. */ readonly triggerId?: pulumi.Input; /** * A list of triggers which will be OR'ed together. Only one in the list needs to trigger for a job to be started. The list may contain only a single Schedule trigger and must have at least one object. */ readonly triggers?: pulumi.Input[]>; }