Aiven v6.18.0 published on Thursday, Jun 27, 2024 by Pulumi
aiven.getFlinkApplication
Explore with Pulumi AI
The Flink Application data source provides information about the existing Aiven Flink Application.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const app1 = aiven.getFlinkApplication({
project: pr1.project,
serviceName: "<SERVICE_NAME>",
name: "<APPLICATION_NAME>",
});
import pulumi
import pulumi_aiven as aiven
app1 = aiven.get_flink_application(project=pr1["project"],
service_name="<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: pr1.Project,
ServiceName: "<SERVICE_NAME>",
Name: "<APPLICATION_NAME>",
}, 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 app1 = Aiven.GetFlinkApplication.Invoke(new()
{
Project = pr1.Project,
ServiceName = "<SERVICE_NAME>",
Name = "<APPLICATION_NAME>",
});
});
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(pr1.project())
.serviceName("<SERVICE_NAME>")
.name("<APPLICATION_NAME>")
.build());
}
}
variables:
app1:
fn::invoke:
Function: aiven:getFlinkApplication
Arguments:
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
- 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 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.
- Name string
- Application name
- 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.
- Service
Name 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.
- name String
- Application name
- 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.
- service
Name 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.
- name string
- Application name
- 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.
- service
Name 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.
- name str
- Application name
- 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.
- name String
- Application name
- 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.
- service
Name 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.
getFlinkApplication Result
The following output properties are available:
- Application
Id string - Application ID
- Created
At string - Application creation time
- Created
By string - Application creator
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Application name
- 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.
- Service
Name 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.
- Updated
At string - Application update time
- Updated
By string - Application updater
- Application
Id string - Application ID
- Created
At string - Application creation time
- Created
By string - Application creator
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Application name
- 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.
- Service
Name 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.
- Updated
At string - Application update time
- Updated
By string - Application updater
- application
Id String - Application ID
- created
At String - Application creation time
- created
By String - Application creator
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Application name
- 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.
- service
Name 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.
- updated
At String - Application update time
- updated
By String - Application updater
- application
Id string - Application ID
- created
At string - Application creation time
- created
By string - Application creator
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Application name
- 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.
- service
Name 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.
- updated
At string - Application update time
- updated
By 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
- 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.
- updated_
at str - Application update time
- updated_
by str - Application updater
- application
Id String - Application ID
- created
At String - Application creation time
- created
By String - Application creator
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Application name
- 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.
- service
Name 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.
- updated
At String - Application update time
- updated
By 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.