aiven.FlinkJarApplicationDeployment
Explore with Pulumi AI
Creates and manages the deployment of an Aiven for Apache Flink® application.
This resource is in the beta stage and may change without notice. Set
the PROVIDER_AIVEN_ENABLE_BETA
environment variable to use the resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const example = new aiven.Flink("example", {
project: exampleAivenProject.project,
serviceName: "example-flink-service",
cloudName: "google-europe-west1",
plan: "business-4",
maintenanceWindowDow: "monday",
maintenanceWindowTime: "04:00:00",
flinkUserConfig: {
customCode: true,
},
});
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 pulumi
import pulumi_aiven as aiven
example = aiven.Flink("example",
project=example_aiven_project["project"],
service_name="example-flink-service",
cloud_name="google-europe-west1",
plan="business-4",
maintenance_window_dow="monday",
maintenance_window_time="04:00:00",
flink_user_config={
"custom_code": True,
})
example_flink_jar_application = aiven.FlinkJarApplication("example",
project=example.project,
service_name=example.service_name,
name="example-app-jar")
example_flink_jar_application_version = aiven.FlinkJarApplicationVersion("example",
project=example.project,
service_name=example.service_name,
application_id=example_flink_jar_application.application_id,
source="./example.jar")
example_flink_jar_application_deployment = aiven.FlinkJarApplicationDeployment("example",
project=example.project,
service_name=example.service_name,
application_id=example_flink_jar_application.application_id,
version_id=example_flink_jar_application_version.application_version_id)
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := aiven.NewFlink(ctx, "example", &aiven.FlinkArgs{
Project: pulumi.Any(exampleAivenProject.Project),
ServiceName: pulumi.String("example-flink-service"),
CloudName: pulumi.String("google-europe-west1"),
Plan: pulumi.String("business-4"),
MaintenanceWindowDow: pulumi.String("monday"),
MaintenanceWindowTime: pulumi.String("04:00:00"),
FlinkUserConfig: &aiven.FlinkFlinkUserConfigArgs{
CustomCode: pulumi.Bool(true),
},
})
if err != nil {
return err
}
exampleFlinkJarApplication, err := aiven.NewFlinkJarApplication(ctx, "example", &aiven.FlinkJarApplicationArgs{
Project: example.Project,
ServiceName: example.ServiceName,
Name: pulumi.String("example-app-jar"),
})
if err != nil {
return err
}
exampleFlinkJarApplicationVersion, err := aiven.NewFlinkJarApplicationVersion(ctx, "example", &aiven.FlinkJarApplicationVersionArgs{
Project: example.Project,
ServiceName: example.ServiceName,
ApplicationId: exampleFlinkJarApplication.ApplicationId,
Source: pulumi.String("./example.jar"),
})
if err != nil {
return err
}
_, err = aiven.NewFlinkJarApplicationDeployment(ctx, "example", &aiven.FlinkJarApplicationDeploymentArgs{
Project: example.Project,
ServiceName: example.ServiceName,
ApplicationId: exampleFlinkJarApplication.ApplicationId,
VersionId: exampleFlinkJarApplicationVersion.ApplicationVersionId,
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var example = new Aiven.Flink("example", new()
{
Project = exampleAivenProject.Project,
ServiceName = "example-flink-service",
CloudName = "google-europe-west1",
Plan = "business-4",
MaintenanceWindowDow = "monday",
MaintenanceWindowTime = "04:00:00",
FlinkUserConfig = new Aiven.Inputs.FlinkFlinkUserConfigArgs
{
CustomCode = true,
},
});
var exampleFlinkJarApplication = new Aiven.FlinkJarApplication("example", new()
{
Project = example.Project,
ServiceName = example.ServiceName,
Name = "example-app-jar",
});
var exampleFlinkJarApplicationVersion = new Aiven.FlinkJarApplicationVersion("example", new()
{
Project = example.Project,
ServiceName = example.ServiceName,
ApplicationId = exampleFlinkJarApplication.ApplicationId,
Source = "./example.jar",
});
var exampleFlinkJarApplicationDeployment = new Aiven.FlinkJarApplicationDeployment("example", new()
{
Project = example.Project,
ServiceName = example.ServiceName,
ApplicationId = exampleFlinkJarApplication.ApplicationId,
VersionId = exampleFlinkJarApplicationVersion.ApplicationVersionId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.Flink;
import com.pulumi.aiven.FlinkArgs;
import com.pulumi.aiven.inputs.FlinkFlinkUserConfigArgs;
import com.pulumi.aiven.FlinkJarApplication;
import com.pulumi.aiven.FlinkJarApplicationArgs;
import com.pulumi.aiven.FlinkJarApplicationVersion;
import com.pulumi.aiven.FlinkJarApplicationVersionArgs;
import com.pulumi.aiven.FlinkJarApplicationDeployment;
import com.pulumi.aiven.FlinkJarApplicationDeploymentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Flink("example", FlinkArgs.builder()
.project(exampleAivenProject.project())
.serviceName("example-flink-service")
.cloudName("google-europe-west1")
.plan("business-4")
.maintenanceWindowDow("monday")
.maintenanceWindowTime("04:00:00")
.flinkUserConfig(FlinkFlinkUserConfigArgs.builder()
.customCode(true)
.build())
.build());
var exampleFlinkJarApplication = new FlinkJarApplication("exampleFlinkJarApplication", FlinkJarApplicationArgs.builder()
.project(example.project())
.serviceName(example.serviceName())
.name("example-app-jar")
.build());
var exampleFlinkJarApplicationVersion = new FlinkJarApplicationVersion("exampleFlinkJarApplicationVersion", FlinkJarApplicationVersionArgs.builder()
.project(example.project())
.serviceName(example.serviceName())
.applicationId(exampleFlinkJarApplication.applicationId())
.source("./example.jar")
.build());
var exampleFlinkJarApplicationDeployment = new FlinkJarApplicationDeployment("exampleFlinkJarApplicationDeployment", FlinkJarApplicationDeploymentArgs.builder()
.project(example.project())
.serviceName(example.serviceName())
.applicationId(exampleFlinkJarApplication.applicationId())
.versionId(exampleFlinkJarApplicationVersion.applicationVersionId())
.build());
}
}
resources:
example:
type: aiven:Flink
properties:
project: ${exampleAivenProject.project}
serviceName: example-flink-service
cloudName: google-europe-west1
plan: business-4
maintenanceWindowDow: monday
maintenanceWindowTime: 04:00:00
flinkUserConfig:
customCode: true
exampleFlinkJarApplication:
type: aiven:FlinkJarApplication
name: example
properties:
project: ${example.project}
serviceName: ${example.serviceName}
name: example-app-jar
exampleFlinkJarApplicationVersion:
type: aiven:FlinkJarApplicationVersion
name: example
properties:
project: ${example.project}
serviceName: ${example.serviceName}
applicationId: ${exampleFlinkJarApplication.applicationId}
source: ./example.jar
exampleFlinkJarApplicationDeployment:
type: aiven:FlinkJarApplicationDeployment
name: example
properties:
project: ${example.project}
serviceName: ${example.serviceName}
applicationId: ${exampleFlinkJarApplication.applicationId}
versionId: ${exampleFlinkJarApplicationVersion.applicationVersionId}
Create FlinkJarApplicationDeployment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FlinkJarApplicationDeployment(name: string, args: FlinkJarApplicationDeploymentArgs, opts?: CustomResourceOptions);
@overload
def FlinkJarApplicationDeployment(resource_name: str,
args: FlinkJarApplicationDeploymentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FlinkJarApplicationDeployment(resource_name: str,
opts: Optional[ResourceOptions] = None,
application_id: Optional[str] = None,
project: Optional[str] = None,
service_name: Optional[str] = None,
version_id: Optional[str] = None,
entry_class: Optional[str] = None,
parallelism: Optional[int] = None,
program_args: Optional[Sequence[str]] = None,
restart_enabled: Optional[bool] = None,
starting_savepoint: Optional[str] = None)
func NewFlinkJarApplicationDeployment(ctx *Context, name string, args FlinkJarApplicationDeploymentArgs, opts ...ResourceOption) (*FlinkJarApplicationDeployment, error)
public FlinkJarApplicationDeployment(string name, FlinkJarApplicationDeploymentArgs args, CustomResourceOptions? opts = null)
public FlinkJarApplicationDeployment(String name, FlinkJarApplicationDeploymentArgs args)
public FlinkJarApplicationDeployment(String name, FlinkJarApplicationDeploymentArgs args, CustomResourceOptions options)
type: aiven:FlinkJarApplicationDeployment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FlinkJarApplicationDeploymentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FlinkJarApplicationDeploymentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FlinkJarApplicationDeploymentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FlinkJarApplicationDeploymentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FlinkJarApplicationDeploymentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var flinkJarApplicationDeploymentResource = new Aiven.FlinkJarApplicationDeployment("flinkJarApplicationDeploymentResource", new()
{
ApplicationId = "string",
Project = "string",
ServiceName = "string",
VersionId = "string",
EntryClass = "string",
Parallelism = 0,
ProgramArgs = new[]
{
"string",
},
RestartEnabled = false,
StartingSavepoint = "string",
});
example, err := aiven.NewFlinkJarApplicationDeployment(ctx, "flinkJarApplicationDeploymentResource", &aiven.FlinkJarApplicationDeploymentArgs{
ApplicationId: pulumi.String("string"),
Project: pulumi.String("string"),
ServiceName: pulumi.String("string"),
VersionId: pulumi.String("string"),
EntryClass: pulumi.String("string"),
Parallelism: pulumi.Int(0),
ProgramArgs: pulumi.StringArray{
pulumi.String("string"),
},
RestartEnabled: pulumi.Bool(false),
StartingSavepoint: pulumi.String("string"),
})
var flinkJarApplicationDeploymentResource = new FlinkJarApplicationDeployment("flinkJarApplicationDeploymentResource", FlinkJarApplicationDeploymentArgs.builder()
.applicationId("string")
.project("string")
.serviceName("string")
.versionId("string")
.entryClass("string")
.parallelism(0)
.programArgs("string")
.restartEnabled(false)
.startingSavepoint("string")
.build());
flink_jar_application_deployment_resource = aiven.FlinkJarApplicationDeployment("flinkJarApplicationDeploymentResource",
application_id="string",
project="string",
service_name="string",
version_id="string",
entry_class="string",
parallelism=0,
program_args=["string"],
restart_enabled=False,
starting_savepoint="string")
const flinkJarApplicationDeploymentResource = new aiven.FlinkJarApplicationDeployment("flinkJarApplicationDeploymentResource", {
applicationId: "string",
project: "string",
serviceName: "string",
versionId: "string",
entryClass: "string",
parallelism: 0,
programArgs: ["string"],
restartEnabled: false,
startingSavepoint: "string",
});
type: aiven:FlinkJarApplicationDeployment
properties:
applicationId: string
entryClass: string
parallelism: 0
programArgs:
- string
project: string
restartEnabled: false
serviceName: string
startingSavepoint: string
versionId: string
FlinkJarApplicationDeployment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FlinkJarApplicationDeployment resource accepts the following input properties:
- Application
Id string - Application Id. Changing this property forces recreation of the resource.
- Project string
- Project name. Changing this property forces recreation of the resource.
- Service
Name string - Service name. Changing this property forces recreation of the resource.
- Version
Id string - ApplicationVersion ID. Maximum length:
36
. Changing this property forces recreation of the resource. - Entry
Class string - The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length:
128
. - Parallelism int
- 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 numberoftask_slots), or every new job created will fail.
- Program
Args List<string> - Arguments to pass during Flink job submission through the programArgsList parameter.
- Restart
Enabled bool - Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
- Starting
Savepoint string - Job savepoint. Maximum length:
2048
.
- Application
Id string - Application Id. Changing this property forces recreation of the resource.
- Project string
- Project name. Changing this property forces recreation of the resource.
- Service
Name string - Service name. Changing this property forces recreation of the resource.
- Version
Id string - ApplicationVersion ID. Maximum length:
36
. Changing this property forces recreation of the resource. - Entry
Class string - The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length:
128
. - Parallelism int
- 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 numberoftask_slots), or every new job created will fail.
- Program
Args []string - Arguments to pass during Flink job submission through the programArgsList parameter.
- Restart
Enabled bool - Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
- Starting
Savepoint string - Job savepoint. Maximum length:
2048
.
- application
Id String - Application Id. Changing this property forces recreation of the resource.
- project String
- Project name. Changing this property forces recreation of the resource.
- service
Name String - Service name. Changing this property forces recreation of the resource.
- version
Id String - ApplicationVersion ID. Maximum length:
36
. Changing this property forces recreation of the resource. - entry
Class String - The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length:
128
. - parallelism Integer
- 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 numberoftask_slots), or every new job created will fail.
- program
Args List<String> - Arguments to pass during Flink job submission through the programArgsList parameter.
- restart
Enabled Boolean - Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
- starting
Savepoint String - Job savepoint. Maximum length:
2048
.
- application
Id string - Application Id. Changing this property forces recreation of the resource.
- project string
- Project name. Changing this property forces recreation of the resource.
- service
Name string - Service name. Changing this property forces recreation of the resource.
- version
Id string - ApplicationVersion ID. Maximum length:
36
. Changing this property forces recreation of the resource. - entry
Class string - The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length:
128
. - parallelism number
- 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 numberoftask_slots), or every new job created will fail.
- program
Args string[] - Arguments to pass during Flink job submission through the programArgsList parameter.
- restart
Enabled boolean - Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
- starting
Savepoint string - Job savepoint. Maximum length:
2048
.
- application_
id str - Application Id. Changing this property forces recreation of the resource.
- project str
- Project name. Changing this property forces recreation of the resource.
- service_
name str - Service name. Changing this property forces recreation of the resource.
- version_
id str - ApplicationVersion ID. Maximum length:
36
. Changing this property forces recreation of the resource. - entry_
class str - The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length:
128
. - parallelism int
- 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 numberoftask_slots), or every new job created will fail.
- program_
args Sequence[str] - Arguments to pass during Flink job submission through the programArgsList parameter.
- restart_
enabled bool - Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
- starting_
savepoint str - Job savepoint. Maximum length:
2048
.
- application
Id String - Application Id. Changing this property forces recreation of the resource.
- project String
- Project name. Changing this property forces recreation of the resource.
- service
Name String - Service name. Changing this property forces recreation of the resource.
- version
Id String - ApplicationVersion ID. Maximum length:
36
. Changing this property forces recreation of the resource. - entry
Class String - The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length:
128
. - parallelism Number
- 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 numberoftask_slots), or every new job created will fail.
- program
Args List<String> - Arguments to pass during Flink job submission through the programArgsList parameter.
- restart
Enabled Boolean - Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
- starting
Savepoint String - Job savepoint. Maximum length:
2048
.
Outputs
All input properties are implicitly available as output properties. Additionally, the FlinkJarApplicationDeployment resource produces the following output properties:
- Created
At string - The creation timestamp of this entity in ISO 8601 format, always in UTC.
- Created
By string - The creator of this entity.
- Deployment
Id string - Deployment ID.
- Error
Msg string - Error message describing what caused deployment to fail.
- Id string
- The provider-assigned unique ID for this managed resource.
- Job
Id string - Job ID.
- Last
Savepoint string - Job savepoint.
- Status string
- 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
andSUSPENDED
.
- Created
At string - The creation timestamp of this entity in ISO 8601 format, always in UTC.
- Created
By string - The creator of this entity.
- Deployment
Id string - Deployment ID.
- Error
Msg string - Error message describing what caused deployment to fail.
- Id string
- The provider-assigned unique ID for this managed resource.
- Job
Id string - Job ID.
- Last
Savepoint string - Job savepoint.
- Status string
- 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
andSUSPENDED
.
- created
At String - The creation timestamp of this entity in ISO 8601 format, always in UTC.
- created
By String - The creator of this entity.
- deployment
Id String - Deployment ID.
- error
Msg String - Error message describing what caused deployment to fail.
- id String
- The provider-assigned unique ID for this managed resource.
- job
Id String - Job ID.
- last
Savepoint String - Job savepoint.
- status String
- 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
andSUSPENDED
.
- created
At string - The creation timestamp of this entity in ISO 8601 format, always in UTC.
- created
By string - The creator of this entity.
- deployment
Id string - Deployment ID.
- error
Msg string - Error message describing what caused deployment to fail.
- id string
- The provider-assigned unique ID for this managed resource.
- job
Id string - Job ID.
- last
Savepoint string - Job savepoint.
- status string
- 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
andSUSPENDED
.
- created_
at str - The creation timestamp of this entity in ISO 8601 format, always in UTC.
- created_
by str - The creator of this entity.
- deployment_
id str - Deployment ID.
- error_
msg str - Error message describing what caused deployment to fail.
- id str
- The provider-assigned unique ID for this managed resource.
- job_
id str - Job ID.
- last_
savepoint str - Job savepoint.
- status str
- 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
andSUSPENDED
.
- created
At String - The creation timestamp of this entity in ISO 8601 format, always in UTC.
- created
By String - The creator of this entity.
- deployment
Id String - Deployment ID.
- error
Msg String - Error message describing what caused deployment to fail.
- id String
- The provider-assigned unique ID for this managed resource.
- job
Id String - Job ID.
- last
Savepoint String - Job savepoint.
- status String
- 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
andSUSPENDED
.
Look up Existing FlinkJarApplicationDeployment Resource
Get an existing FlinkJarApplicationDeployment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: FlinkJarApplicationDeploymentState, opts?: CustomResourceOptions): FlinkJarApplicationDeployment
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
application_id: Optional[str] = None,
created_at: Optional[str] = None,
created_by: Optional[str] = None,
deployment_id: Optional[str] = None,
entry_class: Optional[str] = None,
error_msg: Optional[str] = None,
job_id: Optional[str] = None,
last_savepoint: Optional[str] = None,
parallelism: Optional[int] = None,
program_args: Optional[Sequence[str]] = None,
project: Optional[str] = None,
restart_enabled: Optional[bool] = None,
service_name: Optional[str] = None,
starting_savepoint: Optional[str] = None,
status: Optional[str] = None,
version_id: Optional[str] = None) -> FlinkJarApplicationDeployment
func GetFlinkJarApplicationDeployment(ctx *Context, name string, id IDInput, state *FlinkJarApplicationDeploymentState, opts ...ResourceOption) (*FlinkJarApplicationDeployment, error)
public static FlinkJarApplicationDeployment Get(string name, Input<string> id, FlinkJarApplicationDeploymentState? state, CustomResourceOptions? opts = null)
public static FlinkJarApplicationDeployment get(String name, Output<String> id, FlinkJarApplicationDeploymentState state, CustomResourceOptions options)
resources: _: type: aiven:FlinkJarApplicationDeployment get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Application
Id string - Application Id. Changing this property forces recreation of the resource.
- Created
At string - The creation timestamp of this entity in ISO 8601 format, always in UTC.
- Created
By string - The creator of this entity.
- Deployment
Id string - Deployment ID.
- Entry
Class string - The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length:
128
. - Error
Msg string - Error message describing what caused deployment to fail.
- Job
Id string - Job ID.
- Last
Savepoint string - Job savepoint.
- Parallelism int
- 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 numberoftask_slots), or every new job created will fail.
- Program
Args List<string> - Arguments to pass during Flink job submission through the programArgsList parameter.
- Project string
- Project name. Changing this property forces recreation of the resource.
- Restart
Enabled bool - Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
- Service
Name string - Service name. Changing this property forces recreation of the resource.
- Starting
Savepoint string - Job savepoint. Maximum length:
2048
. - Status string
- 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
andSUSPENDED
. - Version
Id string - ApplicationVersion ID. Maximum length:
36
. Changing this property forces recreation of the resource.
- Application
Id string - Application Id. Changing this property forces recreation of the resource.
- Created
At string - The creation timestamp of this entity in ISO 8601 format, always in UTC.
- Created
By string - The creator of this entity.
- Deployment
Id string - Deployment ID.
- Entry
Class string - The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length:
128
. - Error
Msg string - Error message describing what caused deployment to fail.
- Job
Id string - Job ID.
- Last
Savepoint string - Job savepoint.
- Parallelism int
- 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 numberoftask_slots), or every new job created will fail.
- Program
Args []string - Arguments to pass during Flink job submission through the programArgsList parameter.
- Project string
- Project name. Changing this property forces recreation of the resource.
- Restart
Enabled bool - Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
- Service
Name string - Service name. Changing this property forces recreation of the resource.
- Starting
Savepoint string - Job savepoint. Maximum length:
2048
. - Status string
- 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
andSUSPENDED
. - Version
Id string - ApplicationVersion ID. Maximum length:
36
. Changing this property forces recreation of the resource.
- application
Id String - Application Id. Changing this property forces recreation of the resource.
- created
At String - The creation timestamp of this entity in ISO 8601 format, always in UTC.
- created
By String - The creator of this entity.
- deployment
Id String - Deployment ID.
- entry
Class String - The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length:
128
. - error
Msg String - Error message describing what caused deployment to fail.
- job
Id String - Job ID.
- last
Savepoint String - Job savepoint.
- parallelism Integer
- 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 numberoftask_slots), or every new job created will fail.
- program
Args List<String> - Arguments to pass during Flink job submission through the programArgsList parameter.
- project String
- Project name. Changing this property forces recreation of the resource.
- restart
Enabled Boolean - Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
- service
Name String - Service name. Changing this property forces recreation of the resource.
- starting
Savepoint String - Job savepoint. Maximum length:
2048
. - status String
- 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
andSUSPENDED
. - version
Id String - ApplicationVersion ID. Maximum length:
36
. Changing this property forces recreation of the resource.
- application
Id string - Application Id. Changing this property forces recreation of the resource.
- created
At string - The creation timestamp of this entity in ISO 8601 format, always in UTC.
- created
By string - The creator of this entity.
- deployment
Id string - Deployment ID.
- entry
Class string - The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length:
128
. - error
Msg string - Error message describing what caused deployment to fail.
- job
Id string - Job ID.
- last
Savepoint string - Job savepoint.
- parallelism number
- 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 numberoftask_slots), or every new job created will fail.
- program
Args string[] - Arguments to pass during Flink job submission through the programArgsList parameter.
- project string
- Project name. Changing this property forces recreation of the resource.
- restart
Enabled boolean - Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
- service
Name string - Service name. Changing this property forces recreation of the resource.
- starting
Savepoint string - Job savepoint. Maximum length:
2048
. - status string
- 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
andSUSPENDED
. - version
Id string - ApplicationVersion ID. Maximum length:
36
. Changing this property forces recreation of the resource.
- application_
id str - Application Id. Changing this property forces recreation of the resource.
- created_
at str - The creation timestamp of this entity in ISO 8601 format, always in UTC.
- created_
by str - The creator of this entity.
- deployment_
id str - Deployment ID.
- entry_
class str - The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length:
128
. - error_
msg str - Error message describing what caused deployment to fail.
- job_
id str - Job ID.
- last_
savepoint str - Job savepoint.
- parallelism int
- 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 numberoftask_slots), or every new job created will fail.
- program_
args Sequence[str] - Arguments to pass during Flink job submission through the programArgsList parameter.
- project str
- Project name. Changing this property forces recreation of the resource.
- restart_
enabled bool - Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
- service_
name str - Service name. Changing this property forces recreation of the resource.
- starting_
savepoint str - Job savepoint. Maximum length:
2048
. - status str
- 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
andSUSPENDED
. - version_
id str - ApplicationVersion ID. Maximum length:
36
. Changing this property forces recreation of the resource.
- application
Id String - Application Id. Changing this property forces recreation of the resource.
- created
At String - The creation timestamp of this entity in ISO 8601 format, always in UTC.
- created
By String - The creator of this entity.
- deployment
Id String - Deployment ID.
- entry
Class String - The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length:
128
. - error
Msg String - Error message describing what caused deployment to fail.
- job
Id String - Job ID.
- last
Savepoint String - Job savepoint.
- parallelism Number
- 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 numberoftask_slots), or every new job created will fail.
- program
Args List<String> - Arguments to pass during Flink job submission through the programArgsList parameter.
- project String
- Project name. Changing this property forces recreation of the resource.
- restart
Enabled Boolean - Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
- service
Name String - Service name. Changing this property forces recreation of the resource.
- starting
Savepoint String - Job savepoint. Maximum length:
2048
. - status String
- 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
andSUSPENDED
. - version
Id String - ApplicationVersion ID. Maximum length:
36
. Changing this property forces recreation of the resource.
Import
$ pulumi import aiven:index/flinkJarApplicationDeployment:FlinkJarApplicationDeployment example PROJECT/SERVICE_NAME/APPLICATION_ID/DEPLOYMENT_ID
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aiven
Terraform Provider.