Databricks SDK for JavaScript
    Preparing search index...

    Lists all of the SQL warehouses. TODO: consider paginating to limit the number of warehouses returned.

    interface ListWarehousesRequest {
        pageSize?: number;
        pageToken?: string;
        runAsUserId?: bigint;
    }
    Index

    Properties

    pageSize?: number

    The max number of warehouses to return.

    pageToken?: string

    A page token, received from a previous ListWarehouses call. Provide this to retrieve the subsequent page; otherwise the first will be retrieved.

    When paginating, all other parameters provided to ListWarehouses must match the call that provided the page token.

    runAsUserId?: bigint

    Deprecated: this field is ignored by the server. Service Principal which will be used to fetch the list of endpoints. If not specified, SQL Gateway will use the user from the session header.