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 version. 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.Flink("example", { * flinkUserConfig: { * customCode: true, * }, * project: exampleAivenProject.project, * serviceName: "example-flink-service", * cloudName: "google-europe-west1", * plan: "business-4", * maintenanceWindowDow: "monday", * maintenanceWindowTime: "04:00:00", * }); * const exampleFlinkJarApplication = new aiven.FlinkJarApplication("example", { * project: example.project, * serviceName: example.serviceName, * name: "example-app-jar", * }); * const exampleFlinkJarApplicationVersion = new aiven.FlinkJarApplicationVersion("example", { * project: example.project, * serviceName: example.serviceName, * applicationId: exampleFlinkJarApplication.applicationId, * source: "./example.jar", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/flinkJarApplicationVersion:FlinkJarApplicationVersion example PROJECT/SERVICE_NAME/APPLICATION_ID/APPLICATION_VERSION_ID * ``` */ export declare class FlinkJarApplicationVersion extends pulumi.CustomResource { /** * Get an existing FlinkJarApplicationVersion 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?: FlinkJarApplicationVersionState, opts?: pulumi.CustomResourceOptions): FlinkJarApplicationVersion; /** * Returns true if the given object is an instance of FlinkJarApplicationVersion. 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 FlinkJarApplicationVersion; /** * Application Id. Changing this property forces recreation of the resource. */ readonly applicationId: pulumi.Output; /** * ApplicationVersion ID. */ readonly applicationVersionId: 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 JarApplicationVersion FileInfo. */ readonly fileInfos: 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; /** * The path to the jar file to upload. */ readonly source: pulumi.Output; /** * The sha256 checksum of the jar file to upload. */ readonly sourceChecksum: pulumi.Output; /** * Version number. */ readonly version: pulumi.Output; /** * Create a FlinkJarApplicationVersion 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: FlinkJarApplicationVersionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FlinkJarApplicationVersion resources. */ export interface FlinkJarApplicationVersionState { /** * Application Id. Changing this property forces recreation of the resource. */ applicationId?: pulumi.Input; /** * ApplicationVersion ID. */ applicationVersionId?: pulumi.Input; /** * 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 JarApplicationVersion FileInfo. */ fileInfos?: pulumi.Input[] | undefined>; /** * 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; /** * The path to the jar file to upload. */ source?: pulumi.Input; /** * The sha256 checksum of the jar file to upload. */ sourceChecksum?: pulumi.Input; /** * Version number. */ version?: pulumi.Input; } /** * The set of arguments for constructing a FlinkJarApplicationVersion resource. */ export interface FlinkJarApplicationVersionArgs { /** * Application Id. Changing this property forces recreation of the resource. */ applicationId: 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; /** * The path to the jar file to upload. */ source: pulumi.Input; } //# sourceMappingURL=flinkJarApplicationVersion.d.ts.map