Confluent v2.10.0 published on Wednesday, Nov 20, 2024 by Pulumi
confluentcloud.getFlinkRegion
Explore with Pulumi AI
confluentcloud.getFlinkRegion
describes a Flink cluster data source.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as confluentcloud from "@pulumi/confluentcloud";
export = async () => {
const example = await confluentcloud.getFlinkRegion({
cloud: "AWS",
region: "us-east-1",
});
return {
example: example,
};
}
import pulumi
import pulumi_confluentcloud as confluentcloud
example = confluentcloud.get_flink_region(cloud="AWS",
region="us-east-1")
pulumi.export("example", example)
package main
import (
"github.com/pulumi/pulumi-confluentcloud/sdk/v2/go/confluentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := confluentcloud.GetFlinkRegion(ctx, &confluentcloud.GetFlinkRegionArgs{
Cloud: "AWS",
Region: "us-east-1",
}, nil)
if err != nil {
return err
}
ctx.Export("example", example)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ConfluentCloud = Pulumi.ConfluentCloud;
return await Deployment.RunAsync(() =>
{
var example = ConfluentCloud.GetFlinkRegion.Invoke(new()
{
Cloud = "AWS",
Region = "us-east-1",
});
return new Dictionary<string, object?>
{
["example"] = example,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.confluentcloud.ConfluentcloudFunctions;
import com.pulumi.confluentcloud.inputs.GetFlinkRegionArgs;
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 example = ConfluentcloudFunctions.getFlinkRegion(GetFlinkRegionArgs.builder()
.cloud("AWS")
.region("us-east-1")
.build());
ctx.export("example", example.applyValue(getFlinkRegionResult -> getFlinkRegionResult));
}
}
variables:
example:
fn::invoke:
Function: confluentcloud:getFlinkRegion
Arguments:
cloud: AWS
region: us-east-1
outputs:
example: ${example}
Using getFlinkRegion
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 getFlinkRegion(args: GetFlinkRegionArgs, opts?: InvokeOptions): Promise<GetFlinkRegionResult>
function getFlinkRegionOutput(args: GetFlinkRegionOutputArgs, opts?: InvokeOptions): Output<GetFlinkRegionResult>
def get_flink_region(cloud: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFlinkRegionResult
def get_flink_region_output(cloud: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFlinkRegionResult]
func GetFlinkRegion(ctx *Context, args *GetFlinkRegionArgs, opts ...InvokeOption) (*GetFlinkRegionResult, error)
func GetFlinkRegionOutput(ctx *Context, args *GetFlinkRegionOutputArgs, opts ...InvokeOption) GetFlinkRegionResultOutput
> Note: This function is named GetFlinkRegion
in the Go SDK.
public static class GetFlinkRegion
{
public static Task<GetFlinkRegionResult> InvokeAsync(GetFlinkRegionArgs args, InvokeOptions? opts = null)
public static Output<GetFlinkRegionResult> Invoke(GetFlinkRegionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFlinkRegionResult> getFlinkRegion(GetFlinkRegionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: confluentcloud:index/getFlinkRegion:getFlinkRegion
arguments:
# arguments dictionary
The following arguments are supported:
getFlinkRegion Result
The following output properties are available:
- Api
Version string - (Required String) An API Version of the Flink region, for example,
fcpm/v2
. - Cloud string
- Id string
- (Required String) The ID of the Flink region, for example,
aws.us-east-1
. - Kind string
- (Required String) A kind of the Flink region, for example,
Region
. - Private
Rest stringEndpoint - (Required String) The private HTTP endpoint of the Flink region, for example,
https://flink.us-east-1.aws.private.confluent.cloud
. - Region string
- Rest
Endpoint string - (Required String) The HTTP endpoint of the Flink region, for example,
https://flink.us-east-1.aws.confluent.cloud
.
- Api
Version string - (Required String) An API Version of the Flink region, for example,
fcpm/v2
. - Cloud string
- Id string
- (Required String) The ID of the Flink region, for example,
aws.us-east-1
. - Kind string
- (Required String) A kind of the Flink region, for example,
Region
. - Private
Rest stringEndpoint - (Required String) The private HTTP endpoint of the Flink region, for example,
https://flink.us-east-1.aws.private.confluent.cloud
. - Region string
- Rest
Endpoint string - (Required String) The HTTP endpoint of the Flink region, for example,
https://flink.us-east-1.aws.confluent.cloud
.
- api
Version String - (Required String) An API Version of the Flink region, for example,
fcpm/v2
. - cloud String
- id String
- (Required String) The ID of the Flink region, for example,
aws.us-east-1
. - kind String
- (Required String) A kind of the Flink region, for example,
Region
. - private
Rest StringEndpoint - (Required String) The private HTTP endpoint of the Flink region, for example,
https://flink.us-east-1.aws.private.confluent.cloud
. - region String
- rest
Endpoint String - (Required String) The HTTP endpoint of the Flink region, for example,
https://flink.us-east-1.aws.confluent.cloud
.
- api
Version string - (Required String) An API Version of the Flink region, for example,
fcpm/v2
. - cloud string
- id string
- (Required String) The ID of the Flink region, for example,
aws.us-east-1
. - kind string
- (Required String) A kind of the Flink region, for example,
Region
. - private
Rest stringEndpoint - (Required String) The private HTTP endpoint of the Flink region, for example,
https://flink.us-east-1.aws.private.confluent.cloud
. - region string
- rest
Endpoint string - (Required String) The HTTP endpoint of the Flink region, for example,
https://flink.us-east-1.aws.confluent.cloud
.
- api_
version str - (Required String) An API Version of the Flink region, for example,
fcpm/v2
. - cloud str
- id str
- (Required String) The ID of the Flink region, for example,
aws.us-east-1
. - kind str
- (Required String) A kind of the Flink region, for example,
Region
. - private_
rest_ strendpoint - (Required String) The private HTTP endpoint of the Flink region, for example,
https://flink.us-east-1.aws.private.confluent.cloud
. - region str
- rest_
endpoint str - (Required String) The HTTP endpoint of the Flink region, for example,
https://flink.us-east-1.aws.confluent.cloud
.
- api
Version String - (Required String) An API Version of the Flink region, for example,
fcpm/v2
. - cloud String
- id String
- (Required String) The ID of the Flink region, for example,
aws.us-east-1
. - kind String
- (Required String) A kind of the Flink region, for example,
Region
. - private
Rest StringEndpoint - (Required String) The private HTTP endpoint of the Flink region, for example,
https://flink.us-east-1.aws.private.confluent.cloud
. - region String
- rest
Endpoint String - (Required String) The HTTP endpoint of the Flink region, for example,
https://flink.us-east-1.aws.confluent.cloud
.
Package Details
- Repository
- Confluent Cloud pulumi/pulumi-confluentcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
confluent
Terraform Provider.