snowflake.ComputePool
Explore with Pulumi AI
Import
$ pulumi import snowflake:index/computePool:ComputePool example '"<compute_pool_name>"'
Create ComputePool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ComputePool(name: string, args: ComputePoolArgs, opts?: CustomResourceOptions);
@overload
def ComputePool(resource_name: str,
args: ComputePoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ComputePool(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_family: Optional[str] = None,
max_nodes: Optional[int] = None,
min_nodes: Optional[int] = None,
auto_resume: Optional[str] = None,
auto_suspend_secs: Optional[int] = None,
comment: Optional[str] = None,
for_application: Optional[str] = None,
initially_suspended: Optional[str] = None,
name: Optional[str] = None)
func NewComputePool(ctx *Context, name string, args ComputePoolArgs, opts ...ResourceOption) (*ComputePool, error)
public ComputePool(string name, ComputePoolArgs args, CustomResourceOptions? opts = null)
public ComputePool(String name, ComputePoolArgs args)
public ComputePool(String name, ComputePoolArgs args, CustomResourceOptions options)
type: snowflake:ComputePool
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 ComputePoolArgs
- 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 ComputePoolArgs
- 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 ComputePoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ComputePoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ComputePoolArgs
- 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 computePoolResource = new Snowflake.ComputePool("computePoolResource", new()
{
InstanceFamily = "string",
MaxNodes = 0,
MinNodes = 0,
AutoResume = "string",
AutoSuspendSecs = 0,
Comment = "string",
ForApplication = "string",
InitiallySuspended = "string",
Name = "string",
});
example, err := snowflake.NewComputePool(ctx, "computePoolResource", &snowflake.ComputePoolArgs{
InstanceFamily: pulumi.String("string"),
MaxNodes: pulumi.Int(0),
MinNodes: pulumi.Int(0),
AutoResume: pulumi.String("string"),
AutoSuspendSecs: pulumi.Int(0),
Comment: pulumi.String("string"),
ForApplication: pulumi.String("string"),
InitiallySuspended: pulumi.String("string"),
Name: pulumi.String("string"),
})
var computePoolResource = new ComputePool("computePoolResource", ComputePoolArgs.builder()
.instanceFamily("string")
.maxNodes(0)
.minNodes(0)
.autoResume("string")
.autoSuspendSecs(0)
.comment("string")
.forApplication("string")
.initiallySuspended("string")
.name("string")
.build());
compute_pool_resource = snowflake.ComputePool("computePoolResource",
instance_family="string",
max_nodes=0,
min_nodes=0,
auto_resume="string",
auto_suspend_secs=0,
comment="string",
for_application="string",
initially_suspended="string",
name="string")
const computePoolResource = new snowflake.ComputePool("computePoolResource", {
instanceFamily: "string",
maxNodes: 0,
minNodes: 0,
autoResume: "string",
autoSuspendSecs: 0,
comment: "string",
forApplication: "string",
initiallySuspended: "string",
name: "string",
});
type: snowflake:ComputePool
properties:
autoResume: string
autoSuspendSecs: 0
comment: string
forApplication: string
initiallySuspended: string
instanceFamily: string
maxNodes: 0
minNodes: 0
name: string
ComputePool 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 ComputePool resource accepts the following input properties:
- Instance
Family string - Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive):
CPU_X64_XS
|CPU_X64_S
|CPU_X64_M
|CPU_X64_L
|HIGHMEM_X64_S
|HIGHMEM_X64_M
|HIGHMEM_X64_L
|HIGHMEM_X64_SL
|GPU_NV_S
|GPU_NV_M
|GPU_NV_L
|GPU_NV_XS
|GPU_NV_SM
|GPU_NV_2M
|GPU_NV_3M
|GPU_NV_SL
. - Max
Nodes int - Specifies the maximum number of nodes for the compute pool.
- Min
Nodes int - Specifies the minimum number of nodes for the compute pool.
- Auto
Resume string - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether to automatically resume a compute pool when a service or job 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 intSecs - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
-1
)) Number of seconds of inactivity after which you want Snowflake to automatically suspend the compute pool. - Comment string
- Specifies a comment for the compute pool.
- For
Application string - Specifies the Snowflake Native App name.
- Initially
Suspended string - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether the compute pool is created initially in the suspended state. This field is used only when creating a compute pool. Changes on this field are ignored after creation. - Name string
- Specifies the identifier for the compute pool; must be unique for the account. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,"
.
- Instance
Family string - Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive):
CPU_X64_XS
|CPU_X64_S
|CPU_X64_M
|CPU_X64_L
|HIGHMEM_X64_S
|HIGHMEM_X64_M
|HIGHMEM_X64_L
|HIGHMEM_X64_SL
|GPU_NV_S
|GPU_NV_M
|GPU_NV_L
|GPU_NV_XS
|GPU_NV_SM
|GPU_NV_2M
|GPU_NV_3M
|GPU_NV_SL
. - Max
Nodes int - Specifies the maximum number of nodes for the compute pool.
- Min
Nodes int - Specifies the minimum number of nodes for the compute pool.
- Auto
Resume string - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether to automatically resume a compute pool when a service or job 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 intSecs - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
-1
)) Number of seconds of inactivity after which you want Snowflake to automatically suspend the compute pool. - Comment string
- Specifies a comment for the compute pool.
- For
Application string - Specifies the Snowflake Native App name.
- Initially
Suspended string - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether the compute pool is created initially in the suspended state. This field is used only when creating a compute pool. Changes on this field are ignored after creation. - Name string
- Specifies the identifier for the compute pool; must be unique for the account. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,"
.
- instance
Family String - Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive):
CPU_X64_XS
|CPU_X64_S
|CPU_X64_M
|CPU_X64_L
|HIGHMEM_X64_S
|HIGHMEM_X64_M
|HIGHMEM_X64_L
|HIGHMEM_X64_SL
|GPU_NV_S
|GPU_NV_M
|GPU_NV_L
|GPU_NV_XS
|GPU_NV_SM
|GPU_NV_2M
|GPU_NV_3M
|GPU_NV_SL
. - max
Nodes Integer - Specifies the maximum number of nodes for the compute pool.
- min
Nodes Integer - Specifies the minimum number of nodes for the compute pool.
- auto
Resume String - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether to automatically resume a compute pool when a service or job 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 IntegerSecs - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
-1
)) Number of seconds of inactivity after which you want Snowflake to automatically suspend the compute pool. - comment String
- Specifies a comment for the compute pool.
- for
Application String - Specifies the Snowflake Native App name.
- initially
Suspended String - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether the compute pool is created initially in the suspended state. This field is used only when creating a compute pool. Changes on this field are ignored after creation. - name String
- Specifies the identifier for the compute pool; must be unique for the account. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,"
.
- instance
Family string - Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive):
CPU_X64_XS
|CPU_X64_S
|CPU_X64_M
|CPU_X64_L
|HIGHMEM_X64_S
|HIGHMEM_X64_M
|HIGHMEM_X64_L
|HIGHMEM_X64_SL
|GPU_NV_S
|GPU_NV_M
|GPU_NV_L
|GPU_NV_XS
|GPU_NV_SM
|GPU_NV_2M
|GPU_NV_3M
|GPU_NV_SL
. - max
Nodes number - Specifies the maximum number of nodes for the compute pool.
- min
Nodes number - Specifies the minimum number of nodes for the compute pool.
- auto
Resume string - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether to automatically resume a compute pool when a service or job 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 numberSecs - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
-1
)) Number of seconds of inactivity after which you want Snowflake to automatically suspend the compute pool. - comment string
- Specifies a comment for the compute pool.
- for
Application string - Specifies the Snowflake Native App name.
- initially
Suspended string - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether the compute pool is created initially in the suspended state. This field is used only when creating a compute pool. Changes on this field are ignored after creation. - name string
- Specifies the identifier for the compute pool; must be unique for the account. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,"
.
- instance_
family str - Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive):
CPU_X64_XS
|CPU_X64_S
|CPU_X64_M
|CPU_X64_L
|HIGHMEM_X64_S
|HIGHMEM_X64_M
|HIGHMEM_X64_L
|HIGHMEM_X64_SL
|GPU_NV_S
|GPU_NV_M
|GPU_NV_L
|GPU_NV_XS
|GPU_NV_SM
|GPU_NV_2M
|GPU_NV_3M
|GPU_NV_SL
. - max_
nodes int - Specifies the maximum number of nodes for the compute pool.
- min_
nodes int - Specifies the minimum number of nodes for the compute pool.
- 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 compute pool when a service or job 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_ intsecs - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
-1
)) Number of seconds of inactivity after which you want Snowflake to automatically suspend the compute pool. - comment str
- Specifies a comment for the compute pool.
- for_
application str - Specifies the Snowflake Native App name.
- initially_
suspended str - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether the compute pool is created initially in the suspended state. This field is used only when creating a compute pool. Changes on this field are ignored after creation. - name str
- Specifies the identifier for the compute pool; must be unique for the account. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,"
.
- instance
Family String - Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive):
CPU_X64_XS
|CPU_X64_S
|CPU_X64_M
|CPU_X64_L
|HIGHMEM_X64_S
|HIGHMEM_X64_M
|HIGHMEM_X64_L
|HIGHMEM_X64_SL
|GPU_NV_S
|GPU_NV_M
|GPU_NV_L
|GPU_NV_XS
|GPU_NV_SM
|GPU_NV_2M
|GPU_NV_3M
|GPU_NV_SL
. - max
Nodes Number - Specifies the maximum number of nodes for the compute pool.
- min
Nodes Number - Specifies the minimum number of nodes for the compute pool.
- auto
Resume String - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether to automatically resume a compute pool when a service or job 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 NumberSecs - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
-1
)) Number of seconds of inactivity after which you want Snowflake to automatically suspend the compute pool. - comment String
- Specifies a comment for the compute pool.
- for
Application String - Specifies the Snowflake Native App name.
- initially
Suspended String - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether the compute pool is created initially in the suspended state. This field is used only when creating a compute pool. Changes on this field are ignored after creation. - name String
- Specifies the identifier for the compute pool; must be unique for the account. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,"
.
Outputs
All input properties are implicitly available as output properties. Additionally, the ComputePool resource produces the following output properties:
- Describe
Outputs List<ComputePool Describe Output> - Outputs the result of
DESCRIBE COMPUTE POOL
for the given compute pool. - Fully
Qualified 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.
- Show
Outputs List<ComputePool Show Output> - Outputs the result of
SHOW COMPUTE POOLS
for the given compute pool.
- Describe
Outputs []ComputePool Describe Output - Outputs the result of
DESCRIBE COMPUTE POOL
for the given compute pool. - Fully
Qualified 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.
- Show
Outputs []ComputePool Show Output - Outputs the result of
SHOW COMPUTE POOLS
for the given compute pool.
- describe
Outputs List<ComputePool Describe Output> - Outputs the result of
DESCRIBE COMPUTE POOL
for the given compute pool. - fully
Qualified 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.
- show
Outputs List<ComputePool Show Output> - Outputs the result of
SHOW COMPUTE POOLS
for the given compute pool.
- describe
Outputs ComputePool Describe Output[] - Outputs the result of
DESCRIBE COMPUTE POOL
for the given compute pool. - fully
Qualified 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.
- show
Outputs ComputePool Show Output[] - Outputs the result of
SHOW COMPUTE POOLS
for the given compute pool.
- describe_
outputs Sequence[ComputePool Describe Output] - Outputs the result of
DESCRIBE COMPUTE POOL
for the given compute pool. - 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.
- show_
outputs Sequence[ComputePool Show Output] - Outputs the result of
SHOW COMPUTE POOLS
for the given compute pool.
- describe
Outputs List<Property Map> - Outputs the result of
DESCRIBE COMPUTE POOL
for the given compute pool. - fully
Qualified 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.
- show
Outputs List<Property Map> - Outputs the result of
SHOW COMPUTE POOLS
for the given compute pool.
Look up Existing ComputePool Resource
Get an existing ComputePool 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?: ComputePoolState, opts?: CustomResourceOptions): ComputePool
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_resume: Optional[str] = None,
auto_suspend_secs: Optional[int] = None,
comment: Optional[str] = None,
describe_outputs: Optional[Sequence[ComputePoolDescribeOutputArgs]] = None,
for_application: Optional[str] = None,
fully_qualified_name: Optional[str] = None,
initially_suspended: Optional[str] = None,
instance_family: Optional[str] = None,
max_nodes: Optional[int] = None,
min_nodes: Optional[int] = None,
name: Optional[str] = None,
show_outputs: Optional[Sequence[ComputePoolShowOutputArgs]] = None) -> ComputePool
func GetComputePool(ctx *Context, name string, id IDInput, state *ComputePoolState, opts ...ResourceOption) (*ComputePool, error)
public static ComputePool Get(string name, Input<string> id, ComputePoolState? state, CustomResourceOptions? opts = null)
public static ComputePool get(String name, Output<String> id, ComputePoolState state, CustomResourceOptions options)
resources: _: type: snowflake:ComputePool 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.
- Auto
Resume string - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether to automatically resume a compute pool when a service or job 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 intSecs - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
-1
)) Number of seconds of inactivity after which you want Snowflake to automatically suspend the compute pool. - Comment string
- Specifies a comment for the compute pool.
- Describe
Outputs List<ComputePool Describe Output> - Outputs the result of
DESCRIBE COMPUTE POOL
for the given compute pool. - For
Application string - Specifies the Snowflake Native App name.
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Initially
Suspended string - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether the compute pool is created initially in the suspended state. This field is used only when creating a compute pool. Changes on this field are ignored after creation. - Instance
Family string - Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive):
CPU_X64_XS
|CPU_X64_S
|CPU_X64_M
|CPU_X64_L
|HIGHMEM_X64_S
|HIGHMEM_X64_M
|HIGHMEM_X64_L
|HIGHMEM_X64_SL
|GPU_NV_S
|GPU_NV_M
|GPU_NV_L
|GPU_NV_XS
|GPU_NV_SM
|GPU_NV_2M
|GPU_NV_3M
|GPU_NV_SL
. - Max
Nodes int - Specifies the maximum number of nodes for the compute pool.
- Min
Nodes int - Specifies the minimum number of nodes for the compute pool.
- Name string
- Specifies the identifier for the compute pool; must be unique for the account. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,"
. - Show
Outputs List<ComputePool Show Output> - Outputs the result of
SHOW COMPUTE POOLS
for the given compute pool.
- Auto
Resume string - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether to automatically resume a compute pool when a service or job 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 intSecs - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
-1
)) Number of seconds of inactivity after which you want Snowflake to automatically suspend the compute pool. - Comment string
- Specifies a comment for the compute pool.
- Describe
Outputs []ComputePool Describe Output Args - Outputs the result of
DESCRIBE COMPUTE POOL
for the given compute pool. - For
Application string - Specifies the Snowflake Native App name.
- Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Initially
Suspended string - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether the compute pool is created initially in the suspended state. This field is used only when creating a compute pool. Changes on this field are ignored after creation. - Instance
Family string - Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive):
CPU_X64_XS
|CPU_X64_S
|CPU_X64_M
|CPU_X64_L
|HIGHMEM_X64_S
|HIGHMEM_X64_M
|HIGHMEM_X64_L
|HIGHMEM_X64_SL
|GPU_NV_S
|GPU_NV_M
|GPU_NV_L
|GPU_NV_XS
|GPU_NV_SM
|GPU_NV_2M
|GPU_NV_3M
|GPU_NV_SL
. - Max
Nodes int - Specifies the maximum number of nodes for the compute pool.
- Min
Nodes int - Specifies the minimum number of nodes for the compute pool.
- Name string
- Specifies the identifier for the compute pool; must be unique for the account. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,"
. - Show
Outputs []ComputePool Show Output Args - Outputs the result of
SHOW COMPUTE POOLS
for the given compute pool.
- auto
Resume String - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether to automatically resume a compute pool when a service or job 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 IntegerSecs - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
-1
)) Number of seconds of inactivity after which you want Snowflake to automatically suspend the compute pool. - comment String
- Specifies a comment for the compute pool.
- describe
Outputs List<ComputePool Describe Output> - Outputs the result of
DESCRIBE COMPUTE POOL
for the given compute pool. - for
Application String - Specifies the Snowflake Native App name.
- fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- initially
Suspended String - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether the compute pool is created initially in the suspended state. This field is used only when creating a compute pool. Changes on this field are ignored after creation. - instance
Family String - Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive):
CPU_X64_XS
|CPU_X64_S
|CPU_X64_M
|CPU_X64_L
|HIGHMEM_X64_S
|HIGHMEM_X64_M
|HIGHMEM_X64_L
|HIGHMEM_X64_SL
|GPU_NV_S
|GPU_NV_M
|GPU_NV_L
|GPU_NV_XS
|GPU_NV_SM
|GPU_NV_2M
|GPU_NV_3M
|GPU_NV_SL
. - max
Nodes Integer - Specifies the maximum number of nodes for the compute pool.
- min
Nodes Integer - Specifies the minimum number of nodes for the compute pool.
- name String
- Specifies the identifier for the compute pool; must be unique for the account. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,"
. - show
Outputs List<ComputePool Show Output> - Outputs the result of
SHOW COMPUTE POOLS
for the given compute pool.
- auto
Resume string - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether to automatically resume a compute pool when a service or job 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 numberSecs - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
-1
)) Number of seconds of inactivity after which you want Snowflake to automatically suspend the compute pool. - comment string
- Specifies a comment for the compute pool.
- describe
Outputs ComputePool Describe Output[] - Outputs the result of
DESCRIBE COMPUTE POOL
for the given compute pool. - for
Application string - Specifies the Snowflake Native App name.
- fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- initially
Suspended string - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether the compute pool is created initially in the suspended state. This field is used only when creating a compute pool. Changes on this field are ignored after creation. - instance
Family string - Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive):
CPU_X64_XS
|CPU_X64_S
|CPU_X64_M
|CPU_X64_L
|HIGHMEM_X64_S
|HIGHMEM_X64_M
|HIGHMEM_X64_L
|HIGHMEM_X64_SL
|GPU_NV_S
|GPU_NV_M
|GPU_NV_L
|GPU_NV_XS
|GPU_NV_SM
|GPU_NV_2M
|GPU_NV_3M
|GPU_NV_SL
. - max
Nodes number - Specifies the maximum number of nodes for the compute pool.
- min
Nodes number - Specifies the minimum number of nodes for the compute pool.
- name string
- Specifies the identifier for the compute pool; must be unique for the account. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,"
. - show
Outputs ComputePool Show Output[] - Outputs the result of
SHOW COMPUTE POOLS
for the given compute pool.
- 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 compute pool when a service or job 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_ intsecs - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
-1
)) Number of seconds of inactivity after which you want Snowflake to automatically suspend the compute pool. - comment str
- Specifies a comment for the compute pool.
- describe_
outputs Sequence[ComputePool Describe Output Args] - Outputs the result of
DESCRIBE COMPUTE POOL
for the given compute pool. - for_
application str - Specifies the Snowflake Native App name.
- fully_
qualified_ strname - Fully qualified name of the resource. For more information, see object name resolution.
- initially_
suspended str - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether the compute pool is created initially in the suspended state. This field is used only when creating a compute pool. Changes on this field are ignored after creation. - instance_
family str - Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive):
CPU_X64_XS
|CPU_X64_S
|CPU_X64_M
|CPU_X64_L
|HIGHMEM_X64_S
|HIGHMEM_X64_M
|HIGHMEM_X64_L
|HIGHMEM_X64_SL
|GPU_NV_S
|GPU_NV_M
|GPU_NV_L
|GPU_NV_XS
|GPU_NV_SM
|GPU_NV_2M
|GPU_NV_3M
|GPU_NV_SL
. - max_
nodes int - Specifies the maximum number of nodes for the compute pool.
- min_
nodes int - Specifies the minimum number of nodes for the compute pool.
- name str
- Specifies the identifier for the compute pool; must be unique for the account. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,"
. - show_
outputs Sequence[ComputePool Show Output Args] - Outputs the result of
SHOW COMPUTE POOLS
for the given compute pool.
- auto
Resume String - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether to automatically resume a compute pool when a service or job 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 NumberSecs - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
-1
)) Number of seconds of inactivity after which you want Snowflake to automatically suspend the compute pool. - comment String
- Specifies a comment for the compute pool.
- describe
Outputs List<Property Map> - Outputs the result of
DESCRIBE COMPUTE POOL
for the given compute pool. - for
Application String - Specifies the Snowflake Native App name.
- fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- initially
Suspended String - (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (
default
)) Specifies whether the compute pool is created initially in the suspended state. This field is used only when creating a compute pool. Changes on this field are ignored after creation. - instance
Family String - Identifies the type of machine you want to provision for the nodes in the compute pool. Valid values are (case-insensitive):
CPU_X64_XS
|CPU_X64_S
|CPU_X64_M
|CPU_X64_L
|HIGHMEM_X64_S
|HIGHMEM_X64_M
|HIGHMEM_X64_L
|HIGHMEM_X64_SL
|GPU_NV_S
|GPU_NV_M
|GPU_NV_L
|GPU_NV_XS
|GPU_NV_SM
|GPU_NV_2M
|GPU_NV_3M
|GPU_NV_SL
. - max
Nodes Number - Specifies the maximum number of nodes for the compute pool.
- min
Nodes Number - Specifies the minimum number of nodes for the compute pool.
- name String
- Specifies the identifier for the compute pool; must be unique for the account. Due to technical limitations (read more here), avoid using the following characters:
|
,.
,"
. - show
Outputs List<Property Map> - Outputs the result of
SHOW COMPUTE POOLS
for the given compute pool.
Supporting Types
ComputePoolDescribeOutput, ComputePoolDescribeOutputArgs
- Active
Nodes int - Application string
- Auto
Resume bool - Auto
Suspend intSecs - Comment string
- Created
On string - Error
Code string - Idle
Nodes int - Instance
Family string - Is
Exclusive bool - Max
Nodes int - Min
Nodes int - Name string
- Num
Jobs int - Num
Services int - Owner string
- Resumed
On string - State string
- Status
Message string - Target
Nodes int - Updated
On string
- Active
Nodes int - Application string
- Auto
Resume bool - Auto
Suspend intSecs - Comment string
- Created
On string - Error
Code string - Idle
Nodes int - Instance
Family string - Is
Exclusive bool - Max
Nodes int - Min
Nodes int - Name string
- Num
Jobs int - Num
Services int - Owner string
- Resumed
On string - State string
- Status
Message string - Target
Nodes int - Updated
On string
- active
Nodes Integer - application String
- auto
Resume Boolean - auto
Suspend IntegerSecs - comment String
- created
On String - error
Code String - idle
Nodes Integer - instance
Family String - is
Exclusive Boolean - max
Nodes Integer - min
Nodes Integer - name String
- num
Jobs Integer - num
Services Integer - owner String
- resumed
On String - state String
- status
Message String - target
Nodes Integer - updated
On String
- active
Nodes number - application string
- auto
Resume boolean - auto
Suspend numberSecs - comment string
- created
On string - error
Code string - idle
Nodes number - instance
Family string - is
Exclusive boolean - max
Nodes number - min
Nodes number - name string
- num
Jobs number - num
Services number - owner string
- resumed
On string - state string
- status
Message string - target
Nodes number - updated
On string
- active_
nodes int - application str
- auto_
resume bool - auto_
suspend_ intsecs - comment str
- created_
on str - error_
code str - idle_
nodes int - instance_
family str - is_
exclusive bool - max_
nodes int - min_
nodes int - name str
- num_
jobs int - num_
services int - owner str
- resumed_
on str - state str
- status_
message str - target_
nodes int - updated_
on str
- active
Nodes Number - application String
- auto
Resume Boolean - auto
Suspend NumberSecs - comment String
- created
On String - error
Code String - idle
Nodes Number - instance
Family String - is
Exclusive Boolean - max
Nodes Number - min
Nodes Number - name String
- num
Jobs Number - num
Services Number - owner String
- resumed
On String - state String
- status
Message String - target
Nodes Number - updated
On String
ComputePoolShowOutput, ComputePoolShowOutputArgs
- Active
Nodes int - Application string
- Auto
Resume bool - Auto
Suspend intSecs - Comment string
- Created
On string - Idle
Nodes int - Instance
Family string - Is
Exclusive bool - Max
Nodes int - Min
Nodes int - Name string
- Num
Jobs int - Num
Services int - Owner string
- Resumed
On string - State string
- Target
Nodes int - Updated
On string
- Active
Nodes int - Application string
- Auto
Resume bool - Auto
Suspend intSecs - Comment string
- Created
On string - Idle
Nodes int - Instance
Family string - Is
Exclusive bool - Max
Nodes int - Min
Nodes int - Name string
- Num
Jobs int - Num
Services int - Owner string
- Resumed
On string - State string
- Target
Nodes int - Updated
On string
- active
Nodes Integer - application String
- auto
Resume Boolean - auto
Suspend IntegerSecs - comment String
- created
On String - idle
Nodes Integer - instance
Family String - is
Exclusive Boolean - max
Nodes Integer - min
Nodes Integer - name String
- num
Jobs Integer - num
Services Integer - owner String
- resumed
On String - state String
- target
Nodes Integer - updated
On String
- active
Nodes number - application string
- auto
Resume boolean - auto
Suspend numberSecs - comment string
- created
On string - idle
Nodes number - instance
Family string - is
Exclusive boolean - max
Nodes number - min
Nodes number - name string
- num
Jobs number - num
Services number - owner string
- resumed
On string - state string
- target
Nodes number - updated
On string
- active_
nodes int - application str
- auto_
resume bool - auto_
suspend_ intsecs - comment str
- created_
on str - idle_
nodes int - instance_
family str - is_
exclusive bool - max_
nodes int - min_
nodes int - name str
- num_
jobs int - num_
services int - owner str
- resumed_
on str - state str
- target_
nodes int - updated_
on str
- active
Nodes Number - application String
- auto
Resume Boolean - auto
Suspend NumberSecs - comment String
- created
On String - idle
Nodes Number - instance
Family String - is
Exclusive Boolean - max
Nodes Number - min
Nodes Number - name String
- num
Jobs Number - num
Services Number - owner String
- resumed
On String - state String
- target
Nodes Number - updated
On String
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
snowflake
Terraform Provider.