Aiven v6.28.0 published on Friday, Nov 15, 2024 by Pulumi
aiven.getFlinkApplicationVersion
Explore with Pulumi AI
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:
- 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 - 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.
- 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> - The sink table for the application.
- Sinks
List<Get
Flink Application Version Sink> - Application sinks
- Source
List<Get
Flink Application Version Source> - The source table for the application.
- 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 - 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.
- 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 - The sink table for the application.
- Sinks
[]Get
Flink Application Version Sink - Application sinks
- Source
[]Get
Flink Application Version Source - The source table for the application.
- 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 - 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.
- 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> - The sink table for the application.
- sinks
List<Get
Flink Application Version Sink> - Application sinks
- source
List<Get
Flink Application Version Source> - The source table for the application.
- 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 - 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.
- 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[] - The sink table for the application.
- sinks
Get
Flink Application Version Sink[] - Application sinks
- source
Get
Flink Application Version Source[] - The source table for the application.
- 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 - 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[Get
Flink Application Version Sink] - The sink table for the application.
- sinks
Sequence[Get
Flink Application Version Sink] - Application sinks
- source
Sequence[Get
Flink Application Version Source] - The source table for the application.
- 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 - 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.
- 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>
- 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
- 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.