snowflake.core.compute_pool.ComputePool

class snowflake.core.compute_pool.ComputePool(name: str, min_nodes: int, max_nodes: int, instance_family: str, warehouse: str | None = None, auto_resume: bool | None = None, comment: str | None = None, state: str | None = None, num_services: int | None = None, auto_suspend_secs: int | None = None, active_nodes: int | None = None, idle_nodes: int | None = None, created_on: datetime | None = None, resumed_on: datetime | None = None, updated_on: datetime | None = None, owner: str | None = None)

Bases: object

Methods

__init__(name: str, min_nodes: int, max_nodes: int, instance_family: str, warehouse: str | None = None, auto_resume: bool | None = None, comment: str | None = None, state: str | None = None, num_services: int | None = None, auto_suspend_secs: int | None = None, active_nodes: int | None = None, idle_nodes: int | None = None, created_on: datetime | None = None, resumed_on: datetime | None = None, updated_on: datetime | None = None, owner: str | None = None)
classmethod from_dict(obj: dict) ComputePoolModel

Create an instance of ComputePool from a dict

to_dict()

Returns the dictionary representation of the model using alias