Aiven v6.18.0 published on Thursday, Jun 27, 2024 by Pulumi
aiven.getFlinkApplicationVersion
Explore with Pulumi AI
The Flink Application Version data source provides information about the existing Aiven Flink Application Version.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const app1 = aiven.getFlinkApplicationVersion({
project: pr1.project,
serviceName: "<SERVICE_NAME>",
applicationId: "<APPLICATION_ID>",
applicationVersionId: "<APPLICATION_VERSION_ID>",
});
import pulumi
import pulumi_aiven as aiven
app1 = aiven.get_flink_application_version(project=pr1["project"],
service_name="<SERVICE_NAME>",
application_id="<APPLICATION_ID>",
application_version_id="<APPLICATION_VERSION_ID>")
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: pr1.Project,
ServiceName: "<SERVICE_NAME>",
ApplicationId: "<APPLICATION_ID>",
ApplicationVersionId: "<APPLICATION_VERSION_ID>",
}, 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.GetFlinkApplicationVersion.Invoke(new()
{
Project = pr1.Project,
ServiceName = "<SERVICE_NAME>",
ApplicationId = "<APPLICATION_ID>",
ApplicationVersionId = "<APPLICATION_VERSION_ID>",
});
});
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 app1 = AivenFunctions.getFlinkApplicationVersion(GetFlinkApplicationVersionArgs.builder()
.project(pr1.project())
.serviceName("<SERVICE_NAME>")
.applicationId("<APPLICATION_ID>")
.applicationVersionId("<APPLICATION_VERSION_ID>")
.build());
}
}
variables:
app1:
fn::invoke:
Function: aiven:getFlinkApplicationVersion
Arguments:
project: ${pr1.project}
serviceName: <SERVICE_NAME>
applicationId: <APPLICATION_ID>
applicationVersionId: <APPLICATION_VERSION_ID>
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:
- Application
Id string - Application ID
- Application
Version stringId - 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.
- 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.
- Application
Id string - Application ID
- Application
Version stringId - 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.
- 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.
- application
Id String - Application ID
- application
Version StringId - 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.
- 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.
- application
Id string - Application ID
- application
Version stringId - 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.
- 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.
- application_
id str - Application ID
- application_
version_ strid - 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.
- application
Id String - Application ID
- application
Version StringId - 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.
- 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.
getFlinkApplicationVersion Result
The following output properties are available:
- Application
Id string - Application ID
- Application
Version stringId - Application version ID
- Created
At string - Application version creation time
- Created
By string - Application version creator
- 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.
- 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.
- Sink
List<Get
Flink Application Version Sink> - Application sink
- Sinks
List<Get
Flink Application Version Sink> - Application sinks
- Source
List<Get
Flink Application Version Source> - Application source
- Sources
List<Get
Flink Application Version Source> - Application sources
- Statement string
- Job SQL statement
- Version int
- Application version number
- Application
Id string - Application ID
- Application
Version stringId - Application version ID
- Created
At string - Application version creation time
- Created
By string - Application version creator
- 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.
- 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.
- Sink
[]Get
Flink Application Version Sink - Application sink
- Sinks
[]Get
Flink Application Version Sink - Application sinks
- Source
[]Get
Flink Application Version Source - Application source
- Sources
[]Get
Flink Application Version Source - Application sources
- Statement string
- Job SQL statement
- Version int
- Application version number
- application
Id String - Application ID
- application
Version StringId - Application version ID
- created
At String - Application version creation time
- created
By String - Application version creator
- 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.
- 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.
- sink
List<Get
Flink Application Version Sink> - Application sink
- sinks
List<Get
Flink Application Version Sink> - Application sinks
- source
List<Get
Flink Application Version Source> - Application source
- sources
List<Get
Flink Application Version Source> - Application sources
- statement String
- Job SQL statement
- version Integer
- Application version number
- application
Id string - Application ID
- application
Version stringId - Application version ID
- created
At string - Application version creation time
- created
By string - Application version creator
- 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.
- 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.
- sink
Get
Flink Application Version Sink[] - Application sink
- sinks
Get
Flink Application Version Sink[] - Application sinks
- source
Get
Flink Application Version Source[] - Application source
- sources
Get
Flink Application Version Source[] - Application sources
- statement string
- Job SQL statement
- version number
- Application version number
- application_
id str - Application ID
- application_
version_ strid - Application version ID
- created_
at str - Application version creation time
- created_
by str - Application version creator
- 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[Get
Flink Application Version Sink] - Application sink
- sinks
Sequence[Get
Flink Application Version Sink] - Application sinks
- source
Sequence[Get
Flink Application Version Source] - Application source
- sources
Sequence[Get
Flink Application Version Source] - Application sources
- statement str
- Job SQL statement
- version int
- Application version number
- application
Id String - Application ID
- application
Version StringId - Application version ID
- created
At String - Application version creation time
- created
By String - Application version creator
- 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.
- 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.
- sink List<Property Map>
- Application sink
- sinks List<Property Map>
- Application sinks
- source List<Property Map>
- Application source
- sources List<Property Map>
- Application sources
- statement String
- Job SQL statement
- version Number
- Application version number
Supporting Types
GetFlinkApplicationVersionSink
- Create
Table string - The CREATE TABLE statement
- Integration
Id string - The integration ID
- Create
Table string - The CREATE TABLE statement
- Integration
Id string - The integration ID
- create
Table String - The CREATE TABLE statement
- integration
Id String - The integration ID
- create
Table string - The CREATE TABLE statement
- integration
Id string - The integration ID
- create_
table str - The CREATE TABLE statement
- integration_
id str - The integration ID
- create
Table String - The CREATE TABLE statement
- integration
Id String - The integration ID
GetFlinkApplicationVersionSource
- Create
Table string - The CREATE TABLE statement
- Integration
Id string - The integration ID
- Create
Table string - The CREATE TABLE statement
- Integration
Id string - The integration ID
- create
Table String - The CREATE TABLE statement
- integration
Id String - The integration ID
- create
Table string - The CREATE TABLE statement
- integration
Id string - The integration ID
- create_
table str - The CREATE TABLE statement
- integration_
id str - The integration ID
- create
Table String - The CREATE TABLE statement
- integration
Id 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.