1. Packages
  2. Snowflake Provider
  3. API Docs
  4. getListings
Snowflake v2.11.0 published on Saturday, Dec 20, 2025 by Pulumi
snowflake logo
Snowflake v2.11.0 published on Saturday, Dec 20, 2025 by Pulumi

    !> Preview Feature This data source is a preview feature and is subject to breaking changes, even without bumping the major version. To use this feature, add snowflake_listings_datasource to preview_features_enabled field in the provider configuration. Read more about preview features in our documentation.

    Note This data source focuses on base query commands (SHOW LISTINGS and DESCRIBE LISTING). Other query commands like SHOW AVAILABLE LISTINGS, DESCRIBE AVAILABLE LISTING, SHOW LISTING OFFERS, SHOW OFFERS, SHOW PRICING PLANS, and SHOW VERSIONS IN LISTING are not included and will be added depending on demand.

    Data source used to get details of filtered listings. Filtering is aligned with the current possibilities for SHOW LISTINGS query (like, starts_with, and limit are supported). The results of SHOW and DESCRIBE are encapsulated in one output collection.

    Using getListings

    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 getListings(args: GetListingsArgs, opts?: InvokeOptions): Promise<GetListingsResult>
    function getListingsOutput(args: GetListingsOutputArgs, opts?: InvokeOptions): Output<GetListingsResult>
    def get_listings(like: Optional[str] = None,
                     limit: Optional[GetListingsLimit] = None,
                     starts_with: Optional[str] = None,
                     with_describe: Optional[bool] = None,
                     opts: Optional[InvokeOptions] = None) -> GetListingsResult
    def get_listings_output(like: Optional[pulumi.Input[str]] = None,
                     limit: Optional[pulumi.Input[GetListingsLimitArgs]] = None,
                     starts_with: Optional[pulumi.Input[str]] = None,
                     with_describe: Optional[pulumi.Input[bool]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetListingsResult]
    func GetListings(ctx *Context, args *GetListingsArgs, opts ...InvokeOption) (*GetListingsResult, error)
    func GetListingsOutput(ctx *Context, args *GetListingsOutputArgs, opts ...InvokeOption) GetListingsResultOutput

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

    public static class GetListings 
    {
        public static Task<GetListingsResult> InvokeAsync(GetListingsArgs args, InvokeOptions? opts = null)
        public static Output<GetListingsResult> Invoke(GetListingsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetListingsResult> getListings(GetListingsArgs args, InvokeOptions options)
    public static Output<GetListingsResult> getListings(GetListingsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: snowflake:index/getListings:getListings
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Like string
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    Limit GetListingsLimit
    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.
    WithDescribe bool
    (Default: true) Runs DESC LISTING for each listing returned by SHOW LISTINGS. The output of describe is saved to the description field. By default this value is set to true.
    Like string
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    Limit GetListingsLimit
    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.
    WithDescribe bool
    (Default: true) Runs DESC LISTING for each listing returned by SHOW LISTINGS. The output of describe is saved to the description field. By default this value is set to true.
    like String
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    limit GetListingsLimit
    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.
    withDescribe Boolean
    (Default: true) Runs DESC LISTING for each listing returned by SHOW LISTINGS. The output of describe is saved to the description field. By default this value is set to true.
    like string
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    limit GetListingsLimit
    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.
    withDescribe boolean
    (Default: true) Runs DESC LISTING for each listing returned by SHOW LISTINGS. The output of describe is saved to the description field. By default this value is set to true.
    like str
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    limit GetListingsLimit
    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.
    with_describe bool
    (Default: true) Runs DESC LISTING for each listing returned by SHOW LISTINGS. The output of describe is saved to the description field. By default this value is set to true.
    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.
    withDescribe Boolean
    (Default: true) Runs DESC LISTING for each listing returned by SHOW LISTINGS. The output of describe is saved to the description field. By default this value is set to true.

    getListings Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Listings List<GetListingsListing>
    Holds the aggregated output of all listings details queries.
    Like string
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    Limit GetListingsLimit
    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.
    WithDescribe bool
    (Default: true) Runs DESC LISTING for each listing returned by SHOW LISTINGS. The output of describe is saved to the description field. By default this value is set to true.
    Id string
    The provider-assigned unique ID for this managed resource.
    Listings []GetListingsListing
    Holds the aggregated output of all listings details queries.
    Like string
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    Limit GetListingsLimit
    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.
    WithDescribe bool
    (Default: true) Runs DESC LISTING for each listing returned by SHOW LISTINGS. The output of describe is saved to the description field. By default this value is set to true.
    id String
    The provider-assigned unique ID for this managed resource.
    listings List<GetListingsListing>
    Holds the aggregated output of all listings details queries.
    like String
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    limit GetListingsLimit
    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.
    withDescribe Boolean
    (Default: true) Runs DESC LISTING for each listing returned by SHOW LISTINGS. The output of describe is saved to the description field. By default this value is set to true.
    id string
    The provider-assigned unique ID for this managed resource.
    listings GetListingsListing[]
    Holds the aggregated output of all listings details queries.
    like string
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    limit GetListingsLimit
    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.
    withDescribe boolean
    (Default: true) Runs DESC LISTING for each listing returned by SHOW LISTINGS. The output of describe is saved to the description field. By default this value is set to true.
    id str
    The provider-assigned unique ID for this managed resource.
    listings Sequence[GetListingsListing]
    Holds the aggregated output of all listings details queries.
    like str
    Filters the output with case-insensitive pattern, with support for SQL wildcard characters (% and _).
    limit GetListingsLimit
    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.
    with_describe bool
    (Default: true) Runs DESC LISTING for each listing returned by SHOW LISTINGS. The output of describe is saved to the description field. By default this value is set to true.
    id String
    The provider-assigned unique ID for this managed resource.
    listings List<Property Map>
    Holds the aggregated output of all listings details 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 starts_with or like.
    startsWith String
    Filters the output with case-sensitive characters indicating the beginning of the object name.
    withDescribe Boolean
    (Default: true) Runs DESC LISTING for each listing returned by SHOW LISTINGS. The output of describe is saved to the description field. By default this value is set to true.

    Supporting Types

    GetListingsLimit

    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.

    GetListingsListing

    DescribeOutputs List<GetListingsListingDescribeOutput>
    Holds the output of DESCRIBE LISTING.
    ShowOutputs List<GetListingsListingShowOutput>
    Holds the output of SHOW LISTINGS.
    DescribeOutputs []GetListingsListingDescribeOutput
    Holds the output of DESCRIBE LISTING.
    ShowOutputs []GetListingsListingShowOutput
    Holds the output of SHOW LISTINGS.
    describeOutputs List<GetListingsListingDescribeOutput>
    Holds the output of DESCRIBE LISTING.
    showOutputs List<GetListingsListingShowOutput>
    Holds the output of SHOW LISTINGS.
    describeOutputs GetListingsListingDescribeOutput[]
    Holds the output of DESCRIBE LISTING.
    showOutputs GetListingsListingShowOutput[]
    Holds the output of SHOW LISTINGS.
    describe_outputs Sequence[GetListingsListingDescribeOutput]
    Holds the output of DESCRIBE LISTING.
    show_outputs Sequence[GetListingsListingShowOutput]
    Holds the output of SHOW LISTINGS.
    describeOutputs List<Property Map>
    Holds the output of DESCRIBE LISTING.
    showOutputs List<Property Map>
    Holds the output of SHOW LISTINGS.

    GetListingsListingDescribeOutput

    ApplicationPackage string
    ApproverContact string
    BusinessNeeds string
    Categories string
    Comment string
    CreatedOn string
    CustomizedContactInfo string
    DataAttributes string
    DataDictionary string
    DataPreview string
    Description string
    Distribution string
    GlobalName string
    IsApplication bool
    IsByRequest bool
    IsLimitedTrial bool
    IsMonetized bool
    IsMountlessQueryable bool
    IsShare bool
    IsTargeted bool
    LastCommittedVersionAlias string
    LastCommittedVersionName string
    LastCommittedVersionUri string
    LegacyUniformListingLocators string
    LimitedTrialPlan string
    ListingTerms string
    LiveVersionUri string
    ManifestYaml string
    MonetizationDisplayOrder string
    Name string
    OrganizationProfileName string
    Owner string
    OwnerRoleType string
    Profile string
    PublishedOn string
    PublishedVersionAlias string
    PublishedVersionName string
    PublishedVersionUri string
    RefreshSchedule string
    RefreshType string
    Regions string
    RejectionReason string
    RequestApprovalType string
    Resources string
    RetriedOn string
    ReviewState string
    Revisions string
    ScheduledDropTime string
    Share string
    State string
    Subtitle string
    SupportContact string
    TargetAccounts string
    Title string
    TrialDetails string
    UniformListingLocator string
    UnpublishedByAdminReasons string
    UpdatedOn string
    UsageExamples string
    ApplicationPackage string
    ApproverContact string
    BusinessNeeds string
    Categories string
    Comment string
    CreatedOn string
    CustomizedContactInfo string
    DataAttributes string
    DataDictionary string
    DataPreview string
    Description string
    Distribution string
    GlobalName string
    IsApplication bool
    IsByRequest bool
    IsLimitedTrial bool
    IsMonetized bool
    IsMountlessQueryable bool
    IsShare bool
    IsTargeted bool
    LastCommittedVersionAlias string
    LastCommittedVersionName string
    LastCommittedVersionUri string
    LegacyUniformListingLocators string
    LimitedTrialPlan string
    ListingTerms string
    LiveVersionUri string
    ManifestYaml string
    MonetizationDisplayOrder string
    Name string
    OrganizationProfileName string
    Owner string
    OwnerRoleType string
    Profile string
    PublishedOn string
    PublishedVersionAlias string
    PublishedVersionName string
    PublishedVersionUri string
    RefreshSchedule string
    RefreshType string
    Regions string
    RejectionReason string
    RequestApprovalType string
    Resources string
    RetriedOn string
    ReviewState string
    Revisions string
    ScheduledDropTime string
    Share string
    State string
    Subtitle string
    SupportContact string
    TargetAccounts string
    Title string
    TrialDetails string
    UniformListingLocator string
    UnpublishedByAdminReasons string
    UpdatedOn string
    UsageExamples string
    applicationPackage String
    approverContact String
    businessNeeds String
    categories String
    comment String
    createdOn String
    customizedContactInfo String
    dataAttributes String
    dataDictionary String
    dataPreview String
    description String
    distribution String
    globalName String
    isApplication Boolean
    isByRequest Boolean
    isLimitedTrial Boolean
    isMonetized Boolean
    isMountlessQueryable Boolean
    isShare Boolean
    isTargeted Boolean
    lastCommittedVersionAlias String
    lastCommittedVersionName String
    lastCommittedVersionUri String
    legacyUniformListingLocators String
    limitedTrialPlan String
    listingTerms String
    liveVersionUri String
    manifestYaml String
    monetizationDisplayOrder String
    name String
    organizationProfileName String
    owner String
    ownerRoleType String
    profile String
    publishedOn String
    publishedVersionAlias String
    publishedVersionName String
    publishedVersionUri String
    refreshSchedule String
    refreshType String
    regions String
    rejectionReason String
    requestApprovalType String
    resources String
    retriedOn String
    reviewState String
    revisions String
    scheduledDropTime String
    share String
    state String
    subtitle String
    supportContact String
    targetAccounts String
    title String
    trialDetails String
    uniformListingLocator String
    unpublishedByAdminReasons String
    updatedOn String
    usageExamples String
    applicationPackage string
    approverContact string
    businessNeeds string
    categories string
    comment string
    createdOn string
    customizedContactInfo string
    dataAttributes string
    dataDictionary string
    dataPreview string
    description string
    distribution string
    globalName string
    isApplication boolean
    isByRequest boolean
    isLimitedTrial boolean
    isMonetized boolean
    isMountlessQueryable boolean
    isShare boolean
    isTargeted boolean
    lastCommittedVersionAlias string
    lastCommittedVersionName string
    lastCommittedVersionUri string
    legacyUniformListingLocators string
    limitedTrialPlan string
    listingTerms string
    liveVersionUri string
    manifestYaml string
    monetizationDisplayOrder string
    name string
    organizationProfileName string
    owner string
    ownerRoleType string
    profile string
    publishedOn string
    publishedVersionAlias string
    publishedVersionName string
    publishedVersionUri string
    refreshSchedule string
    refreshType string
    regions string
    rejectionReason string
    requestApprovalType string
    resources string
    retriedOn string
    reviewState string
    revisions string
    scheduledDropTime string
    share string
    state string
    subtitle string
    supportContact string
    targetAccounts string
    title string
    trialDetails string
    uniformListingLocator string
    unpublishedByAdminReasons string
    updatedOn string
    usageExamples string
    application_package str
    approver_contact str
    business_needs str
    categories str
    comment str
    created_on str
    customized_contact_info str
    data_attributes str
    data_dictionary str
    data_preview str
    description str
    distribution str
    global_name str
    is_application bool
    is_by_request bool
    is_limited_trial bool
    is_monetized bool
    is_mountless_queryable bool
    is_share bool
    is_targeted bool
    last_committed_version_alias str
    last_committed_version_name str
    last_committed_version_uri str
    legacy_uniform_listing_locators str
    limited_trial_plan str
    listing_terms str
    live_version_uri str
    manifest_yaml str
    monetization_display_order str
    name str
    organization_profile_name str
    owner str
    owner_role_type str
    profile str
    published_on str
    published_version_alias str
    published_version_name str
    published_version_uri str
    refresh_schedule str
    refresh_type str
    regions str
    rejection_reason str
    request_approval_type str
    resources str
    retried_on str
    review_state str
    revisions str
    scheduled_drop_time str
    share str
    state str
    subtitle str
    support_contact str
    target_accounts str
    title str
    trial_details str
    uniform_listing_locator str
    unpublished_by_admin_reasons str
    updated_on str
    usage_examples str
    applicationPackage String
    approverContact String
    businessNeeds String
    categories String
    comment String
    createdOn String
    customizedContactInfo String
    dataAttributes String
    dataDictionary String
    dataPreview String
    description String
    distribution String
    globalName String
    isApplication Boolean
    isByRequest Boolean
    isLimitedTrial Boolean
    isMonetized Boolean
    isMountlessQueryable Boolean
    isShare Boolean
    isTargeted Boolean
    lastCommittedVersionAlias String
    lastCommittedVersionName String
    lastCommittedVersionUri String
    legacyUniformListingLocators String
    limitedTrialPlan String
    listingTerms String
    liveVersionUri String
    manifestYaml String
    monetizationDisplayOrder String
    name String
    organizationProfileName String
    owner String
    ownerRoleType String
    profile String
    publishedOn String
    publishedVersionAlias String
    publishedVersionName String
    publishedVersionUri String
    refreshSchedule String
    refreshType String
    regions String
    rejectionReason String
    requestApprovalType String
    resources String
    retriedOn String
    reviewState String
    revisions String
    scheduledDropTime String
    share String
    state String
    subtitle String
    supportContact String
    targetAccounts String
    title String
    trialDetails String
    uniformListingLocator String
    unpublishedByAdminReasons String
    updatedOn String
    usageExamples String

    GetListingsListingShowOutput

    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.11.0 published on Saturday, Dec 20, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate