import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new WorkflowInvocation in a given Repository. * Auto-naming is currently not supported for this resource. */ export declare class WorkflowInvocation extends pulumi.CustomResource { /** * Get an existing WorkflowInvocation 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): WorkflowInvocation; /** * Returns true if the given object is an instance of WorkflowInvocation. 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 WorkflowInvocation; /** * Immutable. The name of the compilation result to use for this invocation. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`. */ readonly compilationResult: pulumi.Output; /** * Immutable. If left unset, a default InvocationConfig will be used. */ readonly invocationConfig: pulumi.Output; /** * This workflow invocation's timing details. */ readonly invocationTiming: pulumi.Output; readonly location: pulumi.Output; /** * The workflow invocation's name. */ readonly name: pulumi.Output; readonly project: pulumi.Output; readonly repositoryId: pulumi.Output; /** * The resolved compilation result that was used to create this invocation. Will be in the format `projects/*/locations/*/repositories/*/compilationResults/*`. */ readonly resolvedCompilationResult: pulumi.Output; /** * This workflow invocation's current state. */ readonly state: pulumi.Output; /** * Immutable. The name of the workflow config to invoke. Must be in the format `projects/*/locations/*/repositories/*/workflowConfigs/*`. */ readonly workflowConfig: pulumi.Output; /** * Create a WorkflowInvocation 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: WorkflowInvocationArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a WorkflowInvocation resource. */ export interface WorkflowInvocationArgs { /** * Immutable. The name of the compilation result to use for this invocation. Must be in the format `projects/*/locations/*/repositories/*/compilationResults/*`. */ compilationResult?: pulumi.Input; /** * Immutable. If left unset, a default InvocationConfig will be used. */ invocationConfig?: pulumi.Input; location?: pulumi.Input; project?: pulumi.Input; repositoryId: pulumi.Input; /** * Immutable. The name of the workflow config to invoke. Must be in the format `projects/*/locations/*/repositories/*/workflowConfigs/*`. */ workflowConfig?: pulumi.Input; }