Snowflake Warehouse
snowflake.warehouse MQL resource for querying Snowflake infrastructure with cnquery and cnspec.
Snowflake
Snowflake Warehouse
Use MQL in cnspec shell or policy:
snowflake.warehouseMin version: 9.0.0Defaults:
nameRelationships
3 resources · 3 relationships·Click to select, expand fields to see properties.
Fields (27)
| Field | Type | Description |
|---|---|---|
autoResumerequired | int | Whether the warehouse, if suspended, automatically resumes |
autoSuspendrequired | int | Period of inactivity, in seconds, after which a running warehouse automatically suspends and stops using credits |
availablerequired | float | Percentage of the warehouse compute resources available |
commentrequired | string | Comment for the warehouse |
createdAtrequired | time | When the warehouse was created |
enableQueryAccelerationrequired | int | Whether query acceleration is enabled |
isCurrentrequired | int | Whether the warehouse is a current warehouse |
isDefaultrequired | int | Whether the warehouse is a default warehouse |
maxClusterCountrequired | int | Maximum cluster count |
minClusterCountrequired | int | Minimum cluster count |
namerequired | string | Name of the warehouse |
otherrequired | float | Percentage of the warehouse compute not in available, provisioning, or quiescing state |
ownerrequired | string | Warehouse owner |
ownerRoleTyperequired | string | Owner role type |
provisioningrequired | float | Percentage of the warehouse compute resources in provisioning |
queryAccelerationMaxScaleFactorrequired | int | Query acceleration scale factor |
queuedrequired | int | Number of queued clusters |
quiescingrequired | float | Percentage of the warehouse compute resources that execute queries |
resourceMonitorrequired | string | Resource monitor of the warehouse |
resumedAtrequired | time | When the warehouse resumed |
runningrequired | int | Number of running clusters |
scalingPolicyrequired | string | Scaling policy of the warehouse |
sizerequired | string | Warehouse size |
startedClusterCountrequired | int | Number of started clusters |
staterequired | string | Whether the warehouse is active/running, inactive or resizing |
typerequired | string | Warehouse type |
updatedAtrequired | time | When the warehouse was updated |