import * as pulumi from "@pulumi/pulumi"; /** * Creates and manages the deployment of an Aiven for Apache FlinkĀ® application. 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", * }); * const exampleFlinkJarApplicationDeployment = new aiven.FlinkJarApplicationDeployment("example", { * project: example.project, * serviceName: example.serviceName, * applicationId: exampleFlinkJarApplication.applicationId, * versionId: exampleFlinkJarApplicationVersion.applicationVersionId, * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/flinkJarApplicationDeployment:FlinkJarApplicationDeployment example PROJECT/SERVICE_NAME/APPLICATION_ID/DEPLOYMENT_ID * ``` */ export declare class FlinkJarApplicationDeployment extends pulumi.CustomResource { /** * Get an existing FlinkJarApplicationDeployment 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?: FlinkJarApplicationDeploymentState, opts?: pulumi.CustomResourceOptions): FlinkJarApplicationDeployment; /** * Returns true if the given object is an instance of FlinkJarApplicationDeployment. 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 FlinkJarApplicationDeployment; /** * Application Id. Changing this property forces recreation of the resource. */ readonly applicationId: 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; /** * Deployment ID. */ readonly deploymentId: pulumi.Output; /** * The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: `128`. */ readonly entryClass: pulumi.Output; /** * Error message describing what caused deployment to fail. */ readonly errorMsg: pulumi.Output; /** * Job ID. */ readonly jobId: pulumi.Output; /** * Job savepoint. */ readonly lastSavepoint: pulumi.Output; /** * Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x number*of*task_slots), or every new job created will fail. */ readonly parallelism: pulumi.Output; /** * Arguments to pass during Flink job submission through the programArgsList parameter. */ readonly programArgs: pulumi.Output; /** * Project name. Changing this property forces recreation of the resource. */ readonly project: pulumi.Output; /** * Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource. */ readonly restartEnabled: pulumi.Output; /** * Service name. Changing this property forces recreation of the resource. */ readonly serviceName: pulumi.Output; /** * Job savepoint. Maximum length: `2048`. */ readonly startingSavepoint: pulumi.Output; /** * Deployment status. The possible values are `CANCELED`, `CANCELLING`, `CANCELLING_REQUESTED`, `CREATED`, `DELETE_REQUESTED`, `DELETING`, `FAILED`, `FAILING`, `FINISHED`, `INITIALIZING`, `RECONCILING`, `RESTARTING`, `RUNNING`, `SAVING`, `SAVING_AND_STOP`, `SAVING_AND_STOP_REQUESTED` and `SUSPENDED`. */ readonly status: pulumi.Output; /** * ApplicationVersion ID. Maximum length: `36`. Changing this property forces recreation of the resource. */ readonly versionId: pulumi.Output; /** * Create a FlinkJarApplicationDeployment 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: FlinkJarApplicationDeploymentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FlinkJarApplicationDeployment resources. */ export interface FlinkJarApplicationDeploymentState { /** * Application Id. Changing this property forces recreation of the resource. */ applicationId?: 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; /** * Deployment ID. */ deploymentId?: pulumi.Input; /** * The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: `128`. */ entryClass?: pulumi.Input; /** * Error message describing what caused deployment to fail. */ errorMsg?: pulumi.Input; /** * Job ID. */ jobId?: pulumi.Input; /** * Job savepoint. */ lastSavepoint?: pulumi.Input; /** * Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x number*of*task_slots), or every new job created will fail. */ parallelism?: pulumi.Input; /** * Arguments to pass during Flink job submission through the programArgsList parameter. */ programArgs?: pulumi.Input[] | undefined>; /** * Project name. Changing this property forces recreation of the resource. */ project?: pulumi.Input; /** * Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource. */ restartEnabled?: pulumi.Input; /** * Service name. Changing this property forces recreation of the resource. */ serviceName?: pulumi.Input; /** * Job savepoint. Maximum length: `2048`. */ startingSavepoint?: pulumi.Input; /** * Deployment status. The possible values are `CANCELED`, `CANCELLING`, `CANCELLING_REQUESTED`, `CREATED`, `DELETE_REQUESTED`, `DELETING`, `FAILED`, `FAILING`, `FINISHED`, `INITIALIZING`, `RECONCILING`, `RESTARTING`, `RUNNING`, `SAVING`, `SAVING_AND_STOP`, `SAVING_AND_STOP_REQUESTED` and `SUSPENDED`. */ status?: pulumi.Input; /** * ApplicationVersion ID. Maximum length: `36`. Changing this property forces recreation of the resource. */ versionId?: pulumi.Input; } /** * The set of arguments for constructing a FlinkJarApplicationDeployment resource. */ export interface FlinkJarApplicationDeploymentArgs { /** * Application Id. Changing this property forces recreation of the resource. */ applicationId: pulumi.Input; /** * The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: `128`. */ entryClass?: pulumi.Input; /** * Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x number*of*task_slots), or every new job created will fail. */ parallelism?: pulumi.Input; /** * Arguments to pass during Flink job submission through the programArgsList parameter. */ programArgs?: pulumi.Input[] | undefined>; /** * Project name. Changing this property forces recreation of the resource. */ project: pulumi.Input; /** * Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource. */ restartEnabled?: pulumi.Input; /** * Service name. Changing this property forces recreation of the resource. */ serviceName: pulumi.Input; /** * Job savepoint. Maximum length: `2048`. */ startingSavepoint?: pulumi.Input; /** * ApplicationVersion ID. Maximum length: `36`. Changing this property forces recreation of the resource. */ versionId: pulumi.Input; } //# sourceMappingURL=flinkJarApplicationDeployment.d.ts.map