confluentcloud.getFlinkConnection
Explore with Pulumi AI
confluentcloud.FlinkConnection
describes a Flink Connection data source.
Example Usage
Using getFlinkConnection
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 getFlinkConnection(args: GetFlinkConnectionArgs, opts?: InvokeOptions): Promise<GetFlinkConnectionResult>
function getFlinkConnectionOutput(args: GetFlinkConnectionOutputArgs, opts?: InvokeOptions): Output<GetFlinkConnectionResult>
def get_flink_connection(compute_pool: Optional[GetFlinkConnectionComputePool] = None,
credentials: Optional[GetFlinkConnectionCredentials] = None,
display_name: Optional[str] = None,
environment: Optional[GetFlinkConnectionEnvironment] = None,
organization: Optional[GetFlinkConnectionOrganization] = None,
principal: Optional[GetFlinkConnectionPrincipal] = None,
rest_endpoint: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFlinkConnectionResult
def get_flink_connection_output(compute_pool: Optional[pulumi.Input[GetFlinkConnectionComputePoolArgs]] = None,
credentials: Optional[pulumi.Input[GetFlinkConnectionCredentialsArgs]] = None,
display_name: Optional[pulumi.Input[str]] = None,
environment: Optional[pulumi.Input[GetFlinkConnectionEnvironmentArgs]] = None,
organization: Optional[pulumi.Input[GetFlinkConnectionOrganizationArgs]] = None,
principal: Optional[pulumi.Input[GetFlinkConnectionPrincipalArgs]] = None,
rest_endpoint: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFlinkConnectionResult]
func LookupFlinkConnection(ctx *Context, args *LookupFlinkConnectionArgs, opts ...InvokeOption) (*LookupFlinkConnectionResult, error)
func LookupFlinkConnectionOutput(ctx *Context, args *LookupFlinkConnectionOutputArgs, opts ...InvokeOption) LookupFlinkConnectionResultOutput
> Note: This function is named LookupFlinkConnection
in the Go SDK.
public static class GetFlinkConnection
{
public static Task<GetFlinkConnectionResult> InvokeAsync(GetFlinkConnectionArgs args, InvokeOptions? opts = null)
public static Output<GetFlinkConnectionResult> Invoke(GetFlinkConnectionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFlinkConnectionResult> getFlinkConnection(GetFlinkConnectionArgs args, InvokeOptions options)
public static Output<GetFlinkConnectionResult> getFlinkConnection(GetFlinkConnectionArgs args, InvokeOptions options)
fn::invoke:
function: confluentcloud:index/getFlinkConnection:getFlinkConnection
arguments:
# arguments dictionary
The following arguments are supported:
- Display
Name string - The name of the Flink Connection.
- Compute
Pool Pulumi.Confluent Cloud. Inputs. Get Flink Connection Compute Pool - Credentials
Pulumi.
Confluent Cloud. Inputs. Get Flink Connection Credentials - Environment
Pulumi.
Confluent Cloud. Inputs. Get Flink Connection Environment - Organization
Pulumi.
Confluent Cloud. Inputs. Get Flink Connection Organization - Principal
Pulumi.
Confluent Cloud. Inputs. Get Flink Connection Principal - Rest
Endpoint string - The REST endpoint of the Flink region, for example,
https://flink.us-east-1.aws.confluent.cloud
). - Type string
- The type of the Flink Connection. The accepted values are:
OPENAI
,AZUREML
,AZUREOPENAI
,BEDROCK
,SAGEMAKER
,GOOGLEAI
,VERTEXAI
,MONGODB
,PINECONE
,ELASTIC
andCOUCHBASE
.
- Display
Name string - The name of the Flink Connection.
- Compute
Pool GetFlink Connection Compute Pool - Credentials
Get
Flink Connection Credentials - Environment
Get
Flink Connection Environment - Organization
Get
Flink Connection Organization - Principal
Get
Flink Connection Principal - Rest
Endpoint string - The REST endpoint of the Flink region, for example,
https://flink.us-east-1.aws.confluent.cloud
). - Type string
- The type of the Flink Connection. The accepted values are:
OPENAI
,AZUREML
,AZUREOPENAI
,BEDROCK
,SAGEMAKER
,GOOGLEAI
,VERTEXAI
,MONGODB
,PINECONE
,ELASTIC
andCOUCHBASE
.
- display
Name String - The name of the Flink Connection.
- compute
Pool GetFlink Connection Compute Pool - credentials
Get
Flink Connection Credentials - environment
Get
Flink Connection Environment - organization
Get
Flink Connection Organization - principal
Get
Flink Connection Principal - rest
Endpoint String - The REST endpoint of the Flink region, for example,
https://flink.us-east-1.aws.confluent.cloud
). - type String
- The type of the Flink Connection. The accepted values are:
OPENAI
,AZUREML
,AZUREOPENAI
,BEDROCK
,SAGEMAKER
,GOOGLEAI
,VERTEXAI
,MONGODB
,PINECONE
,ELASTIC
andCOUCHBASE
.
- display
Name string - The name of the Flink Connection.
- compute
Pool GetFlink Connection Compute Pool - credentials
Get
Flink Connection Credentials - environment
Get
Flink Connection Environment - organization
Get
Flink Connection Organization - principal
Get
Flink Connection Principal - rest
Endpoint string - The REST endpoint of the Flink region, for example,
https://flink.us-east-1.aws.confluent.cloud
). - type string
- The type of the Flink Connection. The accepted values are:
OPENAI
,AZUREML
,AZUREOPENAI
,BEDROCK
,SAGEMAKER
,GOOGLEAI
,VERTEXAI
,MONGODB
,PINECONE
,ELASTIC
andCOUCHBASE
.
- display_
name str - The name of the Flink Connection.
- compute_
pool GetFlink Connection Compute Pool - credentials
Get
Flink Connection Credentials - environment
Get
Flink Connection Environment - organization
Get
Flink Connection Organization - principal
Get
Flink Connection Principal - rest_
endpoint str - The REST endpoint of the Flink region, for example,
https://flink.us-east-1.aws.confluent.cloud
). - type str
- The type of the Flink Connection. The accepted values are:
OPENAI
,AZUREML
,AZUREOPENAI
,BEDROCK
,SAGEMAKER
,GOOGLEAI
,VERTEXAI
,MONGODB
,PINECONE
,ELASTIC
andCOUCHBASE
.
- display
Name String - The name of the Flink Connection.
- compute
Pool Property Map - credentials Property Map
- environment Property Map
- organization Property Map
- principal Property Map
- rest
Endpoint String - The REST endpoint of the Flink region, for example,
https://flink.us-east-1.aws.confluent.cloud
). - type String
- The type of the Flink Connection. The accepted values are:
OPENAI
,AZUREML
,AZUREOPENAI
,BEDROCK
,SAGEMAKER
,GOOGLEAI
,VERTEXAI
,MONGODB
,PINECONE
,ELASTIC
andCOUCHBASE
.
getFlinkConnection Result
The following output properties are available:
- Compute
Pool Pulumi.Confluent Cloud. Outputs. Get Flink Connection Compute Pool - Data string
- (Required String) The authentication data of the Flink Connection.
- Display
Name string - Endpoint string
- (Required String) The endpoint of the Flink Connection, for example,
https://api.openai.com/v1/chat/completions
- Environment
Pulumi.
Confluent Cloud. Outputs. Get Flink Connection Environment - Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Pulumi.
Confluent Cloud. Outputs. Get Flink Connection Organization - Principal
Pulumi.
Confluent Cloud. Outputs. Get Flink Connection Principal - Status string
- (Required String) The status of the Flink Connection.
- Status
Detail string (Required String) The status details of the Flink Connection.
- Credentials
Pulumi.
Confluent Cloud. Outputs. Get Flink Connection Credentials - Rest
Endpoint string - Type string
- Compute
Pool GetFlink Connection Compute Pool - Data string
- (Required String) The authentication data of the Flink Connection.
- Display
Name string - Endpoint string
- (Required String) The endpoint of the Flink Connection, for example,
https://api.openai.com/v1/chat/completions
- Environment
Get
Flink Connection Environment - Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Get
Flink Connection Organization - Principal
Get
Flink Connection Principal - Status string
- (Required String) The status of the Flink Connection.
- Status
Detail string (Required String) The status details of the Flink Connection.
- Credentials
Get
Flink Connection Credentials - Rest
Endpoint string - Type string
- compute
Pool GetFlink Connection Compute Pool - data String
- (Required String) The authentication data of the Flink Connection.
- display
Name String - endpoint String
- (Required String) The endpoint of the Flink Connection, for example,
https://api.openai.com/v1/chat/completions
- environment
Get
Flink Connection Environment - id String
- The provider-assigned unique ID for this managed resource.
- organization
Get
Flink Connection Organization - principal
Get
Flink Connection Principal - status String
- (Required String) The status of the Flink Connection.
- status
Detail String (Required String) The status details of the Flink Connection.
- credentials
Get
Flink Connection Credentials - rest
Endpoint String - type String
- compute
Pool GetFlink Connection Compute Pool - data string
- (Required String) The authentication data of the Flink Connection.
- display
Name string - endpoint string
- (Required String) The endpoint of the Flink Connection, for example,
https://api.openai.com/v1/chat/completions
- environment
Get
Flink Connection Environment - id string
- The provider-assigned unique ID for this managed resource.
- organization
Get
Flink Connection Organization - principal
Get
Flink Connection Principal - status string
- (Required String) The status of the Flink Connection.
- status
Detail string (Required String) The status details of the Flink Connection.
- credentials
Get
Flink Connection Credentials - rest
Endpoint string - type string
- compute_
pool GetFlink Connection Compute Pool - data str
- (Required String) The authentication data of the Flink Connection.
- display_
name str - endpoint str
- (Required String) The endpoint of the Flink Connection, for example,
https://api.openai.com/v1/chat/completions
- environment
Get
Flink Connection Environment - id str
- The provider-assigned unique ID for this managed resource.
- organization
Get
Flink Connection Organization - principal
Get
Flink Connection Principal - status str
- (Required String) The status of the Flink Connection.
- status_
detail str (Required String) The status details of the Flink Connection.
- credentials
Get
Flink Connection Credentials - rest_
endpoint str - type str
- compute
Pool Property Map - data String
- (Required String) The authentication data of the Flink Connection.
- display
Name String - endpoint String
- (Required String) The endpoint of the Flink Connection, for example,
https://api.openai.com/v1/chat/completions
- environment Property Map
- id String
- The provider-assigned unique ID for this managed resource.
- organization Property Map
- principal Property Map
- status String
- (Required String) The status of the Flink Connection.
- status
Detail String (Required String) The status details of the Flink Connection.
- credentials Property Map
- rest
Endpoint String - type String
Supporting Types
GetFlinkConnectionComputePool
- Id string
- The ID of the Flink Compute Pool, for example,
lfcp-abc123
.
- Id string
- The ID of the Flink Compute Pool, for example,
lfcp-abc123
.
- id String
- The ID of the Flink Compute Pool, for example,
lfcp-abc123
.
- id string
- The ID of the Flink Compute Pool, for example,
lfcp-abc123
.
- id str
- The ID of the Flink Compute Pool, for example,
lfcp-abc123
.
- id String
- The ID of the Flink Compute Pool, for example,
lfcp-abc123
.
GetFlinkConnectionCredentials
- Key string
- The Flink API Key.
- Secret string
The Flink API Secret.
Note: A Flink API key consists of a key and a secret. Flink API keys are required to interact with Flink Connections in Confluent Cloud. Each Flink API key is valid for one specific Flink Region.
Note: Use Option #2 to simplify the key rotation process. When using Option #1, to rotate a Flink API key, create a new Flink API key, update the
credentials
block in all configuration files to use the new Flink API key, runpulumi up -target="confluent_flink_connection.example"
, and remove the old Flink API key. Alternatively, in case the old Flink API Key was deleted already, you might need to runpulumi preview -refresh=false -target="confluent_flink_connection.example" -out=rotate-flink-api-key
andpulumi up rotate-flink-api-key
instead.
- Key string
- The Flink API Key.
- Secret string
The Flink API Secret.
Note: A Flink API key consists of a key and a secret. Flink API keys are required to interact with Flink Connections in Confluent Cloud. Each Flink API key is valid for one specific Flink Region.
Note: Use Option #2 to simplify the key rotation process. When using Option #1, to rotate a Flink API key, create a new Flink API key, update the
credentials
block in all configuration files to use the new Flink API key, runpulumi up -target="confluent_flink_connection.example"
, and remove the old Flink API key. Alternatively, in case the old Flink API Key was deleted already, you might need to runpulumi preview -refresh=false -target="confluent_flink_connection.example" -out=rotate-flink-api-key
andpulumi up rotate-flink-api-key
instead.
- key String
- The Flink API Key.
- secret String
The Flink API Secret.
Note: A Flink API key consists of a key and a secret. Flink API keys are required to interact with Flink Connections in Confluent Cloud. Each Flink API key is valid for one specific Flink Region.
Note: Use Option #2 to simplify the key rotation process. When using Option #1, to rotate a Flink API key, create a new Flink API key, update the
credentials
block in all configuration files to use the new Flink API key, runpulumi up -target="confluent_flink_connection.example"
, and remove the old Flink API key. Alternatively, in case the old Flink API Key was deleted already, you might need to runpulumi preview -refresh=false -target="confluent_flink_connection.example" -out=rotate-flink-api-key
andpulumi up rotate-flink-api-key
instead.
- key string
- The Flink API Key.
- secret string
The Flink API Secret.
Note: A Flink API key consists of a key and a secret. Flink API keys are required to interact with Flink Connections in Confluent Cloud. Each Flink API key is valid for one specific Flink Region.
Note: Use Option #2 to simplify the key rotation process. When using Option #1, to rotate a Flink API key, create a new Flink API key, update the
credentials
block in all configuration files to use the new Flink API key, runpulumi up -target="confluent_flink_connection.example"
, and remove the old Flink API key. Alternatively, in case the old Flink API Key was deleted already, you might need to runpulumi preview -refresh=false -target="confluent_flink_connection.example" -out=rotate-flink-api-key
andpulumi up rotate-flink-api-key
instead.
- key str
- The Flink API Key.
- secret str
The Flink API Secret.
Note: A Flink API key consists of a key and a secret. Flink API keys are required to interact with Flink Connections in Confluent Cloud. Each Flink API key is valid for one specific Flink Region.
Note: Use Option #2 to simplify the key rotation process. When using Option #1, to rotate a Flink API key, create a new Flink API key, update the
credentials
block in all configuration files to use the new Flink API key, runpulumi up -target="confluent_flink_connection.example"
, and remove the old Flink API key. Alternatively, in case the old Flink API Key was deleted already, you might need to runpulumi preview -refresh=false -target="confluent_flink_connection.example" -out=rotate-flink-api-key
andpulumi up rotate-flink-api-key
instead.
- key String
- The Flink API Key.
- secret String
The Flink API Secret.
Note: A Flink API key consists of a key and a secret. Flink API keys are required to interact with Flink Connections in Confluent Cloud. Each Flink API key is valid for one specific Flink Region.
Note: Use Option #2 to simplify the key rotation process. When using Option #1, to rotate a Flink API key, create a new Flink API key, update the
credentials
block in all configuration files to use the new Flink API key, runpulumi up -target="confluent_flink_connection.example"
, and remove the old Flink API key. Alternatively, in case the old Flink API Key was deleted already, you might need to runpulumi preview -refresh=false -target="confluent_flink_connection.example" -out=rotate-flink-api-key
andpulumi up rotate-flink-api-key
instead.
GetFlinkConnectionEnvironment
- Id string
- The ID of the Environment, for example,
env-abc123
.
- Id string
- The ID of the Environment, for example,
env-abc123
.
- id String
- The ID of the Environment, for example,
env-abc123
.
- id string
- The ID of the Environment, for example,
env-abc123
.
- id str
- The ID of the Environment, for example,
env-abc123
.
- id String
- The ID of the Environment, for example,
env-abc123
.
GetFlinkConnectionOrganization
- Id string
- The ID of the Organization, for example,
1111aaaa-11aa-11aa-11aa-111111aaaaaa
.
- Id string
- The ID of the Organization, for example,
1111aaaa-11aa-11aa-11aa-111111aaaaaa
.
- id String
- The ID of the Organization, for example,
1111aaaa-11aa-11aa-11aa-111111aaaaaa
.
- id string
- The ID of the Organization, for example,
1111aaaa-11aa-11aa-11aa-111111aaaaaa
.
- id str
- The ID of the Organization, for example,
1111aaaa-11aa-11aa-11aa-111111aaaaaa
.
- id String
- The ID of the Organization, for example,
1111aaaa-11aa-11aa-11aa-111111aaaaaa
.
GetFlinkConnectionPrincipal
- Id string
- The ID of the Principal the Flink Connection runs as, for example,
sa-abc123
.
- Id string
- The ID of the Principal the Flink Connection runs as, for example,
sa-abc123
.
- id String
- The ID of the Principal the Flink Connection runs as, for example,
sa-abc123
.
- id string
- The ID of the Principal the Flink Connection runs as, for example,
sa-abc123
.
- id str
- The ID of the Principal the Flink Connection runs as, for example,
sa-abc123
.
- id String
- The ID of the Principal the Flink Connection runs as, for example,
sa-abc123
.
Package Details
- Repository
- Confluent Cloud pulumi/pulumi-confluentcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
confluent
Terraform Provider.