published on Friday, Sep 11, 2026 by Pulumi
published on Friday, Sep 11, 2026 by Pulumi
Caution: Preview Feature This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to
previewFeaturesEnabledfield in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
Data source used to get details of filtered Openflow connector definitions, the Snowflake-managed templates a connector can be created from. Filtering is aligned with the current possibilities for SHOW OPENFLOW CONNECTOR DEFINITIONS. Definitions are read-only, so there is no describe output and no matching resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as snowflake from "@pulumi/snowflake";
// simple usage
const simple = snowflake.getOpenflowConnectorDefinitions({});
// filtering (like)
const like = snowflake.getOpenflowConnectorDefinitions({
like: "OPENFLOW_POSTGRES_CDC",
});
// filtering (limit)
const limit = snowflake.getOpenflowConnectorDefinitions({
limit: {
rows: 10,
from: "OPENFLOW_",
},
});
import pulumi
import pulumi_snowflake as snowflake
# simple usage
simple = snowflake.get_openflow_connector_definitions()
# filtering (like)
like = snowflake.get_openflow_connector_definitions(like="OPENFLOW_POSTGRES_CDC")
# filtering (limit)
limit = snowflake.get_openflow_connector_definitions(limit={
"rows": 10,
"from_": "OPENFLOW_",
})
package main
import (
"github.com/pulumi/pulumi-snowflake/sdk/v2/go/snowflake"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// simple usage
_, err := snowflake.GetOpenflowConnectorDefinitions(ctx, &snowflake.GetOpenflowConnectorDefinitionsArgs{}, nil)
if err != nil {
return err
}
// filtering (like)
_, err = snowflake.GetOpenflowConnectorDefinitions(ctx, &snowflake.GetOpenflowConnectorDefinitionsArgs{
Like: pulumi.StringRef("OPENFLOW_POSTGRES_CDC"),
}, nil)
if err != nil {
return err
}
// filtering (limit)
_, err = snowflake.GetOpenflowConnectorDefinitions(ctx, &snowflake.GetOpenflowConnectorDefinitionsArgs{
Limit: snowflake.GetOpenflowConnectorDefinitionsLimit{
Rows: 10,
From: pulumi.StringRef("OPENFLOW_"),
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Snowflake = Pulumi.Snowflake;
return await Deployment.RunAsync(() =>
{
// simple usage
var simple = Snowflake.GetOpenflowConnectorDefinitions.Invoke();
// filtering (like)
var like = Snowflake.GetOpenflowConnectorDefinitions.Invoke(new()
{
Like = "OPENFLOW_POSTGRES_CDC",
});
// filtering (limit)
var limit = Snowflake.GetOpenflowConnectorDefinitions.Invoke(new()
{
Limit = new Snowflake.Inputs.GetOpenflowConnectorDefinitionsLimitInputArgs
{
Rows = 10,
From = "OPENFLOW_",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.snowflake.SnowflakeFunctions;
import com.pulumi.snowflake.inputs.GetOpenflowConnectorDefinitionsArgs;
import com.pulumi.snowflake.inputs.GetOpenflowConnectorDefinitionsLimitArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
// simple usage
final var simple = SnowflakeFunctions.getOpenflowConnectorDefinitions(GetOpenflowConnectorDefinitionsArgs.builder()
.build());
// filtering (like)
final var like = SnowflakeFunctions.getOpenflowConnectorDefinitions(GetOpenflowConnectorDefinitionsArgs.builder()
.like("OPENFLOW_POSTGRES_CDC")
.build());
// filtering (limit)
final var limit = SnowflakeFunctions.getOpenflowConnectorDefinitions(GetOpenflowConnectorDefinitionsArgs.builder()
.limit(GetOpenflowConnectorDefinitionsLimitArgs.builder()
.rows(10)
.from("OPENFLOW_")
.build())
.build());
}
}
variables:
# simple usage
simple:
fn::invoke:
function: snowflake:getOpenflowConnectorDefinitions
arguments: {}
# filtering (like)
like:
fn::invoke:
function: snowflake:getOpenflowConnectorDefinitions
arguments:
like: OPENFLOW_POSTGRES_CDC
# filtering (limit)
limit:
fn::invoke:
function: snowflake:getOpenflowConnectorDefinitions
arguments:
limit:
rows: 10
from: OPENFLOW_
pulumi {
required_providers {
snowflake = {
source = "pulumi/snowflake"
}
}
}
data "snowflake_getopenflowconnectordefinitions" "simple" {
}
data "snowflake_getopenflowconnectordefinitions" "like" {
like = "OPENFLOW_POSTGRES_CDC"
}
data "snowflake_getopenflowconnectordefinitions" "limit" {
limit = {
rows = 10
from = "OPENFLOW_"
}
}
# simple usage
# filtering (like)
# filtering (limit)
Note If a field has a default value, it is shown next to the type in the schema.
Using getOpenflowConnectorDefinitions
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 getOpenflowConnectorDefinitions(args: GetOpenflowConnectorDefinitionsArgs, opts?: InvokeOptions): Promise<GetOpenflowConnectorDefinitionsResult>
function getOpenflowConnectorDefinitionsOutput(args: GetOpenflowConnectorDefinitionsOutputArgs, opts?: InvokeOutputOptions): Output<GetOpenflowConnectorDefinitionsResult>def get_openflow_connector_definitions(like: Optional[str] = None,
limit: Optional[GetOpenflowConnectorDefinitionsLimit] = None,
opts: Optional[InvokeOptions] = None) -> GetOpenflowConnectorDefinitionsResult
def get_openflow_connector_definitions_output(like: pulumi.Input[Optional[str]] = None,
limit: pulumi.Input[Optional[GetOpenflowConnectorDefinitionsLimitArgs]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetOpenflowConnectorDefinitionsResult]func GetOpenflowConnectorDefinitions(ctx *Context, args *GetOpenflowConnectorDefinitionsArgs, opts ...InvokeOption) (*GetOpenflowConnectorDefinitionsResult, error)
func GetOpenflowConnectorDefinitionsOutput(ctx *Context, args *GetOpenflowConnectorDefinitionsOutputArgs, opts ...InvokeOption) GetOpenflowConnectorDefinitionsResultOutput> Note: This function is named GetOpenflowConnectorDefinitions in the Go SDK.
public static class GetOpenflowConnectorDefinitions
{
public static Task<GetOpenflowConnectorDefinitionsResult> InvokeAsync(GetOpenflowConnectorDefinitionsArgs args, InvokeOptions? opts = null)
public static Output<GetOpenflowConnectorDefinitionsResult> Invoke(GetOpenflowConnectorDefinitionsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetOpenflowConnectorDefinitionsResult> Invoke(GetOpenflowConnectorDefinitionsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetOpenflowConnectorDefinitionsResult> getOpenflowConnectorDefinitions(GetOpenflowConnectorDefinitionsArgs args, InvokeOptions options)
public static Output<GetOpenflowConnectorDefinitionsResult> getOpenflowConnectorDefinitions(GetOpenflowConnectorDefinitionsArgs args, InvokeOptions options)
public static Output<GetOpenflowConnectorDefinitionsResult> getOpenflowConnectorDefinitions(GetOpenflowConnectorDefinitionsArgs args, InvokeOutputOptions options)
fn::invoke:
function: snowflake:index/getOpenflowConnectorDefinitions:getOpenflowConnectorDefinitions
arguments:
# arguments dictionarydata "snowflake_get_openflow_connector_definitions" "name" {
# arguments
}The following arguments are supported:
- Like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - Limit
Get
Openflow Connector Definitions Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike.
- Like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - Limit
Get
Openflow Connector Definitions Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike.
- like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit object
- Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike.
- like String
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit
Get
Openflow Connector Definitions Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike.
- like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit
Get
Openflow Connector Definitions Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike.
- like str
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit
Get
Openflow Connector Definitions Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike.
- like String
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit Property Map
- Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike.
getOpenflowConnectorDefinitions Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Openflow
Connector List<GetDefinitions Openflow Connector Definitions Openflow Connector Definition> - Holds the aggregated output of all Openflow connector definition queries.
- Like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - Limit
Get
Openflow Connector Definitions Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike.
- Id string
- The provider-assigned unique ID for this managed resource.
- Openflow
Connector []GetDefinitions Openflow Connector Definitions Openflow Connector Definition - Holds the aggregated output of all Openflow connector definition queries.
- Like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - Limit
Get
Openflow Connector Definitions Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike.
- id string
- The provider-assigned unique ID for this managed resource.
- openflow_
connector_ list(object)definitions - Holds the aggregated output of all Openflow connector definition queries.
- like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit object
- Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike.
- id String
- The provider-assigned unique ID for this managed resource.
- openflow
Connector List<GetDefinitions Openflow Connector Definitions Openflow Connector Definition> - Holds the aggregated output of all Openflow connector definition queries.
- like String
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit
Get
Openflow Connector Definitions Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike.
- id string
- The provider-assigned unique ID for this managed resource.
- openflow
Connector GetDefinitions Openflow Connector Definitions Openflow Connector Definition[] - Holds the aggregated output of all Openflow connector definition queries.
- like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit
Get
Openflow Connector Definitions Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike.
- id str
- The provider-assigned unique ID for this managed resource.
- openflow_
connector_ Sequence[Getdefinitions Openflow Connector Definitions Openflow Connector Definition] - Holds the aggregated output of all Openflow connector definition queries.
- like str
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit
Get
Openflow Connector Definitions Limit - Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike.
- id String
- The provider-assigned unique ID for this managed resource.
- openflow
Connector List<Property Map>Definitions - Holds the aggregated output of all Openflow connector definition queries.
- like String
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - limit Property Map
- Limits the number of rows returned. If the
limit.fromis set, then the limit will start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern withstartsWithorlike.
Supporting Types
GetOpenflowConnectorDefinitionsLimit
GetOpenflowConnectorDefinitionsOpenflowConnectorDefinition
- Show
Outputs List<GetOpenflow Connector Definitions Openflow Connector Definition Show Output> - Holds the output of SHOW OPENFLOW CONNECTOR DEFINITIONS.
- Show
Outputs []GetOpenflow Connector Definitions Openflow Connector Definition Show Output - Holds the output of SHOW OPENFLOW CONNECTOR DEFINITIONS.
- show_
outputs list(object) - Holds the output of SHOW OPENFLOW CONNECTOR DEFINITIONS.
- show
Outputs List<GetOpenflow Connector Definitions Openflow Connector Definition Show Output> - Holds the output of SHOW OPENFLOW CONNECTOR DEFINITIONS.
- show
Outputs GetOpenflow Connector Definitions Openflow Connector Definition Show Output[] - Holds the output of SHOW OPENFLOW CONNECTOR DEFINITIONS.
- show_
outputs Sequence[GetOpenflow Connector Definitions Openflow Connector Definition Show Output] - Holds the output of SHOW OPENFLOW CONNECTOR DEFINITIONS.
- show
Outputs List<Property Map> - Holds the output of SHOW OPENFLOW CONNECTOR DEFINITIONS.
GetOpenflowConnectorDefinitionsOpenflowConnectorDefinitionShowOutput
- Categories List<string>
- Description string
- Display
Name string - Max
Node intCount - Min
Runtime stringNode Type - Name string
- Provider string
- Version string
- Categories []string
- Description string
- Display
Name string - Max
Node intCount - Min
Runtime stringNode Type - Name string
- Provider string
- Version string
- categories list(string)
- description string
- display_
name string - max_
node_ numbercount - min_
runtime_ stringnode_ type - name string
- provider string
- version string
- categories List<String>
- description String
- display
Name String - max
Node IntegerCount - min
Runtime StringNode Type - name String
- provider String
- version String
- categories string[]
- description string
- display
Name string - max
Node numberCount - min
Runtime stringNode Type - name string
- provider string
- version string
- categories Sequence[str]
- description str
- display_
name str - max_
node_ intcount - min_
runtime_ strnode_ type - name str
- provider str
- version str
- categories List<String>
- description String
- display
Name String - max
Node NumberCount - min
Runtime StringNode Type - name String
- provider String
- version String
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
snowflakeTerraform Provider.
published on Friday, Sep 11, 2026 by Pulumi