Scaleway v1.27.0 published on Monday, Apr 21, 2025 by pulumiverse
scaleway.kubernetes.getPool
Explore with Pulumi AI
Gets information about a Kubernetes Cluster’s Pool.
Using getPool
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPool(args: GetPoolArgs, opts?: InvokeOptions): Promise<GetPoolResult>
function getPoolOutput(args: GetPoolOutputArgs, opts?: InvokeOptions): Output<GetPoolResult>def get_pool(cluster_id: Optional[str] = None,
             name: Optional[str] = None,
             pool_id: Optional[str] = None,
             region: Optional[str] = None,
             size: Optional[int] = None,
             opts: Optional[InvokeOptions] = None) -> GetPoolResult
def get_pool_output(cluster_id: Optional[pulumi.Input[str]] = None,
             name: Optional[pulumi.Input[str]] = None,
             pool_id: Optional[pulumi.Input[str]] = None,
             region: Optional[pulumi.Input[str]] = None,
             size: Optional[pulumi.Input[int]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetPoolResult]func LookupPool(ctx *Context, args *LookupPoolArgs, opts ...InvokeOption) (*LookupPoolResult, error)
func LookupPoolOutput(ctx *Context, args *LookupPoolOutputArgs, opts ...InvokeOption) LookupPoolResultOutput> Note: This function is named LookupPool in the Go SDK.
public static class GetPool 
{
    public static Task<GetPoolResult> InvokeAsync(GetPoolArgs args, InvokeOptions? opts = null)
    public static Output<GetPoolResult> Invoke(GetPoolInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPoolResult> getPool(GetPoolArgs args, InvokeOptions options)
public static Output<GetPoolResult> getPool(GetPoolArgs args, InvokeOptions options)
fn::invoke:
  function: scaleway:kubernetes/getPool:getPool
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Cluster
Id string - The cluster ID. Required when 
nameis set. - Name string
 - The pool name. Only one of 
nameandpool_idshould be specified.cluster_idshould be specified withname. - Pool
Id string - The pool's ID. Only one of 
nameandpool_idshould be specified. - Region string
 region) The region in which the pool exists.- Size int
 - The size of the pool.
 
- Cluster
Id string - The cluster ID. Required when 
nameis set. - Name string
 - The pool name. Only one of 
nameandpool_idshould be specified.cluster_idshould be specified withname. - Pool
Id string - The pool's ID. Only one of 
nameandpool_idshould be specified. - Region string
 region) The region in which the pool exists.- Size int
 - The size of the pool.
 
- cluster
Id String - The cluster ID. Required when 
nameis set. - name String
 - The pool name. Only one of 
nameandpool_idshould be specified.cluster_idshould be specified withname. - pool
Id String - The pool's ID. Only one of 
nameandpool_idshould be specified. - region String
 region) The region in which the pool exists.- size Integer
 - The size of the pool.
 
- cluster
Id string - The cluster ID. Required when 
nameis set. - name string
 - The pool name. Only one of 
nameandpool_idshould be specified.cluster_idshould be specified withname. - pool
Id string - The pool's ID. Only one of 
nameandpool_idshould be specified. - region string
 region) The region in which the pool exists.- size number
 - The size of the pool.
 
- cluster_
id str - The cluster ID. Required when 
nameis set. - name str
 - The pool name. Only one of 
nameandpool_idshould be specified.cluster_idshould be specified withname. - pool_
id str - The pool's ID. Only one of 
nameandpool_idshould be specified. - region str
 region) The region in which the pool exists.- size int
 - The size of the pool.
 
- cluster
Id String - The cluster ID. Required when 
nameis set. - name String
 - The pool name. Only one of 
nameandpool_idshould be specified.cluster_idshould be specified withname. - pool
Id String - The pool's ID. Only one of 
nameandpool_idshould be specified. - region String
 region) The region in which the pool exists.- size Number
 - The size of the pool.
 
getPool Result
The following output properties are available:
- Autohealing bool
 - True if the autohealing feature is enabled for this pool.
 - Autoscaling bool
 - True if the autoscaling feature is enabled for this pool.
 - Container
Runtime string - The container runtime of the pool.
 - Created
At string - The creation date of the pool.
 - Current
Size int - Id string
 - The provider-assigned unique ID for this managed resource.
 - Kubelet
Args Dictionary<string, string> - Max
Size int - The maximum size of the pool, used by the autoscaling feature.
 - Min
Size int - The minimum size of the pool, used by the autoscaling feature.
 - Node
Type string - The commercial type of the pool instances.
 - Nodes
List<Pulumiverse.
Scaleway. Kubernetes. Outputs. Get Pool Node>  - (List of) The nodes in the default pool.
 - Placement
Group stringId  - placement group the nodes of the pool are attached to.
 - Public
Ip boolDisabled  - Root
Volume intSize In Gb  - Root
Volume stringType  - Status string
 - The status of the node.
 - List<string>
 - The tags associated with the pool.
 - Updated
At string - The last update date of the pool.
 - Upgrade
Policies List<Pulumiverse.Scaleway. Kubernetes. Outputs. Get Pool Upgrade Policy>  - Version string
 - The version of the pool.
 - Wait
For boolPool Ready  - Zone string
 - Cluster
Id string - Name string
 - The name of the node.
 - Pool
Id string - Region string
 - Size int
 - The size of the pool.
 
- Autohealing bool
 - True if the autohealing feature is enabled for this pool.
 - Autoscaling bool
 - True if the autoscaling feature is enabled for this pool.
 - Container
Runtime string - The container runtime of the pool.
 - Created
At string - The creation date of the pool.
 - Current
Size int - Id string
 - The provider-assigned unique ID for this managed resource.
 - Kubelet
Args map[string]string - Max
Size int - The maximum size of the pool, used by the autoscaling feature.
 - Min
Size int - The minimum size of the pool, used by the autoscaling feature.
 - Node
Type string - The commercial type of the pool instances.
 - Nodes
[]Get
Pool Node  - (List of) The nodes in the default pool.
 - Placement
Group stringId  - placement group the nodes of the pool are attached to.
 - Public
Ip boolDisabled  - Root
Volume intSize In Gb  - Root
Volume stringType  - Status string
 - The status of the node.
 - []string
 - The tags associated with the pool.
 - Updated
At string - The last update date of the pool.
 - Upgrade
Policies []GetPool Upgrade Policy  - Version string
 - The version of the pool.
 - Wait
For boolPool Ready  - Zone string
 - Cluster
Id string - Name string
 - The name of the node.
 - Pool
Id string - Region string
 - Size int
 - The size of the pool.
 
- autohealing Boolean
 - True if the autohealing feature is enabled for this pool.
 - autoscaling Boolean
 - True if the autoscaling feature is enabled for this pool.
 - container
Runtime String - The container runtime of the pool.
 - created
At String - The creation date of the pool.
 - current
Size Integer - id String
 - The provider-assigned unique ID for this managed resource.
 - kubelet
Args Map<String,String> - max
Size Integer - The maximum size of the pool, used by the autoscaling feature.
 - min
Size Integer - The minimum size of the pool, used by the autoscaling feature.
 - node
Type String - The commercial type of the pool instances.
 - nodes
List<Get
Pool Node>  - (List of) The nodes in the default pool.
 - placement
Group StringId  - placement group the nodes of the pool are attached to.
 - public
Ip BooleanDisabled  - root
Volume IntegerSize In Gb  - root
Volume StringType  - status String
 - The status of the node.
 - List<String>
 - The tags associated with the pool.
 - updated
At String - The last update date of the pool.
 - upgrade
Policies List<GetPool Upgrade Policy>  - version String
 - The version of the pool.
 - wait
For BooleanPool Ready  - zone String
 - cluster
Id String - name String
 - The name of the node.
 - pool
Id String - region String
 - size Integer
 - The size of the pool.
 
- autohealing boolean
 - True if the autohealing feature is enabled for this pool.
 - autoscaling boolean
 - True if the autoscaling feature is enabled for this pool.
 - container
Runtime string - The container runtime of the pool.
 - created
At string - The creation date of the pool.
 - current
Size number - id string
 - The provider-assigned unique ID for this managed resource.
 - kubelet
Args {[key: string]: string} - max
Size number - The maximum size of the pool, used by the autoscaling feature.
 - min
Size number - The minimum size of the pool, used by the autoscaling feature.
 - node
Type string - The commercial type of the pool instances.
 - nodes
Get
Pool Node[]  - (List of) The nodes in the default pool.
 - placement
Group stringId  - placement group the nodes of the pool are attached to.
 - public
Ip booleanDisabled  - root
Volume numberSize In Gb  - root
Volume stringType  - status string
 - The status of the node.
 - string[]
 - The tags associated with the pool.
 - updated
At string - The last update date of the pool.
 - upgrade
Policies GetPool Upgrade Policy[]  - version string
 - The version of the pool.
 - wait
For booleanPool Ready  - zone string
 - cluster
Id string - name string
 - The name of the node.
 - pool
Id string - region string
 - size number
 - The size of the pool.
 
- autohealing bool
 - True if the autohealing feature is enabled for this pool.
 - autoscaling bool
 - True if the autoscaling feature is enabled for this pool.
 - container_
runtime str - The container runtime of the pool.
 - created_
at str - The creation date of the pool.
 - current_
size int - id str
 - The provider-assigned unique ID for this managed resource.
 - kubelet_
args Mapping[str, str] - max_
size int - The maximum size of the pool, used by the autoscaling feature.
 - min_
size int - The minimum size of the pool, used by the autoscaling feature.
 - node_
type str - The commercial type of the pool instances.
 - nodes
Sequence[Get
Pool Node]  - (List of) The nodes in the default pool.
 - placement_
group_ strid  - placement group the nodes of the pool are attached to.
 - public_
ip_ booldisabled  - root_
volume_ intsize_ in_ gb  - root_
volume_ strtype  - status str
 - The status of the node.
 - Sequence[str]
 - The tags associated with the pool.
 - updated_
at str - The last update date of the pool.
 - upgrade_
policies Sequence[GetPool Upgrade Policy]  - version str
 - The version of the pool.
 - wait_
for_ boolpool_ ready  - zone str
 - cluster_
id str - name str
 - The name of the node.
 - pool_
id str - region str
 - size int
 - The size of the pool.
 
- autohealing Boolean
 - True if the autohealing feature is enabled for this pool.
 - autoscaling Boolean
 - True if the autoscaling feature is enabled for this pool.
 - container
Runtime String - The container runtime of the pool.
 - created
At String - The creation date of the pool.
 - current
Size Number - id String
 - The provider-assigned unique ID for this managed resource.
 - kubelet
Args Map<String> - max
Size Number - The maximum size of the pool, used by the autoscaling feature.
 - min
Size Number - The minimum size of the pool, used by the autoscaling feature.
 - node
Type String - The commercial type of the pool instances.
 - nodes List<Property Map>
 - (List of) The nodes in the default pool.
 - placement
Group StringId  - placement group the nodes of the pool are attached to.
 - public
Ip BooleanDisabled  - root
Volume NumberSize In Gb  - root
Volume StringType  - status String
 - The status of the node.
 - List<String>
 - The tags associated with the pool.
 - updated
At String - The last update date of the pool.
 - upgrade
Policies List<Property Map> - version String
 - The version of the pool.
 - wait
For BooleanPool Ready  - zone String
 - cluster
Id String - name String
 - The name of the node.
 - pool
Id String - region String
 - size Number
 - The size of the pool.
 
Supporting Types
GetPoolNode  
- Name string
 - The pool name. Only one of 
nameandpool_idshould be specified.cluster_idshould be specified withname. - Public
Ip string - The public IPv4.
 - Public
Ip stringV6  - The public IPv6.
 - Status string
 - The status of the node.
 
- Name string
 - The pool name. Only one of 
nameandpool_idshould be specified.cluster_idshould be specified withname. - Public
Ip string - The public IPv4.
 - Public
Ip stringV6  - The public IPv6.
 - Status string
 - The status of the node.
 
- name String
 - The pool name. Only one of 
nameandpool_idshould be specified.cluster_idshould be specified withname. - public
Ip String - The public IPv4.
 - public
Ip StringV6  - The public IPv6.
 - status String
 - The status of the node.
 
- name string
 - The pool name. Only one of 
nameandpool_idshould be specified.cluster_idshould be specified withname. - public
Ip string - The public IPv4.
 - public
Ip stringV6  - The public IPv6.
 - status string
 - The status of the node.
 
- name str
 - The pool name. Only one of 
nameandpool_idshould be specified.cluster_idshould be specified withname. - public_
ip str - The public IPv4.
 - public_
ip_ strv6  - The public IPv6.
 - status str
 - The status of the node.
 
- name String
 - The pool name. Only one of 
nameandpool_idshould be specified.cluster_idshould be specified withname. - public
Ip String - The public IPv4.
 - public
Ip StringV6  - The public IPv6.
 - status String
 - The status of the node.
 
GetPoolUpgradePolicy   
- Max
Surge int - The maximum number of nodes to be created during the upgrade
 - int
 - The maximum number of nodes that can be not ready at the same time
 
- Max
Surge int - The maximum number of nodes to be created during the upgrade
 - int
 - The maximum number of nodes that can be not ready at the same time
 
- max
Surge Integer - The maximum number of nodes to be created during the upgrade
 - Integer
 - The maximum number of nodes that can be not ready at the same time
 
- max
Surge number - The maximum number of nodes to be created during the upgrade
 - number
 - The maximum number of nodes that can be not ready at the same time
 
- max_
surge int - The maximum number of nodes to be created during the upgrade
 - int
 - The maximum number of nodes that can be not ready at the same time
 
- max
Surge Number - The maximum number of nodes to be created during the upgrade
 - Number
 - The maximum number of nodes that can be not ready at the same time
 
Package Details
- Repository
 - scaleway pulumiverse/pulumi-scaleway
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
scalewayTerraform Provider.