1. Packages
  2. Aiven Provider
  3. API Docs
  4. getFlinkApplicationVersion
Aiven v6.28.0 published on Friday, Nov 15, 2024 by Pulumi

aiven.getFlinkApplicationVersion

Explore with Pulumi AI

aiven logo
Aiven v6.28.0 published on Friday, Nov 15, 2024 by Pulumi

    Gets information about an Aiven for Apache Flink® application version.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aiven from "@pulumi/aiven";
    
    const main = aiven.getFlinkApplicationVersion({
        project: exampleProject.project,
        serviceName: exampleFlink.serviceName,
        applicationId: exampleApp.applicationId,
        applicationVersionId: "d6e7f71c-cadf-49b5-a4ad-126c805fe684",
    });
    
    import pulumi
    import pulumi_aiven as aiven
    
    main = aiven.get_flink_application_version(project=example_project["project"],
        service_name=example_flink["serviceName"],
        application_id=example_app["applicationId"],
        application_version_id="d6e7f71c-cadf-49b5-a4ad-126c805fe684")
    
    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.LookupFlinkApplicationVersion(ctx, &aiven.LookupFlinkApplicationVersionArgs{
    			Project:              exampleProject.Project,
    			ServiceName:          exampleFlink.ServiceName,
    			ApplicationId:        exampleApp.ApplicationId,
    			ApplicationVersionId: "d6e7f71c-cadf-49b5-a4ad-126c805fe684",
    		}, 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 main = Aiven.GetFlinkApplicationVersion.Invoke(new()
        {
            Project = exampleProject.Project,
            ServiceName = exampleFlink.ServiceName,
            ApplicationId = exampleApp.ApplicationId,
            ApplicationVersionId = "d6e7f71c-cadf-49b5-a4ad-126c805fe684",
        });
    
    });
    
    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.GetFlinkApplicationVersionArgs;
    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 main = AivenFunctions.getFlinkApplicationVersion(GetFlinkApplicationVersionArgs.builder()
                .project(exampleProject.project())
                .serviceName(exampleFlink.serviceName())
                .applicationId(exampleApp.applicationId())
                .applicationVersionId("d6e7f71c-cadf-49b5-a4ad-126c805fe684")
                .build());
    
        }
    }
    
    variables:
      main:
        fn::invoke:
          Function: aiven:getFlinkApplicationVersion
          Arguments:
            project: ${exampleProject.project}
            serviceName: ${exampleFlink.serviceName}
            applicationId: ${exampleApp.applicationId}
            applicationVersionId: d6e7f71c-cadf-49b5-a4ad-126c805fe684
    

    Using getFlinkApplicationVersion

    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 getFlinkApplicationVersion(args: GetFlinkApplicationVersionArgs, opts?: InvokeOptions): Promise<GetFlinkApplicationVersionResult>
    function getFlinkApplicationVersionOutput(args: GetFlinkApplicationVersionOutputArgs, opts?: InvokeOptions): Output<GetFlinkApplicationVersionResult>
    def get_flink_application_version(application_id: Optional[str] = None,
                                      application_version_id: Optional[str] = None,
                                      project: Optional[str] = None,
                                      service_name: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetFlinkApplicationVersionResult
    def get_flink_application_version_output(application_id: Optional[pulumi.Input[str]] = None,
                                      application_version_id: Optional[pulumi.Input[str]] = None,
                                      project: Optional[pulumi.Input[str]] = None,
                                      service_name: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetFlinkApplicationVersionResult]
    func LookupFlinkApplicationVersion(ctx *Context, args *LookupFlinkApplicationVersionArgs, opts ...InvokeOption) (*LookupFlinkApplicationVersionResult, error)
    func LookupFlinkApplicationVersionOutput(ctx *Context, args *LookupFlinkApplicationVersionOutputArgs, opts ...InvokeOption) LookupFlinkApplicationVersionResultOutput

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

    public static class GetFlinkApplicationVersion 
    {
        public static Task<GetFlinkApplicationVersionResult> InvokeAsync(GetFlinkApplicationVersionArgs args, InvokeOptions? opts = null)
        public static Output<GetFlinkApplicationVersionResult> Invoke(GetFlinkApplicationVersionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFlinkApplicationVersionResult> getFlinkApplicationVersion(GetFlinkApplicationVersionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aiven:index/getFlinkApplicationVersion:getFlinkApplicationVersion
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ApplicationId string
    Application ID.
    ApplicationVersionId string
    Application version ID.
    Project string
    The name of 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
    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.
    ApplicationId string
    Application ID.
    ApplicationVersionId string
    Application version ID.
    Project string
    The name of 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
    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.
    applicationId String
    Application ID.
    applicationVersionId String
    Application version ID.
    project String
    The name of 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
    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.
    applicationId string
    Application ID.
    applicationVersionId string
    Application version ID.
    project string
    The name of 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
    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.
    application_id str
    Application ID.
    application_version_id str
    Application version ID.
    project str
    The name of 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
    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.
    applicationId String
    Application ID.
    applicationVersionId String
    Application version ID.
    project String
    The name of 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
    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.

    getFlinkApplicationVersion Result

    The following output properties are available:

    ApplicationId string
    Application ID.
    ApplicationVersionId string
    Application version ID.
    CreatedAt string
    Application version creation time.
    CreatedBy string
    The user who created the application.
    Id string
    The provider-assigned unique ID for this managed resource.
    Project string
    The name of 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
    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.
    Sink List<GetFlinkApplicationVersionSink>
    The sink table for the application.
    Sinks List<GetFlinkApplicationVersionSink>
    Application sinks
    Source List<GetFlinkApplicationVersionSource>
    The source table for the application.
    Sources List<GetFlinkApplicationVersionSource>
    Application sources
    Statement string
    Job SQL statement.
    Version int
    Application version number.
    ApplicationId string
    Application ID.
    ApplicationVersionId string
    Application version ID.
    CreatedAt string
    Application version creation time.
    CreatedBy string
    The user who created the application.
    Id string
    The provider-assigned unique ID for this managed resource.
    Project string
    The name of 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
    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.
    Sink []GetFlinkApplicationVersionSink
    The sink table for the application.
    Sinks []GetFlinkApplicationVersionSink
    Application sinks
    Source []GetFlinkApplicationVersionSource
    The source table for the application.
    Sources []GetFlinkApplicationVersionSource
    Application sources
    Statement string
    Job SQL statement.
    Version int
    Application version number.
    applicationId String
    Application ID.
    applicationVersionId String
    Application version ID.
    createdAt String
    Application version creation time.
    createdBy String
    The user who created the application.
    id String
    The provider-assigned unique ID for this managed resource.
    project String
    The name of 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
    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.
    sink List<GetFlinkApplicationVersionSink>
    The sink table for the application.
    sinks List<GetFlinkApplicationVersionSink>
    Application sinks
    source List<GetFlinkApplicationVersionSource>
    The source table for the application.
    sources List<GetFlinkApplicationVersionSource>
    Application sources
    statement String
    Job SQL statement.
    version Integer
    Application version number.
    applicationId string
    Application ID.
    applicationVersionId string
    Application version ID.
    createdAt string
    Application version creation time.
    createdBy string
    The user who created the application.
    id string
    The provider-assigned unique ID for this managed resource.
    project string
    The name of 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
    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.
    sink GetFlinkApplicationVersionSink[]
    The sink table for the application.
    sinks GetFlinkApplicationVersionSink[]
    Application sinks
    source GetFlinkApplicationVersionSource[]
    The source table for the application.
    sources GetFlinkApplicationVersionSource[]
    Application sources
    statement string
    Job SQL statement.
    version number
    Application version number.
    application_id str
    Application ID.
    application_version_id str
    Application version ID.
    created_at str
    Application version creation time.
    created_by str
    The user who created the application.
    id str
    The provider-assigned unique ID for this managed resource.
    project str
    The name of 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
    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.
    sink Sequence[GetFlinkApplicationVersionSink]
    The sink table for the application.
    sinks Sequence[GetFlinkApplicationVersionSink]
    Application sinks
    source Sequence[GetFlinkApplicationVersionSource]
    The source table for the application.
    sources Sequence[GetFlinkApplicationVersionSource]
    Application sources
    statement str
    Job SQL statement.
    version int
    Application version number.
    applicationId String
    Application ID.
    applicationVersionId String
    Application version ID.
    createdAt String
    Application version creation time.
    createdBy String
    The user who created the application.
    id String
    The provider-assigned unique ID for this managed resource.
    project String
    The name of 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
    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.
    sink List<Property Map>
    The sink table for the application.
    sinks List<Property Map>
    Application sinks
    source List<Property Map>
    The source table for the application.
    sources List<Property Map>
    Application sources
    statement String
    Job SQL statement.
    version Number
    Application version number.

    Supporting Types

    GetFlinkApplicationVersionSink

    CreateTable string
    The CREATE TABLE statement
    IntegrationId string
    The integration ID
    CreateTable string
    The CREATE TABLE statement
    IntegrationId string
    The integration ID
    createTable String
    The CREATE TABLE statement
    integrationId String
    The integration ID
    createTable string
    The CREATE TABLE statement
    integrationId string
    The integration ID
    create_table str
    The CREATE TABLE statement
    integration_id str
    The integration ID
    createTable String
    The CREATE TABLE statement
    integrationId String
    The integration ID

    GetFlinkApplicationVersionSource

    CreateTable string
    The CREATE TABLE statement
    IntegrationId string
    The integration ID
    CreateTable string
    The CREATE TABLE statement
    IntegrationId string
    The integration ID
    createTable String
    The CREATE TABLE statement
    integrationId String
    The integration ID
    createTable string
    The CREATE TABLE statement
    integrationId string
    The integration ID
    create_table str
    The CREATE TABLE statement
    integration_id str
    The integration ID
    createTable String
    The CREATE TABLE statement
    integrationId String
    The integration 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.28.0 published on Friday, Nov 15, 2024 by Pulumi