snowflake.core.warehouse.Warehouse¶
- class snowflake.core.warehouse.Warehouse(name: str, warehouse_type: str | None = None, warehouse_size: str | None = None, wait_for_completion: str | None = None, max_cluster_count: int | None = None, min_cluster_count: int | None = None, scaling_policy: str | None = None, auto_suspend: int | None = None, auto_resume: str | None = None, initially_suspended: str | None = None, resource_monitor: str | None = None, comment: str | None = None, enable_query_acceleration: str | None = None, query_acceleration_max_scale_factor: int | None = None, max_concurrency_level: int | None = None, statement_queued_timeout_in_seconds: int | None = None, statement_timeout_in_seconds: int | None = None, tags: str | None = None, type: str | None = None, size: str | None = None, state: str | None = None, started_clusters: int | None = None, running: int | None = None, queued: int | None = None, is_default: bool | None = None, is_current: bool | None = None, available: str | None = None, provisioning: str | None = None, quiescing: str | None = None, other: str | None = None, created_on: datetime | None = None, resumed_on: datetime | None = None, updated_on: datetime | None = None, owner: str | None = None, budget: str | None = None, kind: str | None = None)¶
Bases:
object
Methods
- __init__(name: str, warehouse_type: str | None = None, warehouse_size: str | None = None, wait_for_completion: str | None = None, max_cluster_count: int | None = None, min_cluster_count: int | None = None, scaling_policy: str | None = None, auto_suspend: int | None = None, auto_resume: str | None = None, initially_suspended: str | None = None, resource_monitor: str | None = None, comment: str | None = None, enable_query_acceleration: str | None = None, query_acceleration_max_scale_factor: int | None = None, max_concurrency_level: int | None = None, statement_queued_timeout_in_seconds: int | None = None, statement_timeout_in_seconds: int | None = None, tags: str | None = None, type: str | None = None, size: str | None = None, state: str | None = None, started_clusters: int | None = None, running: int | None = None, queued: int | None = None, is_default: bool | None = None, is_current: bool | None = None, available: str | None = None, provisioning: str | None = None, quiescing: str | None = None, other: str | None = None, created_on: datetime | None = None, resumed_on: datetime | None = None, updated_on: datetime | None = None, owner: str | None = None, budget: str | None = None, kind: str | None = None)¶
- classmethod from_dict(obj: dict) WarehouseModel ¶
Create an instance of Warehouse from a dict
- to_dict()¶
Returns the dictionary representation of the model using alias