Scaleway v1.15.0 published on Tuesday, Jul 30, 2024 by pulumiverse
scaleway.getKubernetesNodePool
Explore with Pulumi AI
Gets information about a Kubernetes Cluster’s Pool.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumi/scaleway";
const myKey = scaleway.getKubernetesNodePool({
poolId: "11111111-1111-1111-1111-111111111111",
});
import pulumi
import pulumi_scaleway as scaleway
my_key = scaleway.get_kubernetes_node_pool(pool_id="11111111-1111-1111-1111-111111111111")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := scaleway.LookupKubernetesNodePool(ctx, &scaleway.LookupKubernetesNodePoolArgs{
PoolId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumi.Scaleway;
return await Deployment.RunAsync(() =>
{
var myKey = Scaleway.GetKubernetesNodePool.Invoke(new()
{
PoolId = "11111111-1111-1111-1111-111111111111",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.ScalewayFunctions;
import com.pulumi.scaleway.inputs.GetKubernetesNodePoolArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var myKey = ScalewayFunctions.getKubernetesNodePool(GetKubernetesNodePoolArgs.builder()
.poolId("11111111-1111-1111-1111-111111111111")
.build());
}
}
variables:
myKey:
fn::invoke:
Function: scaleway:getKubernetesNodePool
Arguments:
poolId: 11111111-1111-1111-1111-111111111111
Using getKubernetesNodePool
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 getKubernetesNodePool(args: GetKubernetesNodePoolArgs, opts?: InvokeOptions): Promise<GetKubernetesNodePoolResult>
function getKubernetesNodePoolOutput(args: GetKubernetesNodePoolOutputArgs, opts?: InvokeOptions): Output<GetKubernetesNodePoolResult>
def get_kubernetes_node_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) -> GetKubernetesNodePoolResult
def get_kubernetes_node_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[GetKubernetesNodePoolResult]
func LookupKubernetesNodePool(ctx *Context, args *LookupKubernetesNodePoolArgs, opts ...InvokeOption) (*LookupKubernetesNodePoolResult, error)
func LookupKubernetesNodePoolOutput(ctx *Context, args *LookupKubernetesNodePoolOutputArgs, opts ...InvokeOption) LookupKubernetesNodePoolResultOutput
> Note: This function is named LookupKubernetesNodePool
in the Go SDK.
public static class GetKubernetesNodePool
{
public static Task<GetKubernetesNodePoolResult> InvokeAsync(GetKubernetesNodePoolArgs args, InvokeOptions? opts = null)
public static Output<GetKubernetesNodePoolResult> Invoke(GetKubernetesNodePoolInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetKubernetesNodePoolResult> getKubernetesNodePool(GetKubernetesNodePoolArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: scaleway:index/getKubernetesNodePool:getKubernetesNodePool
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Id string - The cluster ID. Required when
name
is set. - Name string
- The pool name. Only one of
name
andpool_id
should be specified.cluster_id
should be specified withname
. - Pool
Id string - The pool's ID. Only one of
name
andpool_id
should 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
name
is set. - Name string
- The pool name. Only one of
name
andpool_id
should be specified.cluster_id
should be specified withname
. - Pool
Id string - The pool's ID. Only one of
name
andpool_id
should 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
name
is set. - name String
- The pool name. Only one of
name
andpool_id
should be specified.cluster_id
should be specified withname
. - pool
Id String - The pool's ID. Only one of
name
andpool_id
should 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
name
is set. - name string
- The pool name. Only one of
name
andpool_id
should be specified.cluster_id
should be specified withname
. - pool
Id string - The pool's ID. Only one of
name
andpool_id
should 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
name
is set. - name str
- The pool name. Only one of
name
andpool_id
should be specified.cluster_id
should be specified withname
. - pool_
id str - The pool's ID. Only one of
name
andpool_id
should 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
name
is set. - name String
- The pool name. Only one of
name
andpool_id
should be specified.cluster_id
should be specified withname
. - pool
Id String - The pool's ID. Only one of
name
andpool_id
should be specified. - region String
region
) The region in which the pool exists.- size Number
- The size of the pool.
getKubernetesNodePool 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. Outputs. Get Kubernetes Node 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. Outputs. Get Kubernetes Node 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
Kubernetes Node 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 []GetKubernetes Node 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 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
Kubernetes Node 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<GetKubernetes Node Pool 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
Kubernetes Node 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 GetKubernetes Node Pool 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
Kubernetes Node 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[GetKubernetes Node Pool 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
GetKubernetesNodePoolNode
- Name string
- The pool name. Only one of
name
andpool_id
should be specified.cluster_id
should 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
name
andpool_id
should be specified.cluster_id
should 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
name
andpool_id
should be specified.cluster_id
should 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
name
andpool_id
should be specified.cluster_id
should 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
name
andpool_id
should be specified.cluster_id
should 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
name
andpool_id
should be specified.cluster_id
should be specified withname
. - public
Ip String - The public IPv4.
- public
Ip StringV6 - The public IPv6.
- status String
- The status of the node.
GetKubernetesNodePoolUpgradePolicy
- 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
scaleway
Terraform Provider.