snowflake.Warehouse
Import
$ pulumi import snowflake:index/warehouse:Warehouse example '"<warehouse_name>"'
Create Warehouse Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Warehouse(name: string, args?: WarehouseArgs, opts?: CustomResourceOptions);@overload
def Warehouse(resource_name: str,
              args: Optional[WarehouseArgs] = None,
              opts: Optional[ResourceOptions] = None)
@overload
def Warehouse(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              auto_resume: Optional[str] = None,
              auto_suspend: Optional[int] = None,
              comment: Optional[str] = None,
              enable_query_acceleration: Optional[str] = None,
              generation: Optional[str] = None,
              initially_suspended: Optional[bool] = None,
              max_cluster_count: Optional[int] = None,
              max_concurrency_level: Optional[int] = None,
              min_cluster_count: Optional[int] = None,
              name: Optional[str] = None,
              query_acceleration_max_scale_factor: Optional[int] = None,
              resource_constraint: Optional[str] = None,
              resource_monitor: Optional[str] = None,
              scaling_policy: Optional[str] = None,
              statement_queued_timeout_in_seconds: Optional[int] = None,
              statement_timeout_in_seconds: Optional[int] = None,
              warehouse_size: Optional[str] = None,
              warehouse_type: Optional[str] = None)func NewWarehouse(ctx *Context, name string, args *WarehouseArgs, opts ...ResourceOption) (*Warehouse, error)public Warehouse(string name, WarehouseArgs? args = null, CustomResourceOptions? opts = null)
public Warehouse(String name, WarehouseArgs args)
public Warehouse(String name, WarehouseArgs args, CustomResourceOptions options)
type: snowflake:Warehouse
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WarehouseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WarehouseArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WarehouseArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WarehouseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WarehouseArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var warehouseResource = new Snowflake.Warehouse("warehouseResource", new()
{
    AutoResume = "string",
    AutoSuspend = 0,
    Comment = "string",
    EnableQueryAcceleration = "string",
    Generation = "string",
    InitiallySuspended = false,
    MaxClusterCount = 0,
    MaxConcurrencyLevel = 0,
    MinClusterCount = 0,
    Name = "string",
    QueryAccelerationMaxScaleFactor = 0,
    ResourceConstraint = "string",
    ResourceMonitor = "string",
    ScalingPolicy = "string",
    StatementQueuedTimeoutInSeconds = 0,
    StatementTimeoutInSeconds = 0,
    WarehouseSize = "string",
    WarehouseType = "string",
});
example, err := snowflake.NewWarehouse(ctx, "warehouseResource", &snowflake.WarehouseArgs{
	AutoResume:                      pulumi.String("string"),
	AutoSuspend:                     pulumi.Int(0),
	Comment:                         pulumi.String("string"),
	EnableQueryAcceleration:         pulumi.String("string"),
	Generation:                      pulumi.String("string"),
	InitiallySuspended:              pulumi.Bool(false),
	MaxClusterCount:                 pulumi.Int(0),
	MaxConcurrencyLevel:             pulumi.Int(0),
	MinClusterCount:                 pulumi.Int(0),
	Name:                            pulumi.String("string"),
	QueryAccelerationMaxScaleFactor: pulumi.Int(0),
	ResourceConstraint:              pulumi.String("string"),
	ResourceMonitor:                 pulumi.String("string"),
	ScalingPolicy:                   pulumi.String("string"),
	StatementQueuedTimeoutInSeconds: pulumi.Int(0),
	StatementTimeoutInSeconds:       pulumi.Int(0),
	WarehouseSize:                   pulumi.String("string"),
	WarehouseType:                   pulumi.String("string"),
})
var warehouseResource = new Warehouse("warehouseResource", WarehouseArgs.builder()
    .autoResume("string")
    .autoSuspend(0)
    .comment("string")
    .enableQueryAcceleration("string")
    .generation("string")
    .initiallySuspended(false)
    .maxClusterCount(0)
    .maxConcurrencyLevel(0)
    .minClusterCount(0)
    .name("string")
    .queryAccelerationMaxScaleFactor(0)
    .resourceConstraint("string")
    .resourceMonitor("string")
    .scalingPolicy("string")
    .statementQueuedTimeoutInSeconds(0)
    .statementTimeoutInSeconds(0)
    .warehouseSize("string")
    .warehouseType("string")
    .build());
warehouse_resource = snowflake.Warehouse("warehouseResource",
    auto_resume="string",
    auto_suspend=0,
    comment="string",
    enable_query_acceleration="string",
    generation="string",
    initially_suspended=False,
    max_cluster_count=0,
    max_concurrency_level=0,
    min_cluster_count=0,
    name="string",
    query_acceleration_max_scale_factor=0,
    resource_constraint="string",
    resource_monitor="string",
    scaling_policy="string",
    statement_queued_timeout_in_seconds=0,
    statement_timeout_in_seconds=0,
    warehouse_size="string",
    warehouse_type="string")
const warehouseResource = new snowflake.Warehouse("warehouseResource", {
    autoResume: "string",
    autoSuspend: 0,
    comment: "string",
    enableQueryAcceleration: "string",
    generation: "string",
    initiallySuspended: false,
    maxClusterCount: 0,
    maxConcurrencyLevel: 0,
    minClusterCount: 0,
    name: "string",
    queryAccelerationMaxScaleFactor: 0,
    resourceConstraint: "string",
    resourceMonitor: "string",
    scalingPolicy: "string",
    statementQueuedTimeoutInSeconds: 0,
    statementTimeoutInSeconds: 0,
    warehouseSize: "string",
    warehouseType: "string",
});
type: snowflake:Warehouse
properties:
    autoResume: string
    autoSuspend: 0
    comment: string
    enableQueryAcceleration: string
    generation: string
    initiallySuspended: false
    maxClusterCount: 0
    maxConcurrencyLevel: 0
    minClusterCount: 0
    name: string
    queryAccelerationMaxScaleFactor: 0
    resourceConstraint: string
    resourceMonitor: string
    scalingPolicy: string
    statementQueuedTimeoutInSeconds: 0
    statementTimeoutInSeconds: 0
    warehouseSize: string
    warehouseType: string
Warehouse Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Warehouse resource accepts the following input properties:
- AutoResume string
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- AutoSuspend int
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
- Comment string
- Specifies a comment for the warehouse.
- EnableQuery stringAcceleration 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- Generation string
- Specifies the generation for the warehouse. Only available for standard warehouses. Valid values are (case-insensitive): 1|2.
- InitiallySuspended bool
- Specifies whether the warehouse is created initially in the ‘Suspended’ state.
- MaxCluster intCount 
- Specifies the maximum number of server clusters for the warehouse.
- MaxConcurrency intLevel 
- Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by a warehouse.
- MinCluster intCount 
- Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
- Name string
- Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- QueryAcceleration intMax Scale Factor 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
- ResourceConstraint string
- Specifies the resource constraint for the warehouse. Only available for snowpark-optimized warehouses. For setting generation please use the generationfield. Please check Snowflake documentation for required warehouse sizes for each resource constraint. Valid values are (case-insensitive):MEMORY_1X|MEMORY_1X_x86|MEMORY_16X|MEMORY_16X_x86|MEMORY_64X|MEMORY_64X_x86.
- ResourceMonitor string
- Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
- ScalingPolicy string
- Specifies the policy for automatically starting and shutting down clusters in a multi-cluster warehouse running in Auto-scale mode. Valid values are (case-insensitive): STANDARD|ECONOMY.
- StatementQueued intTimeout In Seconds 
- Object parameter that specifies the time, in seconds, a SQL statement (query, DDL, DML, etc.) can be queued on a warehouse before it is canceled by the system.
- StatementTimeout intIn Seconds 
- Specifies the time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system
- WarehouseSize string
- Specifies the size of the virtual warehouse. Valid values are (case-insensitive): XSMALL|X-SMALL|SMALL|MEDIUM|LARGE|XLARGE|X-LARGE|XXLARGE|X2LARGE|2X-LARGE|XXXLARGE|X3LARGE|3X-LARGE|X4LARGE|4X-LARGE|X5LARGE|5X-LARGE|X6LARGE|6X-LARGE. Consult warehouse documentation for the details. Note: removing the size from config will result in the resource recreation.
- WarehouseType string
- Specifies warehouse type. Valid values are (case-insensitive): STANDARD|SNOWPARK-OPTIMIZED. Warehouse needs to be suspended to change its type. Provider will handle automatic suspension and resumption if needed.
- AutoResume string
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- AutoSuspend int
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
- Comment string
- Specifies a comment for the warehouse.
- EnableQuery stringAcceleration 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- Generation string
- Specifies the generation for the warehouse. Only available for standard warehouses. Valid values are (case-insensitive): 1|2.
- InitiallySuspended bool
- Specifies whether the warehouse is created initially in the ‘Suspended’ state.
- MaxCluster intCount 
- Specifies the maximum number of server clusters for the warehouse.
- MaxConcurrency intLevel 
- Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by a warehouse.
- MinCluster intCount 
- Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
- Name string
- Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- QueryAcceleration intMax Scale Factor 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
- ResourceConstraint string
- Specifies the resource constraint for the warehouse. Only available for snowpark-optimized warehouses. For setting generation please use the generationfield. Please check Snowflake documentation for required warehouse sizes for each resource constraint. Valid values are (case-insensitive):MEMORY_1X|MEMORY_1X_x86|MEMORY_16X|MEMORY_16X_x86|MEMORY_64X|MEMORY_64X_x86.
- ResourceMonitor string
- Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
- ScalingPolicy string
- Specifies the policy for automatically starting and shutting down clusters in a multi-cluster warehouse running in Auto-scale mode. Valid values are (case-insensitive): STANDARD|ECONOMY.
- StatementQueued intTimeout In Seconds 
- Object parameter that specifies the time, in seconds, a SQL statement (query, DDL, DML, etc.) can be queued on a warehouse before it is canceled by the system.
- StatementTimeout intIn Seconds 
- Specifies the time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system
- WarehouseSize string
- Specifies the size of the virtual warehouse. Valid values are (case-insensitive): XSMALL|X-SMALL|SMALL|MEDIUM|LARGE|XLARGE|X-LARGE|XXLARGE|X2LARGE|2X-LARGE|XXXLARGE|X3LARGE|3X-LARGE|X4LARGE|4X-LARGE|X5LARGE|5X-LARGE|X6LARGE|6X-LARGE. Consult warehouse documentation for the details. Note: removing the size from config will result in the resource recreation.
- WarehouseType string
- Specifies warehouse type. Valid values are (case-insensitive): STANDARD|SNOWPARK-OPTIMIZED. Warehouse needs to be suspended to change its type. Provider will handle automatic suspension and resumption if needed.
- autoResume String
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- autoSuspend Integer
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
- comment String
- Specifies a comment for the warehouse.
- enableQuery StringAcceleration 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- generation String
- Specifies the generation for the warehouse. Only available for standard warehouses. Valid values are (case-insensitive): 1|2.
- initiallySuspended Boolean
- Specifies whether the warehouse is created initially in the ‘Suspended’ state.
- maxCluster IntegerCount 
- Specifies the maximum number of server clusters for the warehouse.
- maxConcurrency IntegerLevel 
- Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by a warehouse.
- minCluster IntegerCount 
- Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
- name String
- Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- queryAcceleration IntegerMax Scale Factor 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
- resourceConstraint String
- Specifies the resource constraint for the warehouse. Only available for snowpark-optimized warehouses. For setting generation please use the generationfield. Please check Snowflake documentation for required warehouse sizes for each resource constraint. Valid values are (case-insensitive):MEMORY_1X|MEMORY_1X_x86|MEMORY_16X|MEMORY_16X_x86|MEMORY_64X|MEMORY_64X_x86.
- resourceMonitor String
- Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
- scalingPolicy String
- Specifies the policy for automatically starting and shutting down clusters in a multi-cluster warehouse running in Auto-scale mode. Valid values are (case-insensitive): STANDARD|ECONOMY.
- statementQueued IntegerTimeout In Seconds 
- Object parameter that specifies the time, in seconds, a SQL statement (query, DDL, DML, etc.) can be queued on a warehouse before it is canceled by the system.
- statementTimeout IntegerIn Seconds 
- Specifies the time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system
- warehouseSize String
- Specifies the size of the virtual warehouse. Valid values are (case-insensitive): XSMALL|X-SMALL|SMALL|MEDIUM|LARGE|XLARGE|X-LARGE|XXLARGE|X2LARGE|2X-LARGE|XXXLARGE|X3LARGE|3X-LARGE|X4LARGE|4X-LARGE|X5LARGE|5X-LARGE|X6LARGE|6X-LARGE. Consult warehouse documentation for the details. Note: removing the size from config will result in the resource recreation.
- warehouseType String
- Specifies warehouse type. Valid values are (case-insensitive): STANDARD|SNOWPARK-OPTIMIZED. Warehouse needs to be suspended to change its type. Provider will handle automatic suspension and resumption if needed.
- autoResume string
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- autoSuspend number
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
- comment string
- Specifies a comment for the warehouse.
- enableQuery stringAcceleration 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- generation string
- Specifies the generation for the warehouse. Only available for standard warehouses. Valid values are (case-insensitive): 1|2.
- initiallySuspended boolean
- Specifies whether the warehouse is created initially in the ‘Suspended’ state.
- maxCluster numberCount 
- Specifies the maximum number of server clusters for the warehouse.
- maxConcurrency numberLevel 
- Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by a warehouse.
- minCluster numberCount 
- Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
- name string
- Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- queryAcceleration numberMax Scale Factor 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
- resourceConstraint string
- Specifies the resource constraint for the warehouse. Only available for snowpark-optimized warehouses. For setting generation please use the generationfield. Please check Snowflake documentation for required warehouse sizes for each resource constraint. Valid values are (case-insensitive):MEMORY_1X|MEMORY_1X_x86|MEMORY_16X|MEMORY_16X_x86|MEMORY_64X|MEMORY_64X_x86.
- resourceMonitor string
- Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
- scalingPolicy string
- Specifies the policy for automatically starting and shutting down clusters in a multi-cluster warehouse running in Auto-scale mode. Valid values are (case-insensitive): STANDARD|ECONOMY.
- statementQueued numberTimeout In Seconds 
- Object parameter that specifies the time, in seconds, a SQL statement (query, DDL, DML, etc.) can be queued on a warehouse before it is canceled by the system.
- statementTimeout numberIn Seconds 
- Specifies the time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system
- warehouseSize string
- Specifies the size of the virtual warehouse. Valid values are (case-insensitive): XSMALL|X-SMALL|SMALL|MEDIUM|LARGE|XLARGE|X-LARGE|XXLARGE|X2LARGE|2X-LARGE|XXXLARGE|X3LARGE|3X-LARGE|X4LARGE|4X-LARGE|X5LARGE|5X-LARGE|X6LARGE|6X-LARGE. Consult warehouse documentation for the details. Note: removing the size from config will result in the resource recreation.
- warehouseType string
- Specifies warehouse type. Valid values are (case-insensitive): STANDARD|SNOWPARK-OPTIMIZED. Warehouse needs to be suspended to change its type. Provider will handle automatic suspension and resumption if needed.
- auto_resume str
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- auto_suspend int
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
- comment str
- Specifies a comment for the warehouse.
- enable_query_ stracceleration 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- generation str
- Specifies the generation for the warehouse. Only available for standard warehouses. Valid values are (case-insensitive): 1|2.
- initially_suspended bool
- Specifies whether the warehouse is created initially in the ‘Suspended’ state.
- max_cluster_ intcount 
- Specifies the maximum number of server clusters for the warehouse.
- max_concurrency_ intlevel 
- Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by a warehouse.
- min_cluster_ intcount 
- Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
- name str
- Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- query_acceleration_ intmax_ scale_ factor 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
- resource_constraint str
- Specifies the resource constraint for the warehouse. Only available for snowpark-optimized warehouses. For setting generation please use the generationfield. Please check Snowflake documentation for required warehouse sizes for each resource constraint. Valid values are (case-insensitive):MEMORY_1X|MEMORY_1X_x86|MEMORY_16X|MEMORY_16X_x86|MEMORY_64X|MEMORY_64X_x86.
- resource_monitor str
- Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
- scaling_policy str
- Specifies the policy for automatically starting and shutting down clusters in a multi-cluster warehouse running in Auto-scale mode. Valid values are (case-insensitive): STANDARD|ECONOMY.
- statement_queued_ inttimeout_ in_ seconds 
- Object parameter that specifies the time, in seconds, a SQL statement (query, DDL, DML, etc.) can be queued on a warehouse before it is canceled by the system.
- statement_timeout_ intin_ seconds 
- Specifies the time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system
- warehouse_size str
- Specifies the size of the virtual warehouse. Valid values are (case-insensitive): XSMALL|X-SMALL|SMALL|MEDIUM|LARGE|XLARGE|X-LARGE|XXLARGE|X2LARGE|2X-LARGE|XXXLARGE|X3LARGE|3X-LARGE|X4LARGE|4X-LARGE|X5LARGE|5X-LARGE|X6LARGE|6X-LARGE. Consult warehouse documentation for the details. Note: removing the size from config will result in the resource recreation.
- warehouse_type str
- Specifies warehouse type. Valid values are (case-insensitive): STANDARD|SNOWPARK-OPTIMIZED. Warehouse needs to be suspended to change its type. Provider will handle automatic suspension and resumption if needed.
- autoResume String
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- autoSuspend Number
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
- comment String
- Specifies a comment for the warehouse.
- enableQuery StringAcceleration 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- generation String
- Specifies the generation for the warehouse. Only available for standard warehouses. Valid values are (case-insensitive): 1|2.
- initiallySuspended Boolean
- Specifies whether the warehouse is created initially in the ‘Suspended’ state.
- maxCluster NumberCount 
- Specifies the maximum number of server clusters for the warehouse.
- maxConcurrency NumberLevel 
- Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by a warehouse.
- minCluster NumberCount 
- Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
- name String
- Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- queryAcceleration NumberMax Scale Factor 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
- resourceConstraint String
- Specifies the resource constraint for the warehouse. Only available for snowpark-optimized warehouses. For setting generation please use the generationfield. Please check Snowflake documentation for required warehouse sizes for each resource constraint. Valid values are (case-insensitive):MEMORY_1X|MEMORY_1X_x86|MEMORY_16X|MEMORY_16X_x86|MEMORY_64X|MEMORY_64X_x86.
- resourceMonitor String
- Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
- scalingPolicy String
- Specifies the policy for automatically starting and shutting down clusters in a multi-cluster warehouse running in Auto-scale mode. Valid values are (case-insensitive): STANDARD|ECONOMY.
- statementQueued NumberTimeout In Seconds 
- Object parameter that specifies the time, in seconds, a SQL statement (query, DDL, DML, etc.) can be queued on a warehouse before it is canceled by the system.
- statementTimeout NumberIn Seconds 
- Specifies the time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system
- warehouseSize String
- Specifies the size of the virtual warehouse. Valid values are (case-insensitive): XSMALL|X-SMALL|SMALL|MEDIUM|LARGE|XLARGE|X-LARGE|XXLARGE|X2LARGE|2X-LARGE|XXXLARGE|X3LARGE|3X-LARGE|X4LARGE|4X-LARGE|X5LARGE|5X-LARGE|X6LARGE|6X-LARGE. Consult warehouse documentation for the details. Note: removing the size from config will result in the resource recreation.
- warehouseType String
- Specifies warehouse type. Valid values are (case-insensitive): STANDARD|SNOWPARK-OPTIMIZED. Warehouse needs to be suspended to change its type. Provider will handle automatic suspension and resumption if needed.
Outputs
All input properties are implicitly available as output properties. Additionally, the Warehouse resource produces the following output properties:
- FullyQualified stringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- Id string
- The provider-assigned unique ID for this managed resource.
- Parameters
List<WarehouseParameter> 
- Outputs the result of SHOW PARAMETERS IN WAREHOUSEfor the given warehouse.
- ShowOutputs List<WarehouseShow Output> 
- Outputs the result of SHOW WAREHOUSESfor the given warehouse.
- FullyQualified stringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- Id string
- The provider-assigned unique ID for this managed resource.
- Parameters
[]WarehouseParameter 
- Outputs the result of SHOW PARAMETERS IN WAREHOUSEfor the given warehouse.
- ShowOutputs []WarehouseShow Output 
- Outputs the result of SHOW WAREHOUSESfor the given warehouse.
- fullyQualified StringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- id String
- The provider-assigned unique ID for this managed resource.
- parameters
List<WarehouseParameter> 
- Outputs the result of SHOW PARAMETERS IN WAREHOUSEfor the given warehouse.
- showOutputs List<WarehouseShow Output> 
- Outputs the result of SHOW WAREHOUSESfor the given warehouse.
- fullyQualified stringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- id string
- The provider-assigned unique ID for this managed resource.
- parameters
WarehouseParameter[] 
- Outputs the result of SHOW PARAMETERS IN WAREHOUSEfor the given warehouse.
- showOutputs WarehouseShow Output[] 
- Outputs the result of SHOW WAREHOUSESfor the given warehouse.
- fully_qualified_ strname 
- Fully qualified name of the resource. For more information, see object name resolution.
- id str
- The provider-assigned unique ID for this managed resource.
- parameters
Sequence[WarehouseParameter] 
- Outputs the result of SHOW PARAMETERS IN WAREHOUSEfor the given warehouse.
- show_outputs Sequence[WarehouseShow Output] 
- Outputs the result of SHOW WAREHOUSESfor the given warehouse.
- fullyQualified StringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- id String
- The provider-assigned unique ID for this managed resource.
- parameters List<Property Map>
- Outputs the result of SHOW PARAMETERS IN WAREHOUSEfor the given warehouse.
- showOutputs List<Property Map>
- Outputs the result of SHOW WAREHOUSESfor the given warehouse.
Look up Existing Warehouse Resource
Get an existing Warehouse resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: WarehouseState, opts?: CustomResourceOptions): Warehouse@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        auto_resume: Optional[str] = None,
        auto_suspend: Optional[int] = None,
        comment: Optional[str] = None,
        enable_query_acceleration: Optional[str] = None,
        fully_qualified_name: Optional[str] = None,
        generation: Optional[str] = None,
        initially_suspended: Optional[bool] = None,
        max_cluster_count: Optional[int] = None,
        max_concurrency_level: Optional[int] = None,
        min_cluster_count: Optional[int] = None,
        name: Optional[str] = None,
        parameters: Optional[Sequence[WarehouseParameterArgs]] = None,
        query_acceleration_max_scale_factor: Optional[int] = None,
        resource_constraint: Optional[str] = None,
        resource_monitor: Optional[str] = None,
        scaling_policy: Optional[str] = None,
        show_outputs: Optional[Sequence[WarehouseShowOutputArgs]] = None,
        statement_queued_timeout_in_seconds: Optional[int] = None,
        statement_timeout_in_seconds: Optional[int] = None,
        warehouse_size: Optional[str] = None,
        warehouse_type: Optional[str] = None) -> Warehousefunc GetWarehouse(ctx *Context, name string, id IDInput, state *WarehouseState, opts ...ResourceOption) (*Warehouse, error)public static Warehouse Get(string name, Input<string> id, WarehouseState? state, CustomResourceOptions? opts = null)public static Warehouse get(String name, Output<String> id, WarehouseState state, CustomResourceOptions options)resources:  _:    type: snowflake:Warehouse    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AutoResume string
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- AutoSuspend int
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
- Comment string
- Specifies a comment for the warehouse.
- EnableQuery stringAcceleration 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- FullyQualified stringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- Generation string
- Specifies the generation for the warehouse. Only available for standard warehouses. Valid values are (case-insensitive): 1|2.
- InitiallySuspended bool
- Specifies whether the warehouse is created initially in the ‘Suspended’ state.
- MaxCluster intCount 
- Specifies the maximum number of server clusters for the warehouse.
- MaxConcurrency intLevel 
- Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by a warehouse.
- MinCluster intCount 
- Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
- Name string
- Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- Parameters
List<WarehouseParameter> 
- Outputs the result of SHOW PARAMETERS IN WAREHOUSEfor the given warehouse.
- QueryAcceleration intMax Scale Factor 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
- ResourceConstraint string
- Specifies the resource constraint for the warehouse. Only available for snowpark-optimized warehouses. For setting generation please use the generationfield. Please check Snowflake documentation for required warehouse sizes for each resource constraint. Valid values are (case-insensitive):MEMORY_1X|MEMORY_1X_x86|MEMORY_16X|MEMORY_16X_x86|MEMORY_64X|MEMORY_64X_x86.
- ResourceMonitor string
- Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
- ScalingPolicy string
- Specifies the policy for automatically starting and shutting down clusters in a multi-cluster warehouse running in Auto-scale mode. Valid values are (case-insensitive): STANDARD|ECONOMY.
- ShowOutputs List<WarehouseShow Output> 
- Outputs the result of SHOW WAREHOUSESfor the given warehouse.
- StatementQueued intTimeout In Seconds 
- Object parameter that specifies the time, in seconds, a SQL statement (query, DDL, DML, etc.) can be queued on a warehouse before it is canceled by the system.
- StatementTimeout intIn Seconds 
- Specifies the time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system
- WarehouseSize string
- Specifies the size of the virtual warehouse. Valid values are (case-insensitive): XSMALL|X-SMALL|SMALL|MEDIUM|LARGE|XLARGE|X-LARGE|XXLARGE|X2LARGE|2X-LARGE|XXXLARGE|X3LARGE|3X-LARGE|X4LARGE|4X-LARGE|X5LARGE|5X-LARGE|X6LARGE|6X-LARGE. Consult warehouse documentation for the details. Note: removing the size from config will result in the resource recreation.
- WarehouseType string
- Specifies warehouse type. Valid values are (case-insensitive): STANDARD|SNOWPARK-OPTIMIZED. Warehouse needs to be suspended to change its type. Provider will handle automatic suspension and resumption if needed.
- AutoResume string
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- AutoSuspend int
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
- Comment string
- Specifies a comment for the warehouse.
- EnableQuery stringAcceleration 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- FullyQualified stringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- Generation string
- Specifies the generation for the warehouse. Only available for standard warehouses. Valid values are (case-insensitive): 1|2.
- InitiallySuspended bool
- Specifies whether the warehouse is created initially in the ‘Suspended’ state.
- MaxCluster intCount 
- Specifies the maximum number of server clusters for the warehouse.
- MaxConcurrency intLevel 
- Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by a warehouse.
- MinCluster intCount 
- Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
- Name string
- Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- Parameters
[]WarehouseParameter Args 
- Outputs the result of SHOW PARAMETERS IN WAREHOUSEfor the given warehouse.
- QueryAcceleration intMax Scale Factor 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
- ResourceConstraint string
- Specifies the resource constraint for the warehouse. Only available for snowpark-optimized warehouses. For setting generation please use the generationfield. Please check Snowflake documentation for required warehouse sizes for each resource constraint. Valid values are (case-insensitive):MEMORY_1X|MEMORY_1X_x86|MEMORY_16X|MEMORY_16X_x86|MEMORY_64X|MEMORY_64X_x86.
- ResourceMonitor string
- Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
- ScalingPolicy string
- Specifies the policy for automatically starting and shutting down clusters in a multi-cluster warehouse running in Auto-scale mode. Valid values are (case-insensitive): STANDARD|ECONOMY.
- ShowOutputs []WarehouseShow Output Args 
- Outputs the result of SHOW WAREHOUSESfor the given warehouse.
- StatementQueued intTimeout In Seconds 
- Object parameter that specifies the time, in seconds, a SQL statement (query, DDL, DML, etc.) can be queued on a warehouse before it is canceled by the system.
- StatementTimeout intIn Seconds 
- Specifies the time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system
- WarehouseSize string
- Specifies the size of the virtual warehouse. Valid values are (case-insensitive): XSMALL|X-SMALL|SMALL|MEDIUM|LARGE|XLARGE|X-LARGE|XXLARGE|X2LARGE|2X-LARGE|XXXLARGE|X3LARGE|3X-LARGE|X4LARGE|4X-LARGE|X5LARGE|5X-LARGE|X6LARGE|6X-LARGE. Consult warehouse documentation for the details. Note: removing the size from config will result in the resource recreation.
- WarehouseType string
- Specifies warehouse type. Valid values are (case-insensitive): STANDARD|SNOWPARK-OPTIMIZED. Warehouse needs to be suspended to change its type. Provider will handle automatic suspension and resumption if needed.
- autoResume String
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- autoSuspend Integer
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
- comment String
- Specifies a comment for the warehouse.
- enableQuery StringAcceleration 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- fullyQualified StringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- generation String
- Specifies the generation for the warehouse. Only available for standard warehouses. Valid values are (case-insensitive): 1|2.
- initiallySuspended Boolean
- Specifies whether the warehouse is created initially in the ‘Suspended’ state.
- maxCluster IntegerCount 
- Specifies the maximum number of server clusters for the warehouse.
- maxConcurrency IntegerLevel 
- Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by a warehouse.
- minCluster IntegerCount 
- Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
- name String
- Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- parameters
List<WarehouseParameter> 
- Outputs the result of SHOW PARAMETERS IN WAREHOUSEfor the given warehouse.
- queryAcceleration IntegerMax Scale Factor 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
- resourceConstraint String
- Specifies the resource constraint for the warehouse. Only available for snowpark-optimized warehouses. For setting generation please use the generationfield. Please check Snowflake documentation for required warehouse sizes for each resource constraint. Valid values are (case-insensitive):MEMORY_1X|MEMORY_1X_x86|MEMORY_16X|MEMORY_16X_x86|MEMORY_64X|MEMORY_64X_x86.
- resourceMonitor String
- Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
- scalingPolicy String
- Specifies the policy for automatically starting and shutting down clusters in a multi-cluster warehouse running in Auto-scale mode. Valid values are (case-insensitive): STANDARD|ECONOMY.
- showOutputs List<WarehouseShow Output> 
- Outputs the result of SHOW WAREHOUSESfor the given warehouse.
- statementQueued IntegerTimeout In Seconds 
- Object parameter that specifies the time, in seconds, a SQL statement (query, DDL, DML, etc.) can be queued on a warehouse before it is canceled by the system.
- statementTimeout IntegerIn Seconds 
- Specifies the time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system
- warehouseSize String
- Specifies the size of the virtual warehouse. Valid values are (case-insensitive): XSMALL|X-SMALL|SMALL|MEDIUM|LARGE|XLARGE|X-LARGE|XXLARGE|X2LARGE|2X-LARGE|XXXLARGE|X3LARGE|3X-LARGE|X4LARGE|4X-LARGE|X5LARGE|5X-LARGE|X6LARGE|6X-LARGE. Consult warehouse documentation for the details. Note: removing the size from config will result in the resource recreation.
- warehouseType String
- Specifies warehouse type. Valid values are (case-insensitive): STANDARD|SNOWPARK-OPTIMIZED. Warehouse needs to be suspended to change its type. Provider will handle automatic suspension and resumption if needed.
- autoResume string
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- autoSuspend number
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
- comment string
- Specifies a comment for the warehouse.
- enableQuery stringAcceleration 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- fullyQualified stringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- generation string
- Specifies the generation for the warehouse. Only available for standard warehouses. Valid values are (case-insensitive): 1|2.
- initiallySuspended boolean
- Specifies whether the warehouse is created initially in the ‘Suspended’ state.
- maxCluster numberCount 
- Specifies the maximum number of server clusters for the warehouse.
- maxConcurrency numberLevel 
- Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by a warehouse.
- minCluster numberCount 
- Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
- name string
- Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- parameters
WarehouseParameter[] 
- Outputs the result of SHOW PARAMETERS IN WAREHOUSEfor the given warehouse.
- queryAcceleration numberMax Scale Factor 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
- resourceConstraint string
- Specifies the resource constraint for the warehouse. Only available for snowpark-optimized warehouses. For setting generation please use the generationfield. Please check Snowflake documentation for required warehouse sizes for each resource constraint. Valid values are (case-insensitive):MEMORY_1X|MEMORY_1X_x86|MEMORY_16X|MEMORY_16X_x86|MEMORY_64X|MEMORY_64X_x86.
- resourceMonitor string
- Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
- scalingPolicy string
- Specifies the policy for automatically starting and shutting down clusters in a multi-cluster warehouse running in Auto-scale mode. Valid values are (case-insensitive): STANDARD|ECONOMY.
- showOutputs WarehouseShow Output[] 
- Outputs the result of SHOW WAREHOUSESfor the given warehouse.
- statementQueued numberTimeout In Seconds 
- Object parameter that specifies the time, in seconds, a SQL statement (query, DDL, DML, etc.) can be queued on a warehouse before it is canceled by the system.
- statementTimeout numberIn Seconds 
- Specifies the time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system
- warehouseSize string
- Specifies the size of the virtual warehouse. Valid values are (case-insensitive): XSMALL|X-SMALL|SMALL|MEDIUM|LARGE|XLARGE|X-LARGE|XXLARGE|X2LARGE|2X-LARGE|XXXLARGE|X3LARGE|3X-LARGE|X4LARGE|4X-LARGE|X5LARGE|5X-LARGE|X6LARGE|6X-LARGE. Consult warehouse documentation for the details. Note: removing the size from config will result in the resource recreation.
- warehouseType string
- Specifies warehouse type. Valid values are (case-insensitive): STANDARD|SNOWPARK-OPTIMIZED. Warehouse needs to be suspended to change its type. Provider will handle automatic suspension and resumption if needed.
- auto_resume str
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- auto_suspend int
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
- comment str
- Specifies a comment for the warehouse.
- enable_query_ stracceleration 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- fully_qualified_ strname 
- Fully qualified name of the resource. For more information, see object name resolution.
- generation str
- Specifies the generation for the warehouse. Only available for standard warehouses. Valid values are (case-insensitive): 1|2.
- initially_suspended bool
- Specifies whether the warehouse is created initially in the ‘Suspended’ state.
- max_cluster_ intcount 
- Specifies the maximum number of server clusters for the warehouse.
- max_concurrency_ intlevel 
- Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by a warehouse.
- min_cluster_ intcount 
- Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
- name str
- Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- parameters
Sequence[WarehouseParameter Args] 
- Outputs the result of SHOW PARAMETERS IN WAREHOUSEfor the given warehouse.
- query_acceleration_ intmax_ scale_ factor 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
- resource_constraint str
- Specifies the resource constraint for the warehouse. Only available for snowpark-optimized warehouses. For setting generation please use the generationfield. Please check Snowflake documentation for required warehouse sizes for each resource constraint. Valid values are (case-insensitive):MEMORY_1X|MEMORY_1X_x86|MEMORY_16X|MEMORY_16X_x86|MEMORY_64X|MEMORY_64X_x86.
- resource_monitor str
- Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
- scaling_policy str
- Specifies the policy for automatically starting and shutting down clusters in a multi-cluster warehouse running in Auto-scale mode. Valid values are (case-insensitive): STANDARD|ECONOMY.
- show_outputs Sequence[WarehouseShow Output Args] 
- Outputs the result of SHOW WAREHOUSESfor the given warehouse.
- statement_queued_ inttimeout_ in_ seconds 
- Object parameter that specifies the time, in seconds, a SQL statement (query, DDL, DML, etc.) can be queued on a warehouse before it is canceled by the system.
- statement_timeout_ intin_ seconds 
- Specifies the time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system
- warehouse_size str
- Specifies the size of the virtual warehouse. Valid values are (case-insensitive): XSMALL|X-SMALL|SMALL|MEDIUM|LARGE|XLARGE|X-LARGE|XXLARGE|X2LARGE|2X-LARGE|XXXLARGE|X3LARGE|3X-LARGE|X4LARGE|4X-LARGE|X5LARGE|5X-LARGE|X6LARGE|6X-LARGE. Consult warehouse documentation for the details. Note: removing the size from config will result in the resource recreation.
- warehouse_type str
- Specifies warehouse type. Valid values are (case-insensitive): STANDARD|SNOWPARK-OPTIMIZED. Warehouse needs to be suspended to change its type. Provider will handle automatic suspension and resumption if needed.
- autoResume String
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to automatically resume a warehouse when a SQL statement (e.g. query) is submitted to it. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- autoSuspend Number
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the number of seconds of inactivity after which a warehouse is automatically suspended.
- comment String
- Specifies a comment for the warehouse.
- enableQuery StringAcceleration 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (default)) Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
- fullyQualified StringName 
- Fully qualified name of the resource. For more information, see object name resolution.
- generation String
- Specifies the generation for the warehouse. Only available for standard warehouses. Valid values are (case-insensitive): 1|2.
- initiallySuspended Boolean
- Specifies whether the warehouse is created initially in the ‘Suspended’ state.
- maxCluster NumberCount 
- Specifies the maximum number of server clusters for the warehouse.
- maxConcurrency NumberLevel 
- Object parameter that specifies the concurrency level for SQL statements (i.e. queries and DML) executed by a warehouse.
- minCluster NumberCount 
- Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).
- name String
- Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: |,.,".
- parameters List<Property Map>
- Outputs the result of SHOW PARAMETERS IN WAREHOUSEfor the given warehouse.
- queryAcceleration NumberMax Scale Factor 
- (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (-1)) Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size.
- resourceConstraint String
- Specifies the resource constraint for the warehouse. Only available for snowpark-optimized warehouses. For setting generation please use the generationfield. Please check Snowflake documentation for required warehouse sizes for each resource constraint. Valid values are (case-insensitive):MEMORY_1X|MEMORY_1X_x86|MEMORY_16X|MEMORY_16X_x86|MEMORY_64X|MEMORY_64X_x86.
- resourceMonitor String
- Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
- scalingPolicy String
- Specifies the policy for automatically starting and shutting down clusters in a multi-cluster warehouse running in Auto-scale mode. Valid values are (case-insensitive): STANDARD|ECONOMY.
- showOutputs List<Property Map>
- Outputs the result of SHOW WAREHOUSESfor the given warehouse.
- statementQueued NumberTimeout In Seconds 
- Object parameter that specifies the time, in seconds, a SQL statement (query, DDL, DML, etc.) can be queued on a warehouse before it is canceled by the system.
- statementTimeout NumberIn Seconds 
- Specifies the time, in seconds, after which a running SQL statement (query, DDL, DML, etc.) is canceled by the system
- warehouseSize String
- Specifies the size of the virtual warehouse. Valid values are (case-insensitive): XSMALL|X-SMALL|SMALL|MEDIUM|LARGE|XLARGE|X-LARGE|XXLARGE|X2LARGE|2X-LARGE|XXXLARGE|X3LARGE|3X-LARGE|X4LARGE|4X-LARGE|X5LARGE|5X-LARGE|X6LARGE|6X-LARGE. Consult warehouse documentation for the details. Note: removing the size from config will result in the resource recreation.
- warehouseType String
- Specifies warehouse type. Valid values are (case-insensitive): STANDARD|SNOWPARK-OPTIMIZED. Warehouse needs to be suspended to change its type. Provider will handle automatic suspension and resumption if needed.
Supporting Types
WarehouseParameter, WarehouseParameterArgs    
WarehouseParameterMaxConcurrencyLevel, WarehouseParameterMaxConcurrencyLevelArgs          
- Default string
- Description string
- Key string
- Level string
- Value string
- Default string
- Description string
- Key string
- Level string
- Value string
- default_ String
- description String
- key String
- level String
- value String
- default string
- description string
- key string
- level string
- value string
- default str
- description str
- key str
- level str
- value str
- default String
- description String
- key String
- level String
- value String
WarehouseParameterStatementQueuedTimeoutInSecond, WarehouseParameterStatementQueuedTimeoutInSecondArgs              
- Default string
- Description string
- Key string
- Level string
- Value string
- Default string
- Description string
- Key string
- Level string
- Value string
- default_ String
- description String
- key String
- level String
- value String
- default string
- description string
- key string
- level string
- value string
- default str
- description str
- key str
- level str
- value str
- default String
- description String
- key String
- level String
- value String
WarehouseParameterStatementTimeoutInSecond, WarehouseParameterStatementTimeoutInSecondArgs            
- Default string
- Description string
- Key string
- Level string
- Value string
- Default string
- Description string
- Key string
- Level string
- Value string
- default_ String
- description String
- key String
- level String
- value String
- default string
- description string
- key string
- level string
- value string
- default str
- description str
- key str
- level str
- value str
- default String
- description String
- key String
- level String
- value String
WarehouseShowOutput, WarehouseShowOutputArgs      
- AutoResume bool
- AutoSuspend int
- Available double
- Comment string
- CreatedOn string
- EnableQuery boolAcceleration 
- Generation string
- IsCurrent bool
- IsDefault bool
- MaxCluster intCount 
- MinCluster intCount 
- Name string
- Other double
- Owner string
- OwnerRole stringType 
- Provisioning double
- QueryAcceleration intMax Scale Factor 
- Queued int
- Quiescing double
- ResourceConstraint string
- ResourceMonitor string
- ResumedOn string
- Running int
- ScalingPolicy string
- Size string
- StartedClusters int
- State string
- Type string
- UpdatedOn string
- AutoResume bool
- AutoSuspend int
- Available float64
- Comment string
- CreatedOn string
- EnableQuery boolAcceleration 
- Generation string
- IsCurrent bool
- IsDefault bool
- MaxCluster intCount 
- MinCluster intCount 
- Name string
- Other float64
- Owner string
- OwnerRole stringType 
- Provisioning float64
- QueryAcceleration intMax Scale Factor 
- Queued int
- Quiescing float64
- ResourceConstraint string
- ResourceMonitor string
- ResumedOn string
- Running int
- ScalingPolicy string
- Size string
- StartedClusters int
- State string
- Type string
- UpdatedOn string
- autoResume Boolean
- autoSuspend Integer
- available Double
- comment String
- createdOn String
- enableQuery BooleanAcceleration 
- generation String
- isCurrent Boolean
- isDefault Boolean
- maxCluster IntegerCount 
- minCluster IntegerCount 
- name String
- other Double
- owner String
- ownerRole StringType 
- provisioning Double
- queryAcceleration IntegerMax Scale Factor 
- queued Integer
- quiescing Double
- resourceConstraint String
- resourceMonitor String
- resumedOn String
- running Integer
- scalingPolicy String
- size String
- startedClusters Integer
- state String
- type String
- updatedOn String
- autoResume boolean
- autoSuspend number
- available number
- comment string
- createdOn string
- enableQuery booleanAcceleration 
- generation string
- isCurrent boolean
- isDefault boolean
- maxCluster numberCount 
- minCluster numberCount 
- name string
- other number
- owner string
- ownerRole stringType 
- provisioning number
- queryAcceleration numberMax Scale Factor 
- queued number
- quiescing number
- resourceConstraint string
- resourceMonitor string
- resumedOn string
- running number
- scalingPolicy string
- size string
- startedClusters number
- state string
- type string
- updatedOn string
- auto_resume bool
- auto_suspend int
- available float
- comment str
- created_on str
- enable_query_ boolacceleration 
- generation str
- is_current bool
- is_default bool
- max_cluster_ intcount 
- min_cluster_ intcount 
- name str
- other float
- owner str
- owner_role_ strtype 
- provisioning float
- query_acceleration_ intmax_ scale_ factor 
- queued int
- quiescing float
- resource_constraint str
- resource_monitor str
- resumed_on str
- running int
- scaling_policy str
- size str
- started_clusters int
- state str
- type str
- updated_on str
- autoResume Boolean
- autoSuspend Number
- available Number
- comment String
- createdOn String
- enableQuery BooleanAcceleration 
- generation String
- isCurrent Boolean
- isDefault Boolean
- maxCluster NumberCount 
- minCluster NumberCount 
- name String
- other Number
- owner String
- ownerRole StringType 
- provisioning Number
- queryAcceleration NumberMax Scale Factor 
- queued Number
- quiescing Number
- resourceConstraint String
- resourceMonitor String
- resumedOn String
- running Number
- scalingPolicy String
- size String
- startedClusters Number
- state String
- type String
- updatedOn String
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the snowflakeTerraform Provider.
