1. Registry
  2. Packages
  3. Snowflake Provider
  4. API Docs
  5. getOpenflowConnectorDefinitions
Viewing docs for Snowflake v2.21.0
published on Friday, Sep 11, 2026 by Pulumi
snowflake logo
Viewing docs for Snowflake v2.21.0
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 previewFeaturesEnabled field 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 dictionary
    data "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 GetOpenflowConnectorDefinitionsLimit
    Limits the number of rows returned. If the limit.from is 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 with startsWith or like.
    Like string
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    Limit GetOpenflowConnectorDefinitionsLimit
    Limits the number of rows returned. If the limit.from is 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 with startsWith or like.
    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.from is 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 with startsWith or like.
    like String
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    limit GetOpenflowConnectorDefinitionsLimit
    Limits the number of rows returned. If the limit.from is 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 with startsWith or like.
    like string
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    limit GetOpenflowConnectorDefinitionsLimit
    Limits the number of rows returned. If the limit.from is 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 with startsWith or like.
    like str
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    limit GetOpenflowConnectorDefinitionsLimit
    Limits the number of rows returned. If the limit.from is 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 with startsWith or like.
    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.from is 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 with startsWith or like.

    getOpenflowConnectorDefinitions Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    OpenflowConnectorDefinitions List<GetOpenflowConnectorDefinitionsOpenflowConnectorDefinition>
    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 GetOpenflowConnectorDefinitionsLimit
    Limits the number of rows returned. If the limit.from is 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 with startsWith or like.
    Id string
    The provider-assigned unique ID for this managed resource.
    OpenflowConnectorDefinitions []GetOpenflowConnectorDefinitionsOpenflowConnectorDefinition
    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 GetOpenflowConnectorDefinitionsLimit
    Limits the number of rows returned. If the limit.from is 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 with startsWith or like.
    id string
    The provider-assigned unique ID for this managed resource.
    openflow_connector_definitions list(object)
    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.from is 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 with startsWith or like.
    id String
    The provider-assigned unique ID for this managed resource.
    openflowConnectorDefinitions List<GetOpenflowConnectorDefinitionsOpenflowConnectorDefinition>
    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 GetOpenflowConnectorDefinitionsLimit
    Limits the number of rows returned. If the limit.from is 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 with startsWith or like.
    id string
    The provider-assigned unique ID for this managed resource.
    openflowConnectorDefinitions GetOpenflowConnectorDefinitionsOpenflowConnectorDefinition[]
    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 GetOpenflowConnectorDefinitionsLimit
    Limits the number of rows returned. If the limit.from is 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 with startsWith or like.
    id str
    The provider-assigned unique ID for this managed resource.
    openflow_connector_definitions Sequence[GetOpenflowConnectorDefinitionsOpenflowConnectorDefinition]
    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 GetOpenflowConnectorDefinitionsLimit
    Limits the number of rows returned. If the limit.from is 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 with startsWith or like.
    id String
    The provider-assigned unique ID for this managed resource.
    openflowConnectorDefinitions List<Property Map>
    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.from is 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 with startsWith or like.

    Supporting Types

    GetOpenflowConnectorDefinitionsLimit

    Rows int
    The maximum number of rows to return.
    From string
    Specifies a case-sensitive pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
    Rows int
    The maximum number of rows to return.
    From string
    Specifies a case-sensitive pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
    rows number
    The maximum number of rows to return.
    from string
    Specifies a case-sensitive pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
    rows Integer
    The maximum number of rows to return.
    from String
    Specifies a case-sensitive pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
    rows number
    The maximum number of rows to return.
    from string
    Specifies a case-sensitive pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
    rows int
    The maximum number of rows to return.
    from_ str
    Specifies a case-sensitive pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
    rows Number
    The maximum number of rows to return.
    from String
    Specifies a case-sensitive pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.

    GetOpenflowConnectorDefinitionsOpenflowConnectorDefinition

    ShowOutputs List<GetOpenflowConnectorDefinitionsOpenflowConnectorDefinitionShowOutput>
    Holds the output of SHOW OPENFLOW CONNECTOR DEFINITIONS.
    ShowOutputs []GetOpenflowConnectorDefinitionsOpenflowConnectorDefinitionShowOutput
    Holds the output of SHOW OPENFLOW CONNECTOR DEFINITIONS.
    show_outputs list(object)
    Holds the output of SHOW OPENFLOW CONNECTOR DEFINITIONS.
    showOutputs List<GetOpenflowConnectorDefinitionsOpenflowConnectorDefinitionShowOutput>
    Holds the output of SHOW OPENFLOW CONNECTOR DEFINITIONS.
    showOutputs GetOpenflowConnectorDefinitionsOpenflowConnectorDefinitionShowOutput[]
    Holds the output of SHOW OPENFLOW CONNECTOR DEFINITIONS.
    showOutputs List<Property Map>
    Holds the output of SHOW OPENFLOW CONNECTOR DEFINITIONS.

    GetOpenflowConnectorDefinitionsOpenflowConnectorDefinitionShowOutput

    Categories List<string>
    Description string
    DisplayName string
    MaxNodeCount int
    MinRuntimeNodeType string
    Name string
    Provider string
    Version string
    Categories []string
    Description string
    DisplayName string
    MaxNodeCount int
    MinRuntimeNodeType string
    Name string
    Provider string
    Version string
    categories list(string)
    description string
    display_name string
    max_node_count number
    min_runtime_node_type string
    name string
    provider string
    version string
    categories List<String>
    description String
    displayName String
    maxNodeCount Integer
    minRuntimeNodeType String
    name String
    provider String
    version String
    categories string[]
    description string
    displayName string
    maxNodeCount number
    minRuntimeNodeType string
    name string
    provider string
    version string
    categories List<String>
    description String
    displayName String
    maxNodeCount Number
    minRuntimeNodeType String
    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 snowflake Terraform Provider.
    snowflake logo
    Viewing docs for Snowflake v2.21.0
    published on Friday, Sep 11, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial