Create a (or alter an existing) warehouse.

PUT {{baseUrl}}/api/v2/warehouses/:name

Create a (or alter an existing) warehouse. Even if the operation is just an alter, the full property set must be provided.

Request Body

{"name"=>"\"\"\"\"\"\"\"\"\"\"\"jJ\"\"\"", "warehouse_type"=>"<string>", "warehouse_size"=>"<string>", "wait_for_completion"=>"false", "max_cluster_count"=>"<integer>", "min_cluster_count"=>"<integer>", "scaling_policy"=>"<string>", "auto_suspend"=>"<integer>", "auto_resume"=>"false", "initially_suspended"=>"false", "resource_monitor"=>"\"=g`J3\"\"n9]\"", "comment"=>"<string>", "enable_query_acceleration"=>"false", "query_acceleration_max_scale_factor"=>"<integer>", "max_concurrency_level"=>"<integer>", "statement_queued_timeout_in_seconds"=>"<integer>", "statement_timeout_in_seconds"=>"<integer>", "type"=>"<string>", "size"=>"<string>", "state"=>"<string>", "started_clusters"=>"<integer>", "running"=>"<integer>", "queued"=>"<integer>", "is_default"=>"<boolean>", "is_current"=>"<boolean>", "available"=>"<string>", "provisioning"=>"<string>", "quiescing"=>"<string>", "other"=>"<string>", "created_on"=>"<dateTime>", "resumed_on"=>"<dateTime>", "updated_on"=>"<dateTime>", "owner"=>"<string>", "budget"=>"<string>", "kind"=>"<string>", "owner_role_type"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;status&quot;:&quot;\u003cstring\u003e&quot;}