Function getDataSourceGateways

  • Returns the list of gateway IDs available for the specified Direct Access Gateway datasource. Gateways enable on-premises datasources to be accessed from Qlik Cloud. Results are returned from a cache by default; set forceRefresh to true to retrieve the current list from the backend.

    Parameters

    • dataSourceId: string

      The unique identifier of the Direct Access Gateway datasource to list gateways for. Must be prefixed with DG_.

    • query: { forceRefresh?: boolean }

      an object with query parameters

      • OptionalforceRefresh?: boolean

        When true, bypasses the cache and retrieves the current gateway list from the backend. When false or omitted, a cached list is returned.

    • Optionaloptions: ApiCallOptions

    Returns Promise<dataSources.GetDataSourceGatewaysHttpResponse>

    getDataSourceGateways(
    "DG_rest",
    {
    forceRefresh: true
    }
    )

    GetDataSourceGatewaysHttpError