1. Packages
  2. Aiven Provider
  3. API Docs
  4. getFlinkApplication
Viewing docs for Aiven v6.51.0
published on Tuesday, Mar 17, 2026 by Pulumi
aiven logo
Viewing docs for Aiven v6.51.0
published on Tuesday, Mar 17, 2026 by Pulumi

    Gets information about an Aiven for Apache Flink® application.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aiven from "@pulumi/aiven";
    
    const exampleApp = aiven.getFlinkApplication({
        project: exampleProject.project,
        serviceName: "example-flink-service",
        name: "example-app",
    });
    
    import pulumi
    import pulumi_aiven as aiven
    
    example_app = aiven.get_flink_application(project=example_project["project"],
        service_name="example-flink-service",
        name="example-app")
    
    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 {
    		_, err := aiven.LookupFlinkApplication(ctx, &aiven.LookupFlinkApplicationArgs{
    			Project:     exampleProject.Project,
    			ServiceName: "example-flink-service",
    			Name:        pulumi.StringRef("example-app"),
    		}, nil)
    		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 exampleApp = Aiven.GetFlinkApplication.Invoke(new()
        {
            Project = exampleProject.Project,
            ServiceName = "example-flink-service",
            Name = "example-app",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aiven.AivenFunctions;
    import com.pulumi.aiven.inputs.GetFlinkApplicationArgs;
    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) {
            final var exampleApp = AivenFunctions.getFlinkApplication(GetFlinkApplicationArgs.builder()
                .project(exampleProject.project())
                .serviceName("example-flink-service")
                .name("example-app")
                .build());
    
        }
    }
    
    variables:
      exampleApp:
        fn::invoke:
          function: aiven:getFlinkApplication
          arguments:
            project: ${exampleProject.project}
            serviceName: example-flink-service
            name: example-app
    

    Using getFlinkApplication

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getFlinkApplication(args: GetFlinkApplicationArgs, opts?: InvokeOptions): Promise<GetFlinkApplicationResult>
    function getFlinkApplicationOutput(args: GetFlinkApplicationOutputArgs, opts?: InvokeOptions): Output<GetFlinkApplicationResult>
    def get_flink_application(application_id: Optional[str] = None,
                              name: Optional[str] = None,
                              project: Optional[str] = None,
                              service_name: Optional[str] = None,
                              timeouts: Optional[GetFlinkApplicationTimeouts] = None,
                              opts: Optional[InvokeOptions] = None) -> GetFlinkApplicationResult
    def get_flink_application_output(application_id: Optional[pulumi.Input[str]] = None,
                              name: Optional[pulumi.Input[str]] = None,
                              project: Optional[pulumi.Input[str]] = None,
                              service_name: Optional[pulumi.Input[str]] = None,
                              timeouts: Optional[pulumi.Input[GetFlinkApplicationTimeoutsArgs]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetFlinkApplicationResult]
    func LookupFlinkApplication(ctx *Context, args *LookupFlinkApplicationArgs, opts ...InvokeOption) (*LookupFlinkApplicationResult, error)
    func LookupFlinkApplicationOutput(ctx *Context, args *LookupFlinkApplicationOutputArgs, opts ...InvokeOption) LookupFlinkApplicationResultOutput

    > Note: This function is named LookupFlinkApplication in the Go SDK.

    public static class GetFlinkApplication 
    {
        public static Task<GetFlinkApplicationResult> InvokeAsync(GetFlinkApplicationArgs args, InvokeOptions? opts = null)
        public static Output<GetFlinkApplicationResult> Invoke(GetFlinkApplicationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFlinkApplicationResult> getFlinkApplication(GetFlinkApplicationArgs args, InvokeOptions options)
    public static Output<GetFlinkApplicationResult> getFlinkApplication(GetFlinkApplicationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aiven:index/getFlinkApplication:getFlinkApplication
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Project string
    Project name.
    ServiceName string
    Service name.
    ApplicationId string
    Application ID. Exactly one of the fields must be specified: application_id or name.
    Name string
    Application name. Exactly one of the fields must be specified: application_id or name.
    Timeouts GetFlinkApplicationTimeouts
    Project string
    Project name.
    ServiceName string
    Service name.
    ApplicationId string
    Application ID. Exactly one of the fields must be specified: application_id or name.
    Name string
    Application name. Exactly one of the fields must be specified: application_id or name.
    Timeouts GetFlinkApplicationTimeouts
    project String
    Project name.
    serviceName String
    Service name.
    applicationId String
    Application ID. Exactly one of the fields must be specified: application_id or name.
    name String
    Application name. Exactly one of the fields must be specified: application_id or name.
    timeouts GetFlinkApplicationTimeouts
    project string
    Project name.
    serviceName string
    Service name.
    applicationId string
    Application ID. Exactly one of the fields must be specified: application_id or name.
    name string
    Application name. Exactly one of the fields must be specified: application_id or name.
    timeouts GetFlinkApplicationTimeouts
    project str
    Project name.
    service_name str
    Service name.
    application_id str
    Application ID. Exactly one of the fields must be specified: application_id or name.
    name str
    Application name. Exactly one of the fields must be specified: application_id or name.
    timeouts GetFlinkApplicationTimeouts
    project String
    Project name.
    serviceName String
    Service name.
    applicationId String
    Application ID. Exactly one of the fields must be specified: application_id or name.
    name String
    Application name. Exactly one of the fields must be specified: application_id or name.
    timeouts Property Map

    getFlinkApplication Result

    The following output properties are available:

    ApplicationId string
    Application ID. Exactly one of the fields must be specified: application_id or name.
    CreatedAt string
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    CreatedBy string
    The creator of this entity.
    Id string
    Resource ID composed as: project/service_name/application_id.
    Name string
    Application name. Exactly one of the fields must be specified: application_id or name.
    Project string
    Project name.
    ServiceName string
    Service name.
    UpdatedAt string
    The update timestamp of this entity in ISO 8601 format, always in UTC.
    UpdatedBy string
    The latest updater of this entity.
    Timeouts GetFlinkApplicationTimeouts
    ApplicationId string
    Application ID. Exactly one of the fields must be specified: application_id or name.
    CreatedAt string
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    CreatedBy string
    The creator of this entity.
    Id string
    Resource ID composed as: project/service_name/application_id.
    Name string
    Application name. Exactly one of the fields must be specified: application_id or name.
    Project string
    Project name.
    ServiceName string
    Service name.
    UpdatedAt string
    The update timestamp of this entity in ISO 8601 format, always in UTC.
    UpdatedBy string
    The latest updater of this entity.
    Timeouts GetFlinkApplicationTimeouts
    applicationId String
    Application ID. Exactly one of the fields must be specified: application_id or name.
    createdAt String
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    createdBy String
    The creator of this entity.
    id String
    Resource ID composed as: project/service_name/application_id.
    name String
    Application name. Exactly one of the fields must be specified: application_id or name.
    project String
    Project name.
    serviceName String
    Service name.
    updatedAt String
    The update timestamp of this entity in ISO 8601 format, always in UTC.
    updatedBy String
    The latest updater of this entity.
    timeouts GetFlinkApplicationTimeouts
    applicationId string
    Application ID. Exactly one of the fields must be specified: application_id or name.
    createdAt string
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    createdBy string
    The creator of this entity.
    id string
    Resource ID composed as: project/service_name/application_id.
    name string
    Application name. Exactly one of the fields must be specified: application_id or name.
    project string
    Project name.
    serviceName string
    Service name.
    updatedAt string
    The update timestamp of this entity in ISO 8601 format, always in UTC.
    updatedBy string
    The latest updater of this entity.
    timeouts GetFlinkApplicationTimeouts
    application_id str
    Application ID. Exactly one of the fields must be specified: application_id or name.
    created_at str
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    created_by str
    The creator of this entity.
    id str
    Resource ID composed as: project/service_name/application_id.
    name str
    Application name. Exactly one of the fields must be specified: application_id or name.
    project str
    Project name.
    service_name str
    Service name.
    updated_at str
    The update timestamp of this entity in ISO 8601 format, always in UTC.
    updated_by str
    The latest updater of this entity.
    timeouts GetFlinkApplicationTimeouts
    applicationId String
    Application ID. Exactly one of the fields must be specified: application_id or name.
    createdAt String
    The creation timestamp of this entity in ISO 8601 format, always in UTC.
    createdBy String
    The creator of this entity.
    id String
    Resource ID composed as: project/service_name/application_id.
    name String
    Application name. Exactly one of the fields must be specified: application_id or name.
    project String
    Project name.
    serviceName String
    Service name.
    updatedAt String
    The update timestamp of this entity in ISO 8601 format, always in UTC.
    updatedBy String
    The latest updater of this entity.
    timeouts Property Map

    Supporting Types

    GetFlinkApplicationTimeouts

    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Package Details

    Repository
    Aiven pulumi/pulumi-aiven
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aiven Terraform Provider.
    aiven logo
    Viewing docs for Aiven v6.51.0
    published on Tuesday, Mar 17, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.