1. Packages
  2. Snowflake Provider
  3. API Docs
  4. getSemanticViews
Snowflake v2.10.0 published on Saturday, Nov 22, 2025 by Pulumi
snowflake logo
Snowflake v2.10.0 published on Saturday, Nov 22, 2025 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 preview_features_enabled 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.

    Note Output from the DESCRIBE SEMANTIC VIEW is not currently available.

    Data source used to get details of filtered semantic views. Filtering is aligned with the current possibilities for SHOW SEMANTIC VIEWS query. The results are encapsulated in one output collection semantic_views. DESCRIBE is not currently supported and will be added before promoting the resource to stable.

    Using getSemanticViews

    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 getSemanticViews(args: GetSemanticViewsArgs, opts?: InvokeOptions): Promise<GetSemanticViewsResult>
    function getSemanticViewsOutput(args: GetSemanticViewsOutputArgs, opts?: InvokeOptions): Output<GetSemanticViewsResult>
    def get_semantic_views(in_: Optional[GetSemanticViewsIn] = None,
                           like: Optional[str] = None,
                           limit: Optional[GetSemanticViewsLimit] = None,
                           starts_with: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetSemanticViewsResult
    def get_semantic_views_output(in_: Optional[pulumi.Input[GetSemanticViewsInArgs]] = None,
                           like: Optional[pulumi.Input[str]] = None,
                           limit: Optional[pulumi.Input[GetSemanticViewsLimitArgs]] = None,
                           starts_with: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetSemanticViewsResult]
    func GetSemanticViews(ctx *Context, args *GetSemanticViewsArgs, opts ...InvokeOption) (*GetSemanticViewsResult, error)
    func GetSemanticViewsOutput(ctx *Context, args *GetSemanticViewsOutputArgs, opts ...InvokeOption) GetSemanticViewsResultOutput

    > Note: This function is named GetSemanticViews in the Go SDK.

    public static class GetSemanticViews 
    {
        public static Task<GetSemanticViewsResult> InvokeAsync(GetSemanticViewsArgs args, InvokeOptions? opts = null)
        public static Output<GetSemanticViewsResult> Invoke(GetSemanticViewsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSemanticViewsResult> getSemanticViews(GetSemanticViewsArgs args, InvokeOptions options)
    public static Output<GetSemanticViewsResult> getSemanticViews(GetSemanticViewsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: snowflake:index/getSemanticViews:getSemanticViews
      arguments:
        # arguments dictionary

    The following arguments are supported:

    In GetSemanticViewsIn
    IN clause to filter the list of objects
    Like string
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    Limit GetSemanticViewsLimit
    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 starts_with or like.
    StartsWith string
    Filters the output with case-sensitive characters indicating the beginning of the object name.
    In GetSemanticViewsIn
    IN clause to filter the list of objects
    Like string
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    Limit GetSemanticViewsLimit
    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 starts_with or like.
    StartsWith string
    Filters the output with case-sensitive characters indicating the beginning of the object name.
    in GetSemanticViewsIn
    IN clause to filter the list of objects
    like String
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    limit GetSemanticViewsLimit
    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 starts_with or like.
    startsWith String
    Filters the output with case-sensitive characters indicating the beginning of the object name.
    in GetSemanticViewsIn
    IN clause to filter the list of objects
    like string
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    limit GetSemanticViewsLimit
    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 starts_with or like.
    startsWith string
    Filters the output with case-sensitive characters indicating the beginning of the object name.
    in_ GetSemanticViewsIn
    IN clause to filter the list of objects
    like str
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    limit GetSemanticViewsLimit
    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 starts_with or like.
    starts_with str
    Filters the output with case-sensitive characters indicating the beginning of the object name.
    in Property Map
    IN clause to filter the list of objects
    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 starts_with or like.
    startsWith String
    Filters the output with case-sensitive characters indicating the beginning of the object name.

    getSemanticViews Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    SemanticViews List<GetSemanticViewsSemanticView>
    Holds the aggregated output of all semantic view details queries.
    In GetSemanticViewsIn
    IN clause to filter the list of objects
    Like string
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    Limit GetSemanticViewsLimit
    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 starts_with or like.
    StartsWith string
    Filters the output with case-sensitive characters indicating the beginning of the object name.
    Id string
    The provider-assigned unique ID for this managed resource.
    SemanticViews []GetSemanticViewsSemanticView
    Holds the aggregated output of all semantic view details queries.
    In GetSemanticViewsIn
    IN clause to filter the list of objects
    Like string
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    Limit GetSemanticViewsLimit
    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 starts_with or like.
    StartsWith string
    Filters the output with case-sensitive characters indicating the beginning of the object name.
    id String
    The provider-assigned unique ID for this managed resource.
    semanticViews List<GetSemanticViewsSemanticView>
    Holds the aggregated output of all semantic view details queries.
    in GetSemanticViewsIn
    IN clause to filter the list of objects
    like String
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    limit GetSemanticViewsLimit
    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 starts_with or like.
    startsWith String
    Filters the output with case-sensitive characters indicating the beginning of the object name.
    id string
    The provider-assigned unique ID for this managed resource.
    semanticViews GetSemanticViewsSemanticView[]
    Holds the aggregated output of all semantic view details queries.
    in GetSemanticViewsIn
    IN clause to filter the list of objects
    like string
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    limit GetSemanticViewsLimit
    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 starts_with or like.
    startsWith string
    Filters the output with case-sensitive characters indicating the beginning of the object name.
    id str
    The provider-assigned unique ID for this managed resource.
    semantic_views Sequence[GetSemanticViewsSemanticView]
    Holds the aggregated output of all semantic view details queries.
    in_ GetSemanticViewsIn
    IN clause to filter the list of objects
    like str
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    limit GetSemanticViewsLimit
    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 starts_with or like.
    starts_with str
    Filters the output with case-sensitive characters indicating the beginning of the object name.
    id String
    The provider-assigned unique ID for this managed resource.
    semanticViews List<Property Map>
    Holds the aggregated output of all semantic view details queries.
    in Property Map
    IN clause to filter the list of objects
    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 starts_with or like.
    startsWith String
    Filters the output with case-sensitive characters indicating the beginning of the object name.

    Supporting Types

    GetSemanticViewsIn

    Account bool
    Returns records for the entire account.
    Database string
    Returns records for the current database in use or for a specified database.
    Schema string
    Returns records for the current schema in use or a specified schema. Use fully qualified name.
    Account bool
    Returns records for the entire account.
    Database string
    Returns records for the current database in use or for a specified database.
    Schema string
    Returns records for the current schema in use or a specified schema. Use fully qualified name.
    account Boolean
    Returns records for the entire account.
    database String
    Returns records for the current database in use or for a specified database.
    schema String
    Returns records for the current schema in use or a specified schema. Use fully qualified name.
    account boolean
    Returns records for the entire account.
    database string
    Returns records for the current database in use or for a specified database.
    schema string
    Returns records for the current schema in use or a specified schema. Use fully qualified name.
    account bool
    Returns records for the entire account.
    database str
    Returns records for the current database in use or for a specified database.
    schema str
    Returns records for the current schema in use or a specified schema. Use fully qualified name.
    account Boolean
    Returns records for the entire account.
    database String
    Returns records for the current database in use or for a specified database.
    schema String
    Returns records for the current schema in use or a specified schema. Use fully qualified name.

    GetSemanticViewsLimit

    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 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.

    GetSemanticViewsSemanticView

    ShowOutputs List<GetSemanticViewsSemanticViewShowOutput>
    Holds the output of SHOW SEMANTIC VIEWS.
    ShowOutputs []GetSemanticViewsSemanticViewShowOutput
    Holds the output of SHOW SEMANTIC VIEWS.
    showOutputs List<GetSemanticViewsSemanticViewShowOutput>
    Holds the output of SHOW SEMANTIC VIEWS.
    showOutputs GetSemanticViewsSemanticViewShowOutput[]
    Holds the output of SHOW SEMANTIC VIEWS.
    show_outputs Sequence[GetSemanticViewsSemanticViewShowOutput]
    Holds the output of SHOW SEMANTIC VIEWS.
    showOutputs List<Property Map>
    Holds the output of SHOW SEMANTIC VIEWS.

    GetSemanticViewsSemanticViewShowOutput

    Comment string
    CreatedOn string
    DatabaseName string
    Extension string
    Name string
    Owner string
    OwnerRoleType string
    SchemaName string
    Comment string
    CreatedOn string
    DatabaseName string
    Extension string
    Name string
    Owner string
    OwnerRoleType string
    SchemaName string
    comment String
    createdOn String
    databaseName String
    extension String
    name String
    owner String
    ownerRoleType String
    schemaName String
    comment string
    createdOn string
    databaseName string
    extension string
    name string
    owner string
    ownerRoleType string
    schemaName string
    comment String
    createdOn String
    databaseName String
    extension String
    name String
    owner String
    ownerRoleType String
    schemaName 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
    Snowflake v2.10.0 published on Saturday, Nov 22, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate