import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new WorkflowConfig in a given Repository. * Auto-naming is currently not supported for this resource. */ export declare class WorkflowConfig extends pulumi.CustomResource { /** * Get an existing WorkflowConfig 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): WorkflowConfig; /** * Returns true if the given object is an instance of WorkflowConfig. 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 WorkflowConfig; /** * Optional. Optional schedule (in cron format) for automatic execution of this workflow config. */ readonly cronSchedule: pulumi.Output; /** * Optional. If left unset, a default InvocationConfig will be used. */ readonly invocationConfig: pulumi.Output; readonly location: pulumi.Output; /** * The workflow config's name. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Records of the 10 most recent scheduled execution attempts, ordered in in descending order of `execution_time`. Updated whenever automatic creation of a workflow invocation is triggered by cron_schedule. */ readonly recentScheduledExecutionRecords: pulumi.Output; /** * The name of the release config whose release_compilation_result should be executed. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`. */ readonly releaseConfig: pulumi.Output; readonly repositoryId: pulumi.Output; /** * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC. */ readonly timeZone: pulumi.Output; /** * Required. The ID to use for the workflow config, which will become the final component of the workflow config's resource name. */ readonly workflowConfigId: pulumi.Output; /** * Create a WorkflowConfig 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: WorkflowConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a WorkflowConfig resource. */ export interface WorkflowConfigArgs { /** * Optional. Optional schedule (in cron format) for automatic execution of this workflow config. */ cronSchedule?: pulumi.Input; /** * Optional. If left unset, a default InvocationConfig will be used. */ invocationConfig?: pulumi.Input; location?: pulumi.Input; project?: pulumi.Input; /** * The name of the release config whose release_compilation_result should be executed. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`. */ releaseConfig: pulumi.Input; repositoryId: pulumi.Input; /** * Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC. */ timeZone?: pulumi.Input; /** * Required. The ID to use for the workflow config, which will become the final component of the workflow config's resource name. */ workflowConfigId: pulumi.Input; }