import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Creates and manages an [Aiven for Apache FlinkĀ® jar application](https://aiven.io/docs/products/flink/howto/create-jar-application). Requires the `aiven.Flink` service to have `flink_user_config.custom_code` enabled, which allows uploading and deploying custom JARs. If this resource is missing (for example, after a service power off), it's removed from the state and a new create plan is generated. * * > **Beta resource in limited availability** * This feature is in the limited availability stage and may change without notice. To enable this feature, contact the [sales team](http://aiven.io/contact). Once it's enabled, set the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = new aiven.FlinkJarApplication("example", { * project: "my-project", * serviceName: "my-application", * name: "TestJob", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/flinkJarApplication:FlinkJarApplication example PROJECT/SERVICE_NAME/APPLICATION_ID * ``` */ export declare class FlinkJarApplication extends pulumi.CustomResource { /** * Get an existing FlinkJarApplication 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: FlinkJarApplicationState, opts?: pulumi.CustomResourceOptions): FlinkJarApplication; /** * Returns true if the given object is an instance of FlinkJarApplication. 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 FlinkJarApplication; /** * Application ID. */ readonly applicationId: pulumi.Output; /** * JarApplicationVersions. */ readonly applicationVersions: pulumi.Output; /** * The creation timestamp of this entity in ISO 8601 format, always in UTC. */ readonly createdAt: pulumi.Output; /** * The creator of this entity. */ readonly createdBy: pulumi.Output; /** * Flink JarApplicationDeployment. */ readonly currentDeployments: pulumi.Output; /** * Application name. Maximum length: `128`. */ readonly name: pulumi.Output; /** * Project name. Changing this property forces recreation of the resource. */ readonly project: pulumi.Output; /** * Service name. Changing this property forces recreation of the resource. */ readonly serviceName: pulumi.Output; readonly timeouts: pulumi.Output; /** * The update timestamp of this entity in ISO 8601 format, always in UTC. */ readonly updatedAt: pulumi.Output; /** * The latest updater of this entity. */ readonly updatedBy: pulumi.Output; /** * Create a FlinkJarApplication 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: FlinkJarApplicationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FlinkJarApplication resources. */ export interface FlinkJarApplicationState { /** * Application ID. */ applicationId?: pulumi.Input; /** * JarApplicationVersions. */ applicationVersions?: pulumi.Input[] | undefined>; /** * The creation timestamp of this entity in ISO 8601 format, always in UTC. */ createdAt?: pulumi.Input; /** * The creator of this entity. */ createdBy?: pulumi.Input; /** * Flink JarApplicationDeployment. */ currentDeployments?: pulumi.Input[] | undefined>; /** * Application name. Maximum length: `128`. */ name?: pulumi.Input; /** * Project name. Changing this property forces recreation of the resource. */ project?: pulumi.Input; /** * Service name. Changing this property forces recreation of the resource. */ serviceName?: pulumi.Input; timeouts?: pulumi.Input; /** * The update timestamp of this entity in ISO 8601 format, always in UTC. */ updatedAt?: pulumi.Input; /** * The latest updater of this entity. */ updatedBy?: pulumi.Input; } /** * The set of arguments for constructing a FlinkJarApplication resource. */ export interface FlinkJarApplicationArgs { /** * Application name. Maximum length: `128`. */ name?: pulumi.Input; /** * Project name. Changing this property forces recreation of the resource. */ project: pulumi.Input; /** * Service name. Changing this property forces recreation of the resource. */ serviceName: pulumi.Input; timeouts?: pulumi.Input; } //# sourceMappingURL=flinkJarApplication.d.ts.map