1. Packages
  2. Snowflake Provider
  3. API Docs
  4. getTags
Snowflake v1.2.0 published on Monday, Apr 14, 2025 by Pulumi

snowflake.getTags

Explore with Pulumi AI

Snowflake v1.2.0 published on Monday, Apr 14, 2025 by Pulumi

Data source used to get details of filtered tags. Filtering is aligned with the current possibilities for SHOW TAGS query. The results of SHOW are encapsulated in one output collection tags.

Using getTags

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 getTags(args: GetTagsArgs, opts?: InvokeOptions): Promise<GetTagsResult>
function getTagsOutput(args: GetTagsOutputArgs, opts?: InvokeOptions): Output<GetTagsResult>
Copy
def get_tags(in_: Optional[GetTagsIn] = None,
             like: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetTagsResult
def get_tags_output(in_: Optional[pulumi.Input[GetTagsInArgs]] = None,
             like: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetTagsResult]
Copy
func GetTags(ctx *Context, args *GetTagsArgs, opts ...InvokeOption) (*GetTagsResult, error)
func GetTagsOutput(ctx *Context, args *GetTagsOutputArgs, opts ...InvokeOption) GetTagsResultOutput
Copy

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

public static class GetTags 
{
    public static Task<GetTagsResult> InvokeAsync(GetTagsArgs args, InvokeOptions? opts = null)
    public static Output<GetTagsResult> Invoke(GetTagsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTagsResult> getTags(GetTagsArgs args, InvokeOptions options)
public static Output<GetTagsResult> getTags(GetTagsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: snowflake:index/getTags:getTags
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

In GetTagsIn
IN clause to filter the list of objects
Like string
Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
In GetTagsIn
IN clause to filter the list of objects
Like string
Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
in GetTagsIn
IN clause to filter the list of objects
like String
Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
in GetTagsIn
IN clause to filter the list of objects
like string
Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
in_ GetTagsIn
IN clause to filter the list of objects
like str
Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
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 _).

getTags Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Tags List<GetTagsTag>
Holds the aggregated output of all tags details queries.
In GetTagsIn
IN clause to filter the list of objects
Like string
Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
Id string
The provider-assigned unique ID for this managed resource.
Tags []GetTagsTag
Holds the aggregated output of all tags details queries.
In GetTagsIn
IN clause to filter the list of objects
Like string
Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
id String
The provider-assigned unique ID for this managed resource.
tags List<GetTagsTag>
Holds the aggregated output of all tags details queries.
in GetTagsIn
IN clause to filter the list of objects
like String
Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
id string
The provider-assigned unique ID for this managed resource.
tags GetTagsTag[]
Holds the aggregated output of all tags details queries.
in GetTagsIn
IN clause to filter the list of objects
like string
Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
id str
The provider-assigned unique ID for this managed resource.
tags Sequence[GetTagsTag]
Holds the aggregated output of all tags details queries.
in_ GetTagsIn
IN clause to filter the list of objects
like str
Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
id String
The provider-assigned unique ID for this managed resource.
tags List<Property Map>
Holds the aggregated output of all tags 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 _).

Supporting Types

GetTagsIn

Account bool
Returns records for the entire account.
Application string
Returns records for the specified application.
ApplicationPackage string
Returns records for the specified application package.
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.
Application string
Returns records for the specified application.
ApplicationPackage string
Returns records for the specified application package.
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.
application String
Returns records for the specified application.
applicationPackage String
Returns records for the specified application package.
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.
application string
Returns records for the specified application.
applicationPackage string
Returns records for the specified application package.
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.
application str
Returns records for the specified application.
application_package str
Returns records for the specified application package.
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.
application String
Returns records for the specified application.
applicationPackage String
Returns records for the specified application package.
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.

GetTagsTag

ShowOutputs This property is required. List<GetTagsTagShowOutput>
Holds the output of SHOW TAGS.
ShowOutputs This property is required. []GetTagsTagShowOutput
Holds the output of SHOW TAGS.
showOutputs This property is required. List<GetTagsTagShowOutput>
Holds the output of SHOW TAGS.
showOutputs This property is required. GetTagsTagShowOutput[]
Holds the output of SHOW TAGS.
show_outputs This property is required. Sequence[GetTagsTagShowOutput]
Holds the output of SHOW TAGS.
showOutputs This property is required. List<Property Map>
Holds the output of SHOW TAGS.

GetTagsTagShowOutput

AllowedValues This property is required. List<string>
Comment This property is required. string
CreatedOn This property is required. string
DatabaseName This property is required. string
Name This property is required. string
Owner This property is required. string
OwnerRoleType This property is required. string
SchemaName This property is required. string
AllowedValues This property is required. []string
Comment This property is required. string
CreatedOn This property is required. string
DatabaseName This property is required. string
Name This property is required. string
Owner This property is required. string
OwnerRoleType This property is required. string
SchemaName This property is required. string
allowedValues This property is required. List<String>
comment This property is required. String
createdOn This property is required. String
databaseName This property is required. String
name This property is required. String
owner This property is required. String
ownerRoleType This property is required. String
schemaName This property is required. String
allowedValues This property is required. string[]
comment This property is required. string
createdOn This property is required. string
databaseName This property is required. string
name This property is required. string
owner This property is required. string
ownerRoleType This property is required. string
schemaName This property is required. string
allowed_values This property is required. Sequence[str]
comment This property is required. str
created_on This property is required. str
database_name This property is required. str
name This property is required. str
owner This property is required. str
owner_role_type This property is required. str
schema_name This property is required. str
allowedValues This property is required. List<String>
comment This property is required. String
createdOn This property is required. String
databaseName This property is required. String
name This property is required. String
owner This property is required. String
ownerRoleType This property is required. String
schemaName This property is required. String

Package Details

Repository
Snowflake pulumi/pulumi-snowflake
License
Apache-2.0
Notes
This Pulumi package is based on the snowflake Terraform Provider.
Snowflake v1.2.0 published on Monday, Apr 14, 2025 by Pulumi