import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates an IntegrationTemplateVersion. * Auto-naming is currently not supported for this resource. * Note - this resource's API doesn't support deletion. When deleted, the resource will persist * on Google Cloud even though it will be deleted from Pulumi state. */ export declare class TemplatesVersion extends pulumi.CustomResource { /** * Get an existing TemplatesVersion 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): TemplatesVersion; /** * Returns true if the given object is an instance of TemplatesVersion. 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 TemplatesVersion; /** * Auto-generated. */ readonly createTime: pulumi.Output; /** * Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index. */ readonly databasePersistencePolicy: pulumi.Output; /** * Optional. The templateversion description. Permitted format is alphanumeric with underscores and no spaces. */ readonly description: pulumi.Output; /** * Optional. Error Catch Task configuration for the IntegrationTemplateVersion. It's optional. */ readonly errorCatcherConfigs: pulumi.Output; readonly integrationtemplateId: pulumi.Output; /** * Optional. The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call. */ readonly lastModifierEmail: pulumi.Output; readonly location: pulumi.Output; /** * Auto-generated primary key. Format: projects/{project}/locations/{location}/products/{product}/integrationtemplates/{integrationtemplate}/versions/{version} */ readonly name: pulumi.Output; /** * Optional. ID of the IntegrationVersion that was used to create this IntegrationTemplateVersion */ readonly parentIntegrationVersionId: pulumi.Output; readonly productId: pulumi.Output; readonly project: pulumi.Output; /** * An increasing sequence that is set when a new snapshot is created. */ readonly snapshotNumber: pulumi.Output; /** * Optional. Generated by eventbus. User should not set it as an input. */ readonly status: pulumi.Output; /** * Optional. Task configuration for the IntegrationTemplateVersion. It's optional, but the IntegrationTemplateVersion doesn't do anything without task_configs. */ readonly taskConfigs: pulumi.Output; /** * Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to "finally" in code. */ readonly teardown: pulumi.Output; /** * Optional. Parameters that are expected to be passed to the IntegrationTemplateVersion when an event is triggered. This consists of all the parameters that are expected in the IntegrationTemplateVersion execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter. */ readonly templateParameters: pulumi.Output; /** * Optional. Trigger configurations. */ readonly triggerConfigs: pulumi.Output; /** * Auto-generated. */ readonly updateTime: pulumi.Output; /** * Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created. */ readonly userLabel: pulumi.Output; /** * Create a TemplatesVersion 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: TemplatesVersionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a TemplatesVersion resource. */ export interface TemplatesVersionArgs { /** * Optional. Flag to disable database persistence for execution data, including event execution info, execution export info, execution metadata index and execution param index. */ databasePersistencePolicy?: pulumi.Input; /** * Optional. The templateversion description. Permitted format is alphanumeric with underscores and no spaces. */ description?: pulumi.Input; /** * Optional. Error Catch Task configuration for the IntegrationTemplateVersion. It's optional. */ errorCatcherConfigs?: pulumi.Input[]>; integrationtemplateId: pulumi.Input; /** * Optional. The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call. */ lastModifierEmail?: pulumi.Input; location?: pulumi.Input; /** * Optional. ID of the IntegrationVersion that was used to create this IntegrationTemplateVersion */ parentIntegrationVersionId?: pulumi.Input; productId: pulumi.Input; project?: pulumi.Input; /** * Optional. Task configuration for the IntegrationTemplateVersion. It's optional, but the IntegrationTemplateVersion doesn't do anything without task_configs. */ taskConfigs?: pulumi.Input[]>; /** * Optional. Contains a graph of tasks that will be executed before putting the event in a terminal state (SUCCEEDED/FAILED/FATAL), regardless of success or failure, similar to "finally" in code. */ teardown?: pulumi.Input; /** * Optional. Parameters that are expected to be passed to the IntegrationTemplateVersion when an event is triggered. This consists of all the parameters that are expected in the IntegrationTemplateVersion execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter. */ templateParameters?: pulumi.Input; /** * Optional. Trigger configurations. */ triggerConfigs?: pulumi.Input[]>; /** * Optional. A user-defined label that annotates an integration version. Typically, this is only set when the integration version is created. */ userLabel?: pulumi.Input; }