snowflake.core.compute_pool | Snowflake Documentation (original) (raw)
Manages Snowpark Container Compute Pools.
new_pool_def = ComputePool( ... name="MYCOMPUTEPOOL", ... instance_family="STANDARD_1", ... min_nodes=1, ... max_nodes=1, ... ) new_pool = root.compute_pools.create(new_pool_def) cp_snapshot = new_pool.fetch() cp_data = root.compute_pools.iter(like=”%COMPUTEPOOL”) new_pool.resume() new_pool.stop_all_services() new_pool.suspend() new_pool.delete() an_existing_pool = root.compute_pools["existing_compute_pool"] an_existing_pool.suspend()