aiven.getFlinkApplication

The Flink Application data source provides information about the existing Aiven Flink Application.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Aiven = Pulumi.Aiven;

return await Deployment.RunAsync(() => 
{
    var app1 = Aiven.GetFlinkApplication.Invoke(new()
    {
        Project = data.Aiven_project.Pr1.Project,
        ServiceName = "<SERVICE_NAME>",
        Name = "<APPLICATION_NAME>",
    });

});
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:     data.Aiven_project.Pr1.Project,
			ServiceName: "<SERVICE_NAME>",
			Name:        "<APPLICATION_NAME>",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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 app1 = AivenFunctions.getFlinkApplication(GetFlinkApplicationArgs.builder()
            .project(data.aiven_project().pr1().project())
            .serviceName("<SERVICE_NAME>")
            .name("<APPLICATION_NAME>")
            .build());

    }
}
import pulumi
import pulumi_aiven as aiven

app1 = aiven.get_flink_application(project=data["aiven_project"]["pr1"]["project"],
    service_name="<SERVICE_NAME>",
    name="<APPLICATION_NAME>")
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";

const app1 = aiven.getFlinkApplication({
    project: data.aiven_project.pr1.project,
    serviceName: "<SERVICE_NAME>",
    name: "<APPLICATION_NAME>",
});
variables:
  app1:
    fn::invoke:
      Function: aiven:getFlinkApplication
      Arguments:
        project: ${data.aiven_project.pr1.project}
        serviceName: <SERVICE_NAME>
        name: <APPLICATION_NAME>

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(name: Optional[str] = None,
                          project: Optional[str] = None,
                          service_name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetFlinkApplicationResult
def get_flink_application_output(name: Optional[pulumi.Input[str]] = None,
                          project: Optional[pulumi.Input[str]] = None,
                          service_name: Optional[pulumi.Input[str]] = 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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aiven:index/getFlinkApplication:getFlinkApplication
  arguments:
    # arguments dictionary

The following arguments are supported:

Name string

Application name

Project string

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so 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. This property cannot be changed, doing so forces recreation of the resource.

Name string

Application name

Project string

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so 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. This property cannot be changed, doing so forces recreation of the resource.

name String

Application name

project String

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so 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. This property cannot be changed, doing so forces recreation of the resource.

name string

Application name

project string

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so 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. This property cannot be changed, doing so forces recreation of the resource.

name str

Application name

project str

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so 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. This property cannot be changed, doing so forces recreation of the resource.

name String

Application name

project String

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so 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. This property cannot be changed, doing so forces recreation of the resource.

getFlinkApplication Result

The following output properties are available:

ApplicationId string

Application ID

CreatedAt string

Application creation time

CreatedBy string

Application creator

Id string

The provider-assigned unique ID for this managed resource.

Name string

Application name

Project string

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so 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. This property cannot be changed, doing so forces recreation of the resource.

UpdatedAt string

Application update time

UpdatedBy string

Application updater

ApplicationId string

Application ID

CreatedAt string

Application creation time

CreatedBy string

Application creator

Id string

The provider-assigned unique ID for this managed resource.

Name string

Application name

Project string

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so 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. This property cannot be changed, doing so forces recreation of the resource.

UpdatedAt string

Application update time

UpdatedBy string

Application updater

applicationId String

Application ID

createdAt String

Application creation time

createdBy String

Application creator

id String

The provider-assigned unique ID for this managed resource.

name String

Application name

project String

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so 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. This property cannot be changed, doing so forces recreation of the resource.

updatedAt String

Application update time

updatedBy String

Application updater

applicationId string

Application ID

createdAt string

Application creation time

createdBy string

Application creator

id string

The provider-assigned unique ID for this managed resource.

name string

Application name

project string

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so 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. This property cannot be changed, doing so forces recreation of the resource.

updatedAt string

Application update time

updatedBy string

Application updater

application_id str

Application ID

created_at str

Application creation time

created_by str

Application creator

id str

The provider-assigned unique ID for this managed resource.

name str

Application name

project str

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so 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. This property cannot be changed, doing so forces recreation of the resource.

updated_at str

Application update time

updated_by str

Application updater

applicationId String

Application ID

createdAt String

Application creation time

createdBy String

Application creator

id String

The provider-assigned unique ID for this managed resource.

name String

Application name

project String

Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so 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. This property cannot be changed, doing so forces recreation of the resource.

updatedAt String

Application update time

updatedBy String

Application updater

Package Details

Repository
Aiven pulumi/pulumi-aiven
License
Apache-2.0
Notes

This Pulumi package is based on the aiven Terraform Provider.