Snowflake Warehouse API

The Snowflake Warehouse API is a REST API that you can use to access, customize and manage virtual warehouse in a Snowflake account.

OpenAPI Specification

warehouse.yaml Raw ↑
openapi: 3.0.0
servers:
- description: Snowflake Warehouse API
  url: https://org-account.snowflakecomputing.com
info:
  version: 0.0.1
  title: Snowflake Warehouse API
  description: The Snowflake Warehouse API is a REST API that you can use to access, customize and manage virtual warehouse in a Snowflake account.
  contact:
    name: Snowflake, Inc.
    url: https://snowflake.com
    email: support@snowflake.com
paths:
  /api/v2/warehouses:
    post:
      summary: Create or Replace Warehouse
      description: Create a virtual warehouse. Equivalent to CREATE WAREHOUSE in SQL.
      operationId: createWarehouse
      tags:
      - warehouse
      parameters:
      - $ref: common.yaml#/components/parameters/createMode
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Warehouse'
            examples:
              CreatewarehouseRequestExample:
                summary: Default createWarehouse request
                x-microcks-default: true
                value:
                  name: {}
                  warehouse_type: example_value
                  warehouse_size: example_value
                  wait_for_completion: true
                  max_cluster_count: 10
                  min_cluster_count: 10
                  scaling_policy: example_value
                  auto_suspend: 10
                  auto_resume: true
                  initially_suspended: true
                  resource_monitor: {}
                  comment: example_value
                  enable_query_acceleration: true
                  query_acceleration_max_scale_factor: 10
                  max_concurrency_level: 10
                  statement_queued_timeout_in_seconds: 10
                  statement_timeout_in_seconds: 10
                  type: example_value
                  size: example_value
                  state: example_value
                  started_clusters: 10
                  running: 10
                  queued: 10
                  is_default: true
                  is_current: true
                  available: example_value
                  provisioning: example_value
                  quiescing: example_value
                  other: example_value
                  created_on: '2026-01-15T10:30:00Z'
                  resumed_on: '2026-01-15T10:30:00Z'
                  updated_on: '2026-01-15T10:30:00Z'
                  owner: example_value
                  budget: example_value
                  kind: example_value
                  owner_role_type: example_value
                  warehouse_credit_limit: 10
                  target_statement_size: example_value
      responses:
        '200':
          $ref: common.yaml#/components/responses/200SuccessResponse
        '202':
          $ref: common.yaml#/components/responses/202SuccessAcceptedResponse
        '400':
          $ref: common.yaml#/components/responses/400BadRequest
        '401':
          $ref: common.yaml#/components/responses/401Unauthorized
        '403':
          $ref: common.yaml#/components/responses/403Forbidden
        '405':
          $ref: common.yaml#/components/responses/405MethodNotAllowed
        '408':
          $ref: common.yaml#/components/responses/408RequestTimeout
        '409':
          $ref: common.yaml#/components/responses/409Conflict
        '410':
          $ref: common.yaml#/components/responses/410Gone
        '429':
          $ref: common.yaml#/components/responses/429LimitExceeded
        '500':
          $ref: common.yaml#/components/responses/500InternalServerError
        '503':
          $ref: common.yaml#/components/responses/503ServiceUnavailable
        '504':
          $ref: common.yaml#/components/responses/504GatewayTimeout
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    get:
      summary: List Warehouse
      description: Show a list of warehouse filtered by pattern. Equivalent to SHOW WAREHOUSE in SQL.
      operationId: listWarehouses
      tags:
      - warehouse
      parameters:
      - $ref: common.yaml#/components/parameters/like
      responses:
        '200':
          description: successful
          headers:
            X-Snowflake-Request-ID:
              $ref: common.yaml#/components/headers/X-Snowflake-Request-ID
            Link:
              $ref: common.yaml#/components/headers/Link
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Warehouse'
              examples:
                Listwarehouses200Example:
                  summary: Default listWarehouses 200 response
                  x-microcks-default: true
                  value:
                  - name: {}
                    warehouse_type: example_value
                    warehouse_size: example_value
                    wait_for_completion: true
                    max_cluster_count: 10
                    min_cluster_count: 10
                    scaling_policy: example_value
                    auto_suspend: 10
                    auto_resume: true
                    initially_suspended: true
                    resource_monitor: {}
                    comment: example_value
                    enable_query_acceleration: true
                    query_acceleration_max_scale_factor: 10
                    max_concurrency_level: 10
                    statement_queued_timeout_in_seconds: 10
                    statement_timeout_in_seconds: 10
                    type: example_value
                    size: example_value
                    state: example_value
                    started_clusters: 10
                    running: 10
                    queued: 10
                    is_default: true
                    is_current: true
                    available: example_value
                    provisioning: example_value
                    quiescing: example_value
                    other: example_value
                    created_on: '2026-01-15T10:30:00Z'
                    resumed_on: '2026-01-15T10:30:00Z'
                    updated_on: '2026-01-15T10:30:00Z'
                    owner: example_value
                    budget: example_value
                    kind: example_value
                    owner_role_type: example_value
                    warehouse_credit_limit: 10
                    target_statement_size: example_value
        '202':
          $ref: common.yaml#/components/responses/202SuccessAcceptedResponse
        '400':
          $ref: common.yaml#/components/responses/400BadRequest
        '401':
          $ref: common.yaml#/components/responses/401Unauthorized
        '403':
          $ref: common.yaml#/components/responses/403Forbidden
        '404':
          $ref: common.yaml#/components/responses/404NotFound
        '405':
          $ref: common.yaml#/components/responses/405MethodNotAllowed
        '408':
          $ref: common.yaml#/components/responses/408RequestTimeout
        '409':
          $ref: common.yaml#/components/responses/409Conflict
        '410':
          $ref: common.yaml#/components/responses/410Gone
        '429':
          $ref: common.yaml#/components/responses/429LimitExceeded
        '500':
          $ref: common.yaml#/components/responses/500InternalServerError
        '503':
          $ref: common.yaml#/components/responses/503ServiceUnavailable
        '504':
          $ref: common.yaml#/components/responses/504GatewayTimeout
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/v2/warehouses/{name}:
    get:
      summary: Describe Warehouse
      description: Describes the warehouse, show information of the chosen warehouse. Equivalent to DESCRIBE WAREHOUSE in SQL.
      operationId: fetchWarehouse
      tags:
      - warehouse
      parameters:
      - $ref: common.yaml#/components/parameters/name
      responses:
        '200':
          description: successful
          headers:
            X-Snowflake-Request-ID:
              $ref: common.yaml#/components/headers/X-Snowflake-Request-ID
            Link:
              $ref: common.yaml#/components/headers/Link
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Warehouse'
              examples:
                Fetchwarehouse200Example:
                  summary: Default fetchWarehouse 200 response
                  x-microcks-default: true
                  value:
                    name: {}
                    warehouse_type: example_value
                    warehouse_size: example_value
                    wait_for_completion: true
                    max_cluster_count: 10
                    min_cluster_count: 10
                    scaling_policy: example_value
                    auto_suspend: 10
                    auto_resume: true
                    initially_suspended: true
                    resource_monitor: {}
                    comment: example_value
                    enable_query_acceleration: true
                    query_acceleration_max_scale_factor: 10
                    max_concurrency_level: 10
                    statement_queued_timeout_in_seconds: 10
                    statement_timeout_in_seconds: 10
                    type: example_value
                    size: example_value
                    state: example_value
                    started_clusters: 10
                    running: 10
                    queued: 10
                    is_default: true
                    is_current: true
                    available: example_value
                    provisioning: example_value
                    quiescing: example_value
                    other: example_value
                    created_on: '2026-01-15T10:30:00Z'
                    resumed_on: '2026-01-15T10:30:00Z'
                    updated_on: '2026-01-15T10:30:00Z'
                    owner: example_value
                    budget: example_value
                    kind: example_value
                    owner_role_type: example_value
                    warehouse_credit_limit: 10
                    target_statement_size: example_value
        '202':
          $ref: common.yaml#/components/responses/202SuccessAcceptedResponse
        '400':
          $ref: common.yaml#/components/responses/400BadRequest
        '401':
          $ref: common.yaml#/components/responses/401Unauthorized
        '403':
          $ref: common.yaml#/components/responses/403Forbidden
        '404':
          $ref: common.yaml#/components/responses/404NotFound
        '405':
          $ref: common.yaml#/components/responses/405MethodNotAllowed
        '408':
          $ref: common.yaml#/components/responses/408RequestTimeout
        '409':
          $ref: common.yaml#/components/responses/409Conflict
        '410':
          $ref: common.yaml#/components/responses/410Gone
        '429':
          $ref: common.yaml#/components/responses/429LimitExceeded
        '500':
          $ref: common.yaml#/components/responses/500InternalServerError
        '503':
          $ref: common.yaml#/components/responses/503ServiceUnavailable
        '504':
          $ref: common.yaml#/components/responses/504GatewayTimeout
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    delete:
      summary: Drop Warehouse
      description: Removes the specified virtual warehouse from the system. Equivalent to DROP WAREHOUSE in SQL.
      operationId: deleteWarehouse
      tags:
      - warehouse
      parameters:
      - $ref: common.yaml#/components/parameters/ifExists
      - $ref: common.yaml#/components/parameters/name
      responses:
        '200':
          $ref: common.yaml#/components/responses/200SuccessResponse
        '202':
          $ref: common.yaml#/components/responses/202SuccessAcceptedResponse
        '400':
          $ref: common.yaml#/components/responses/400BadRequest
        '401':
          $ref: common.yaml#/components/responses/401Unauthorized
        '403':
          $ref: common.yaml#/components/responses/403Forbidden
        '404':
          $ref: common.yaml#/components/responses/404NotFound
        '405':
          $ref: common.yaml#/components/responses/405MethodNotAllowed
        '408':
          $ref: common.yaml#/components/responses/408RequestTimeout
        '409':
          $ref: common.yaml#/components/responses/409Conflict
        '410':
          $ref: common.yaml#/components/responses/410Gone
        '429':
          $ref: common.yaml#/components/responses/429LimitExceeded
        '500':
          $ref: common.yaml#/components/responses/500InternalServerError
        '503':
          $ref: common.yaml#/components/responses/503ServiceUnavailable
        '504':
          $ref: common.yaml#/components/responses/504GatewayTimeout
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    put:
      summary: Create a (or Alter an Existing) Warehouse.
      description: Create a (or alter an existing) warehouse. Even if the operation is just an alter, the full property set must be provided.
      operationId: createOrAlterWarehouse
      tags:
      - warehouse
      parameters:
      - $ref: common.yaml#/components/parameters/name
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Warehouse'
            examples:
              CreateoralterwarehouseRequestExample:
                summary: Default createOrAlterWarehouse request
                x-microcks-default: true
                value:
                  name: {}
                  warehouse_type: example_value
                  warehouse_size: example_value
                  wait_for_completion: true
                  max_cluster_count: 10
                  min_cluster_count: 10
                  scaling_policy: example_value
                  auto_suspend: 10
                  auto_resume: true
                  initially_suspended: true
                  resource_monitor: {}
                  comment: example_value
                  enable_query_acceleration: true
                  query_acceleration_max_scale_factor: 10
                  max_concurrency_level: 10
                  statement_queued_timeout_in_seconds: 10
                  statement_timeout_in_seconds: 10
                  type: example_value
                  size: example_value
                  state: example_value
                  started_clusters: 10
                  running: 10
                  queued: 10
                  is_default: true
                  is_current: true
                  available: example_value
                  provisioning: example_value
                  quiescing: example_value
                  other: example_value
                  created_on: '2026-01-15T10:30:00Z'
                  resumed_on: '2026-01-15T10:30:00Z'
                  updated_on: '2026-01-15T10:30:00Z'
                  owner: example_value
                  budget: example_value
                  kind: example_value
                  owner_role_type: example_value
                  warehouse_credit_limit: 10
                  target_statement_size: example_value
      responses:
        '200':
          $ref: common.yaml#/components/responses/200SuccessResponse
        '202':
          $ref: common.yaml#/components/responses/202SuccessAcceptedResponse
        '400':
          $ref: common.yaml#/components/responses/400BadRequest
        '401':
          $ref: common.yaml#/components/responses/401Unauthorized
        '403':
          $ref: common.yaml#/components/responses/403Forbidden
        '404':
          $ref: common.yaml#/components/responses/404NotFound
        '405':
          $ref: common.yaml#/components/responses/405MethodNotAllowed
        '408':
          $ref: common.yaml#/components/responses/408RequestTimeout
        '409':
          $ref: common.yaml#/components/responses/409Conflict
        '410':
          $ref: common.yaml#/components/responses/410Gone
        '429':
          $ref: common.yaml#/components/responses/429LimitExceeded
        '500':
          $ref: common.yaml#/components/responses/500InternalServerError
        '503':
          $ref: common.yaml#/components/responses/503ServiceUnavailable
        '504':
          $ref: common.yaml#/components/responses/504GatewayTimeout
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/v2/warehouses/{name}:resume:
    post:
      summary: Resume Warehouse
      description: "Bring current warehouse to a usable ‘Running’ state by provisioning compute resources if current warehouse is suspended."
      operationId: resumeWarehouse
      tags:
      - warehouse
      parameters:
      - $ref: common.yaml#/components/parameters/ifExists
      - $ref: common.yaml#/components/parameters/name
      responses:
        '200':
          $ref: common.yaml#/components/responses/200SuccessResponse
        '202':
          $ref: common.yaml#/components/responses/202SuccessAcceptedResponse
        '400':
          $ref: common.yaml#/components/responses/400BadRequest
        '401':
          $ref: common.yaml#/components/responses/401Unauthorized
        '403':
          $ref: common.yaml#/components/responses/403Forbidden
        '404':
          $ref: common.yaml#/components/responses/404NotFound
        '405':
          $ref: common.yaml#/components/responses/405MethodNotAllowed
        '408':
          $ref: common.yaml#/components/responses/408RequestTimeout
        '409':
          $ref: common.yaml#/components/responses/409Conflict
        '410':
          $ref: common.yaml#/components/responses/410Gone
        '429':
          $ref: common.yaml#/components/responses/429LimitExceeded
        '500':
          $ref: common.yaml#/components/responses/500InternalServerError
        '503':
          $ref: common.yaml#/components/responses/503ServiceUnavailable
        '504':
          $ref: common.yaml#/components/responses/504GatewayTimeout
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/v2/warehouses/{name}:suspend:
    post:
      summary: Suspend Warehouse
      description: "Remove all compute nodes from a warehouse and put the warehouse into a ‘Suspended’ state if current warehouse is not suspended."
      operationId: suspendWarehouse
      tags:
      - warehouse
      parameters:
      - $ref: common.yaml#/components/parameters/ifExists
      - $ref: common.yaml#/components/parameters/name
      responses:
        '200':
          $ref: common.yaml#/components/responses/200SuccessResponse
        '202':
          $ref: common.yaml#/components/responses/202SuccessAcceptedResponse
        '400':
          $ref: common.yaml#/components/responses/400BadRequest
        '401':
          $ref: common.yaml#/components/responses/401Unauthorized
        '403':
          $ref: common.yaml#/components/responses/403Forbidden
        '404':
          $ref: common.yaml#/components/responses/404NotFound
        '405':
          $ref: common.yaml#/components/responses/405MethodNotAllowed
        '408':
          $ref: common.yaml#/components/responses/408RequestTimeout
        '409':
          $ref: common.yaml#/components/responses/409Conflict
        '410':
          $ref: common.yaml#/components/responses/410Gone
        '429':
          $ref: common.yaml#/components/responses/429LimitExceeded
        '500':
          $ref: common.yaml#/components/responses/500InternalServerError
        '503':
          $ref: common.yaml#/components/responses/503ServiceUnavailable
        '504':
          $ref: common.yaml#/components/responses/504GatewayTimeout
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/v2/warehouses/{name}:rename:
    post:
      summary: Update and Rename Warehouse
      description: Specifies a new identifier for the warehouse; must be unique for current account.
      operationId: renameWarehouse
      tags:
      - warehouse
      parameters:
      - $ref: common.yaml#/components/parameters/ifExists
      - $ref: common.yaml#/components/parameters/name
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Warehouse'
            examples:
              RenamewarehouseRequestExample:
                summary: Default renameWarehouse request
                x-microcks-default: true
                value:
                  name: {}
                  warehouse_type: example_value
                  warehouse_size: example_value
                  wait_for_completion: true
                  max_cluster_count: 10
                  min_cluster_count: 10
                  scaling_policy: example_value
                  auto_suspend: 10
                  auto_resume: true
                  initially_suspended: true
                  resource_monitor: {}
                  comment: example_value
                  enable_query_acceleration: true
                  query_acceleration_max_scale_factor: 10
                  max_concurrency_level: 10
                  statement_queued_timeout_in_seconds: 10
                  statement_timeout_in_seconds: 10
                  type: example_value
                  size: example_value
                  state: example_value
                  started_clusters: 10
                  running: 10
                  queued: 10
                  is_default: true
                  is_current: true
                  available: example_value
                  provisioning: example_value
                  quiescing: example_value
                  other: example_value
                  created_on: '2026-01-15T10:30:00Z'
                  resumed_on: '2026-01-15T10:30:00Z'
                  updated_on: '2026-01-15T10:30:00Z'
                  owner: example_value
                  budget: example_value
                  kind: example_value
                  owner_role_type: example_value
                  warehouse_credit_limit: 10
                  target_statement_size: example_value
      responses:
        '200':
          $ref: common.yaml#/components/responses/200SuccessResponse
        '202':
          $ref: common.yaml#/components/responses/202SuccessAcceptedResponse
        '400':
          $ref: common.yaml#/components/responses/400BadRequest
        '401':
          $ref: common.yaml#/components/responses/401Unauthorized
        '403':
          $ref: common.yaml#/components/responses/403Forbidden
        '404':
          $ref: common.yaml#/components/responses/404NotFound
        '405':
          $ref: common.yaml#/components/responses/405MethodNotAllowed
        '408':
          $ref: common.yaml#/components/responses/408RequestTimeout
        '409':
          $ref: common.yaml#/components/responses/409Conflict
        '410':
          $ref: common.yaml#/components/responses/410Gone
        '429':
          $ref: common.yaml#/components/responses/429LimitExceeded
        '500':
          $ref: common.yaml#/components/responses/500InternalServerError
        '503':
          $ref: common.yaml#/components/responses/503ServiceUnavailable
        '504':
          $ref: common.yaml#/components/responses/504GatewayTimeout
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/v2/warehouses/{name}:abort:
    post:
      summary: Abort All Queries
      description: Aborts all the queries currently running or queued on the warehouse.
      operationId: abortAllQueriesOnWarehouse
      tags:
      - warehouse
      parameters:
      - $ref: common.yaml#/components/parameters/ifExists
      - $ref: common.yaml#/components/parameters/name
      responses:
        '200':
          $ref: common.yaml#/components/responses/200SuccessResponse
        '202':
          $ref: common.yaml#/components/responses/202SuccessAcceptedResponse
        '400':
          $ref: common.yaml#/components/responses/400BadRequest
        '401':
          $ref: common.yaml#/components/responses/401Unauthorized
        '403':
          $ref: common.yaml#/components/responses/403Forbidden
        '404':
          $ref: common.yaml#/components/responses/404NotFound
        '405':
          $ref: common.yaml#/components/responses/405MethodNotAllowed
        '408':
          $ref: common.yaml#/components/responses/408RequestTimeout
        '409':
          $ref: common.yaml#/components/responses/409Conflict
        '410':
          $ref: common.yaml#/components/responses/410Gone
        '429':
          $ref: common.yaml#/components/responses/429LimitExceeded
        '500':
          $ref: common.yaml#/components/responses/500InternalServerError
        '503':
          $ref: common.yaml#/components/responses/503ServiceUnavailable
        '504':
          $ref: common.yaml#/components/responses/504GatewayTimeout
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/v2/warehouses/{name}:use:
    post:
      summary: Use Current Warehouse for Session
      description: '[Deprecated] Specifies the active/current warehouse for the session.'
      operationId: useWarehouse
      tags:
      - warehouse
      deprecated: true
      parameters:
      - $ref: common.yaml#/components/parameters/name
      responses:
        '200':
          $ref: common.yaml#/components/responses/200SuccessResponse
        '202':
          $ref: common.yaml#/components/responses/202SuccessAcceptedResponse
        '400':
          $ref: common.yaml#/components/responses/400BadRequest
        '401':
          $ref: common.yaml#/components/responses/401Unauthorized
        '403':
          $ref: common.yaml#/components/responses/403Forbidden
        '404':
          $ref: common.yaml#/components/responses/404NotFound
        '405':
          $ref: common.yaml#/components/responses/405MethodNotAllowed
        '408':
          $ref: common.yaml#/components/responses/408RequestTimeout
        '409':
          $ref: common.yaml#/components/responses/409Conflict
        '410':
          $ref: common.yaml#/components/responses/410Gone
        '429':
          $ref: common.yaml#/components/responses/429LimitExceeded
        '500':
          $ref: common.yaml#/components/responses/500InternalServerError
        '503':
          $ref: common.yaml#/components/responses/503ServiceUnavailable
        '504':
          $ref: common.yaml#/components/responses/504GatewayTimeout
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/v2/warehouses/{name}:enable:
    post:
      summary: Enable Adaptive Warehouse
      description: "Enable an adaptive warehouse and put the warehouse into a ‘enabled’ state, if the warehouse is not enabled."
      operationId: enableWarehouse
      tags:
      - warehouse
      parameters:
      - $ref: common.yaml#/components/parameters/ifExists
      - $ref: common.yaml#/components/parameters/name
      responses:
        '200':
          $ref: common.yaml#/components/responses/200SuccessResponse
        '202':
          $ref: common.yaml#/components/responses/202SuccessAcceptedResponse
        '400':
          $ref: common.yaml#/components/responses/400BadRequest
        '401':
          $ref: common.yaml#/components/responses/401Unauthorized
        '403':
          $ref: common.yaml#/components/responses/403Forbidden
        '404':
          $ref: common.yaml#/components/responses/404NotFound
        '405':
          $ref: common.yaml#/components/responses/405MethodNotAllowed
        '408':
          $ref: common.yaml#/components/responses/408RequestTimeout
        '409':
          $ref: common.yaml#/components/responses/409Conflict
        '410':
          $ref: common.yaml#/components/responses/410Gone
        '429':
          $ref: common.yaml#/components/responses/429LimitExceeded
        '500':
          $ref: common.yaml#/components/responses/500InternalServerError
        '503':
          $ref: common.yaml#/components/responses/503ServiceUnavailable
        '504':
          $ref: common.yaml#/components/responses/504GatewayTimeout
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /api/v2/warehouses/{name}:disable:
    post:
      summary: Disable Adaptive Warehouse
      description: "Disable an adaptive warehouse and put the warehouse into a ‘disabled’ state, if the warehouse is not disabled."
      operationId: disableWarehouse
      tags:
      - warehouse
      parameters:
      - $ref: common.yaml#/components/parameters/ifExists
      - $ref: common.yaml#/components/parameters/name
      responses:
        '200':
          $ref: common.yaml#/components/responses/200SuccessResponse
        '202':
          $ref: common.yaml#/components/responses/202SuccessAcceptedResponse
        '400':
          $ref: common.yaml#/components/responses/400BadRequest
        '401':
          $ref: common.yaml#/components/responses/401Unauthorized
        '403':
          $ref: common.yaml#/components/responses/403Forbidden
        '404':
          $ref: common.yaml#/components/responses/404NotFound
        '405':
          $ref: common.yaml#/components/responses/405MethodNotAllowed
        '408':
          $ref: common.yaml#/components/responses/408RequestTimeout
        '409':
          $ref: common.yaml#/components/responses/409Conflict
        '410':
          $ref: common.yaml#/components/responses/410Gone
        '429':
          $ref: common.yaml#/components/responses/429LimitExceeded
        '500':
          $ref: common.yaml#/components/responses/500InternalServerError
        '503':
          $ref: common.yaml#/components/responses/503ServiceUnavailable
        '504':
          $ref: common.yaml#/components/responses/504GatewayTimeout
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    Warehouse:
      type: object
      description: A Snowflake virtual warehouse
      properties:
        name:
          $ref: ./common.yaml#/components/schemas/Identifier
          description: Name of warehouse
        warehouse_type:
          type: string
          description: 'Type of warehouse, possible types: STANDARD, SNOWPARK-OPTIMIZED'
          example: example_value
        warehouse_size:
          type: string
          description: 'Size of warehouse, possible sizes: XSMALL, SMALL, MEDIUM, LARGE, XLARGE, XXLARGE, XXXLARGE, X4LARGE, X5LARGE, X6LARGE'
          example: example_value
        wait_for_completion:
          type: string
          enum:
          - true
          - false
          description: When resizing a warehouse, you can use this parameter to block the return of the ALTER WAREHOUSE command until the resize has finished provisioning all its compute resources
          example: true
        max_cluster_count:
          type: integer
          format: int32
          description: Specifies the maximum number of clusters for a multi-cluster warehouse
          example: 10
        min_cluster_count:
          type: integer
          format: int32
          description: Specifies the minimum number of clusters for a multi-cluster warehouse
          example: 10
        scaling_policy:
          type: string
          description: 'Scaling policy of warehouse, possible scaling policies: STANDARD, ECONOMY'
          example: example_value
        auto_suspend:
          type: integer
          format: int32
          description: time in seconds before auto suspend
          example: 10
        auto_resume:
          type: string
          enum:
          - true
          - false
          description: Specifies whether to automatically resume a warehouse when a SQL statement is submitted to it
          example: true
        initially_suspended:
          type: string
          enum:
          - true
          - false
          description: Specifies whether the warehouse is created initially in the Suspended state
          example: true
        resource_monitor:
          $ref: ./common.yaml#/components/schemas/Identifier
          description: Specifies the name of a resource monitor that is explicitly assigned to the warehouse. When a resource monitor is explicitly assigned to a warehouse, the monitor controls the 
            monthly credits used by the warehouse
        comment:
          type: string
          format: comment
          description: Specifies a comment for the warehouse
          example: example_value
        enable_query_acceleration:
          type: string
          enum:
          - true
          - false
       

# --- truncated at 32 KB (38 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/snowflake/refs/heads/main/openapi/warehouse.yaml