Aiven v6.28.0 published on Friday, Nov 15, 2024 by Pulumi
aiven.getFlinkApplication
Explore with Pulumi AI
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: "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(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
- The name of the application.
- 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
- The name of the application.
- 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
- The name of the application.
- 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
- The name of the application.
- 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
- The name of the application.
- 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
- The name of the application.
- 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 - The user who created the application.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the application.
- 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 - When the application was updated.
- Updated
By string - The user who updated the application.
- Application
Id string - Application ID.
- Created
At string - Application creation time.
- Created
By string - The user who created the application.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the application.
- 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 - When the application was updated.
- Updated
By string - The user who updated the application.
- application
Id String - Application ID.
- created
At String - Application creation time.
- created
By String - The user who created the application.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the application.
- 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 - When the application was updated.
- updated
By String - The user who updated the application.
- application
Id string - Application ID.
- created
At string - Application creation time.
- created
By string - The user who created the application.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the application.
- 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 - When the application was updated.
- updated
By string - The user who updated the application.
- application_
id str - Application ID.
- created_
at str - Application creation time.
- created_
by str - The user who created the application.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the application.
- 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 - When the application was updated.
- updated_
by str - The user who updated the application.
- application
Id String - Application ID.
- created
At String - Application creation time.
- created
By String - The user who created the application.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the application.
- 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 - When the application was updated.
- updated
By String - The user who updated the application.
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aiven
Terraform Provider.