1. Packages
  2. Aiven
  3. API Docs
  4. FlinkApplicationDeployment
Aiven v6.13.0 published on Monday, Mar 25, 2024 by Pulumi

aiven.FlinkApplicationDeployment

Explore with Pulumi AI

aiven logo
Aiven v6.13.0 published on Monday, Mar 25, 2024 by Pulumi

    Create FlinkApplicationDeployment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FlinkApplicationDeployment(name: string, args: FlinkApplicationDeploymentArgs, opts?: CustomResourceOptions);
    @overload
    def FlinkApplicationDeployment(resource_name: str,
                                   args: FlinkApplicationDeploymentArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def FlinkApplicationDeployment(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,
                                   parallelism: Optional[int] = None,
                                   restart_enabled: Optional[bool] = None,
                                   starting_savepoint: Optional[str] = None)
    func NewFlinkApplicationDeployment(ctx *Context, name string, args FlinkApplicationDeploymentArgs, opts ...ResourceOption) (*FlinkApplicationDeployment, error)
    public FlinkApplicationDeployment(string name, FlinkApplicationDeploymentArgs args, CustomResourceOptions? opts = null)
    public FlinkApplicationDeployment(String name, FlinkApplicationDeploymentArgs args)
    public FlinkApplicationDeployment(String name, FlinkApplicationDeploymentArgs args, CustomResourceOptions options)
    
    type: aiven:FlinkApplicationDeployment
    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 FlinkApplicationDeploymentArgs
    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 FlinkApplicationDeploymentArgs
    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 FlinkApplicationDeploymentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FlinkApplicationDeploymentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FlinkApplicationDeploymentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var flinkApplicationDeploymentResource = new Aiven.FlinkApplicationDeployment("flinkApplicationDeploymentResource", new()
    {
        ApplicationId = "string",
        Project = "string",
        ServiceName = "string",
        VersionId = "string",
        Parallelism = 0,
        RestartEnabled = false,
        StartingSavepoint = "string",
    });
    
    example, err := aiven.NewFlinkApplicationDeployment(ctx, "flinkApplicationDeploymentResource", &aiven.FlinkApplicationDeploymentArgs{
    	ApplicationId:     pulumi.String("string"),
    	Project:           pulumi.String("string"),
    	ServiceName:       pulumi.String("string"),
    	VersionId:         pulumi.String("string"),
    	Parallelism:       pulumi.Int(0),
    	RestartEnabled:    pulumi.Bool(false),
    	StartingSavepoint: pulumi.String("string"),
    })
    
    var flinkApplicationDeploymentResource = new FlinkApplicationDeployment("flinkApplicationDeploymentResource", FlinkApplicationDeploymentArgs.builder()        
        .applicationId("string")
        .project("string")
        .serviceName("string")
        .versionId("string")
        .parallelism(0)
        .restartEnabled(false)
        .startingSavepoint("string")
        .build());
    
    flink_application_deployment_resource = aiven.FlinkApplicationDeployment("flinkApplicationDeploymentResource",
        application_id="string",
        project="string",
        service_name="string",
        version_id="string",
        parallelism=0,
        restart_enabled=False,
        starting_savepoint="string")
    
    const flinkApplicationDeploymentResource = new aiven.FlinkApplicationDeployment("flinkApplicationDeploymentResource", {
        applicationId: "string",
        project: "string",
        serviceName: "string",
        versionId: "string",
        parallelism: 0,
        restartEnabled: false,
        startingSavepoint: "string",
    });
    
    type: aiven:FlinkApplicationDeployment
    properties:
        applicationId: string
        parallelism: 0
        project: string
        restartEnabled: false
        serviceName: string
        startingSavepoint: string
        versionId: string
    

    FlinkApplicationDeployment Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The FlinkApplicationDeployment resource accepts the following input properties:

    ApplicationId string
    Application ID
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    ServiceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    VersionId string
    ApplicationVersion ID
    Parallelism int
    Flink Job parallelism
    RestartEnabled bool
    Specifies whether a Flink Job is restarted in case it fails
    StartingSavepoint string
    Job savepoint
    ApplicationId string
    Application ID
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    ServiceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    VersionId string
    ApplicationVersion ID
    Parallelism int
    Flink Job parallelism
    RestartEnabled bool
    Specifies whether a Flink Job is restarted in case it fails
    StartingSavepoint string
    Job savepoint
    applicationId String
    Application ID
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    serviceName String
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    versionId String
    ApplicationVersion ID
    parallelism Integer
    Flink Job parallelism
    restartEnabled Boolean
    Specifies whether a Flink Job is restarted in case it fails
    startingSavepoint String
    Job savepoint
    applicationId string
    Application ID
    project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    serviceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    versionId string
    ApplicationVersion ID
    parallelism number
    Flink Job parallelism
    restartEnabled boolean
    Specifies whether a Flink Job is restarted in case it fails
    startingSavepoint string
    Job savepoint
    application_id str
    Application ID
    project str
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    service_name str
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    version_id str
    ApplicationVersion ID
    parallelism int
    Flink Job parallelism
    restart_enabled bool
    Specifies whether a Flink Job is restarted in case it fails
    starting_savepoint str
    Job savepoint
    applicationId String
    Application ID
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    serviceName String
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    versionId String
    ApplicationVersion ID
    parallelism Number
    Flink Job parallelism
    restartEnabled Boolean
    Specifies whether a Flink Job is restarted in case it fails
    startingSavepoint String
    Job savepoint

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FlinkApplicationDeployment resource produces the following output properties:

    CreatedAt string
    Application deployment creation time
    CreatedBy string
    Application deployment creator
    Id string
    The provider-assigned unique ID for this managed resource.
    CreatedAt string
    Application deployment creation time
    CreatedBy string
    Application deployment creator
    Id string
    The provider-assigned unique ID for this managed resource.
    createdAt String
    Application deployment creation time
    createdBy String
    Application deployment creator
    id String
    The provider-assigned unique ID for this managed resource.
    createdAt string
    Application deployment creation time
    createdBy string
    Application deployment creator
    id string
    The provider-assigned unique ID for this managed resource.
    created_at str
    Application deployment creation time
    created_by str
    Application deployment creator
    id str
    The provider-assigned unique ID for this managed resource.
    createdAt String
    Application deployment creation time
    createdBy String
    Application deployment creator
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing FlinkApplicationDeployment Resource

    Get an existing FlinkApplicationDeployment 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?: FlinkApplicationDeploymentState, opts?: CustomResourceOptions): FlinkApplicationDeployment
    @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,
            parallelism: Optional[int] = None,
            project: Optional[str] = None,
            restart_enabled: Optional[bool] = None,
            service_name: Optional[str] = None,
            starting_savepoint: Optional[str] = None,
            version_id: Optional[str] = None) -> FlinkApplicationDeployment
    func GetFlinkApplicationDeployment(ctx *Context, name string, id IDInput, state *FlinkApplicationDeploymentState, opts ...ResourceOption) (*FlinkApplicationDeployment, error)
    public static FlinkApplicationDeployment Get(string name, Input<string> id, FlinkApplicationDeploymentState? state, CustomResourceOptions? opts = null)
    public static FlinkApplicationDeployment get(String name, Output<String> id, FlinkApplicationDeploymentState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    ApplicationId string
    Application ID
    CreatedAt string
    Application deployment creation time
    CreatedBy string
    Application deployment creator
    Parallelism int
    Flink Job parallelism
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    RestartEnabled bool
    Specifies whether a Flink Job is restarted in case it fails
    ServiceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    StartingSavepoint string
    Job savepoint
    VersionId string
    ApplicationVersion ID
    ApplicationId string
    Application ID
    CreatedAt string
    Application deployment creation time
    CreatedBy string
    Application deployment creator
    Parallelism int
    Flink Job parallelism
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    RestartEnabled bool
    Specifies whether a Flink Job is restarted in case it fails
    ServiceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    StartingSavepoint string
    Job savepoint
    VersionId string
    ApplicationVersion ID
    applicationId String
    Application ID
    createdAt String
    Application deployment creation time
    createdBy String
    Application deployment creator
    parallelism Integer
    Flink Job parallelism
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    restartEnabled Boolean
    Specifies whether a Flink Job is restarted in case it fails
    serviceName String
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    startingSavepoint String
    Job savepoint
    versionId String
    ApplicationVersion ID
    applicationId string
    Application ID
    createdAt string
    Application deployment creation time
    createdBy string
    Application deployment creator
    parallelism number
    Flink Job parallelism
    project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    restartEnabled boolean
    Specifies whether a Flink Job is restarted in case it fails
    serviceName string
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    startingSavepoint string
    Job savepoint
    versionId string
    ApplicationVersion ID
    application_id str
    Application ID
    created_at str
    Application deployment creation time
    created_by str
    Application deployment creator
    parallelism int
    Flink Job parallelism
    project str
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    restart_enabled bool
    Specifies whether a Flink Job is restarted in case it fails
    service_name str
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    starting_savepoint str
    Job savepoint
    version_id str
    ApplicationVersion ID
    applicationId String
    Application ID
    createdAt String
    Application deployment creation time
    createdBy String
    Application deployment creator
    parallelism Number
    Flink Job parallelism
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    restartEnabled Boolean
    Specifies whether a Flink Job is restarted in case it fails
    serviceName String
    Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    startingSavepoint String
    Job savepoint
    versionId String
    ApplicationVersion ID

    Package Details

    Repository
    Aiven pulumi/pulumi-aiven
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aiven Terraform Provider.
    aiven logo
    Aiven v6.13.0 published on Monday, Mar 25, 2024 by Pulumi