import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Create a integration with a draft version in the specified project. * Auto-naming is currently not supported for this resource. */ export declare class Version extends pulumi.CustomResource { /** * Get an existing Version 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): Version; /** * Returns true if the given object is an instance of Version. 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 Version; /** * Optional. Cloud Logging details for the integration version */ readonly cloudLoggingDetails: pulumi.Output; /** * Optional. Optional. Indicates if sample workflow should be created. */ readonly createSampleIntegrations: pulumi.Output; /** * 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 integration description. */ readonly description: pulumi.Output; /** * Optional. Error Catch Task configuration for the integration. It's optional. */ readonly errorCatcherConfigs: pulumi.Output; readonly integrationId: pulumi.Output; /** * Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter. */ readonly integrationParameters: pulumi.Output; /** * Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter. */ readonly integrationParametersInternal: 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; /** * Optional. The edit lock holder's email address. Generated based on the End User Credentials/LOAS role of the user making the call. */ readonly lockHolder: pulumi.Output; /** * Auto-generated primary key. */ readonly name: pulumi.Output; /** * Set this flag to true, if draft version is to be created for a brand new integration. False, if the request is for an existing integration. For backward compatibility reasons, even if this flag is set to `false` and no existing integration is found, a new draft integration will still be created. */ readonly newIntegration: pulumi.Output; /** * Optional. The origin that indicates where this integration is coming from. */ readonly origin: pulumi.Output; /** * Optional. The id of the template which was used to create this integration_version. */ readonly parentTemplateId: pulumi.Output; readonly productId: pulumi.Output; readonly project: pulumi.Output; /** * Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task. */ readonly runAsServiceAccount: pulumi.Output; /** * Optional. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use "HEAD" tag to identify the head. */ readonly snapshotNumber: pulumi.Output; /** * User should not set it as an input. */ readonly state: pulumi.Output; /** * Generated by eventbus. User should not set it as an input. */ readonly status: pulumi.Output; /** * Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs. */ readonly taskConfigs: pulumi.Output; /** * Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs. */ readonly taskConfigsInternal: 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. Trigger configurations. */ readonly triggerConfigs: pulumi.Output; /** * Optional. Trigger configurations. */ readonly triggerConfigsInternal: 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 Version 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: VersionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Version resource. */ export interface VersionArgs { /** * Optional. Cloud Logging details for the integration version */ cloudLoggingDetails?: pulumi.Input; /** * Optional. Optional. Indicates if sample workflow should be created. */ createSampleIntegrations?: pulumi.Input; /** * 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 integration description. */ description?: pulumi.Input; /** * Optional. Error Catch Task configuration for the integration. It's optional. */ errorCatcherConfigs?: pulumi.Input[]>; integrationId: pulumi.Input; /** * Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter. */ integrationParameters?: pulumi.Input[]>; /** * Optional. Parameters that are expected to be passed to the integration when an event is triggered. This consists of all the parameters that are expected in the integration execution. This gives the user the ability to provide default values, add information like PII and also provide data types of each parameter. */ integrationParametersInternal?: 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. The edit lock holder's email address. Generated based on the End User Credentials/LOAS role of the user making the call. */ lockHolder?: pulumi.Input; /** * Set this flag to true, if draft version is to be created for a brand new integration. False, if the request is for an existing integration. For backward compatibility reasons, even if this flag is set to `false` and no existing integration is found, a new draft integration will still be created. */ newIntegration?: pulumi.Input; /** * Optional. The origin that indicates where this integration is coming from. */ origin?: pulumi.Input; /** * Optional. The id of the template which was used to create this integration_version. */ parentTemplateId?: pulumi.Input; productId: pulumi.Input; project?: pulumi.Input; /** * Optional. The run-as service account email, if set and auth config is not configured, that will be used to generate auth token to be used in Connector task, Rest caller task and Cloud function task. */ runAsServiceAccount?: pulumi.Input; /** * Optional. An increasing sequence that is set when a new snapshot is created. The last created snapshot can be identified by [workflow_name, org_id latest(snapshot_number)]. However, last created snapshot need not be same as the HEAD. So users should always use "HEAD" tag to identify the head. */ snapshotNumber?: pulumi.Input; /** * Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs. */ taskConfigs?: pulumi.Input[]>; /** * Optional. Task configuration for the integration. It's optional, but the integration doesn't do anything without task_configs. */ taskConfigsInternal?: 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. Trigger configurations. */ triggerConfigs?: pulumi.Input[]>; /** * Optional. Trigger configurations. */ triggerConfigsInternal?: 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; }