montecarlo integrations refresh-bi-to-warehouse-connections (CLI v1)

montecarlo integrations refresh-bi-to-warehouse-connections is a command of v1 of the Monte Carlo CLI, the Python CLI (montecarlodata), in the montecarlo integrations group.

Create or refresh details of BI warehouse sources. Warehouse sources are warehouses connected to a BI container.

If only the bi-container-id parameter is supplied, then the behavior will be the following: 

(1) All warehouse sources in the customer's BI system will be matched against warehouses in Monte Carlo. 

(2) If all of the customer's BI warehouse sources have a match in Monte Carlo, then the warehouse source details will be saved. 

(3) Otherwise, the response will contain the details of customer's BI warehouse sources and Monte Carlo warehouses. The caller will then need to manually save the warehouse source details by specifying the warehouse-source-details parameter. 

If the warehouse-source-details parameter is also supplied, then the warehouses will be validated and saved.

montecarlo integrations refresh-bi-to-warehouse-connections [OPTIONS]

Options

  • --bi-container-id <bi_container_id>: Required ID of the BI container for which to refresh warehouse sources.
  • --warehouse-source-details <warehouse_source_details>: An optional JSON array of warehouse sources. If supplied, these warehouse sources will be created. If an entry with the same bi_container_id, warehouse_resource_id and warehouse_resource_type is found, its bi_warehouse_id will be updated. Each JSON object in this array has the following fields:  bi_warehouse_id: The ID of the warehouse in the customer's ID space.  warehouse_resource_id: The ID of the warehouse Monte Carlo's ID space.  warehouse_resource_type: The type of the warehouse.  E.g. --warehouse-source-details '[{"bi_warehouse_id":"0dd5d40e-8749-71cb-9fa5-2e33b570ff43", "warehouse_resource_id": "11b1ad6f-e35c-4532-84d8-2fc88bd53660", "warehouse_resource_type": "snowflake"}]'

Source: montecarlo integrations refresh-bi-to-warehouse-connections in the CLI reference

This page is generated from the CLI's help text on each release. Changes made in ReadMe are overwritten.


Did this page help you?