ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud
ionoscloud.getDataplatformNodePools
Explore with Pulumi AI
ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud
The Dataplatform Node Pools Data Source can be used to search for and return a list of existing Dataplatform Node Pools under a Dataplatform Cluster.
Example Usage
All Node Pools under a Cluster ID
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@pulumi/ionoscloud";
const example = ionoscloud.getDataplatformNodePools({
    clusterId: "cluster_id",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.get_dataplatform_node_pools(cluster_id="cluster_id")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ionoscloud/v6/ionoscloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ionoscloud.GetDataplatformNodePools(ctx, &ionoscloud.GetDataplatformNodePoolsArgs{
			ClusterId: "cluster_id",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Pulumi.Ionoscloud;
return await Deployment.RunAsync(() => 
{
    var example = Ionoscloud.GetDataplatformNodePools.Invoke(new()
    {
        ClusterId = "cluster_id",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.IonoscloudFunctions;
import com.pulumi.ionoscloud.inputs.GetDataplatformNodePoolsArgs;
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 example = IonoscloudFunctions.getDataplatformNodePools(GetDataplatformNodePoolsArgs.builder()
            .clusterId("cluster_id")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: ionoscloud:getDataplatformNodePools
      arguments:
        clusterId: cluster_id
By Name
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@pulumi/ionoscloud";
const example = ionoscloud.getDataplatformNodePools({
    clusterId: "cluster_id",
    name: "Dataplatform_Node_Pool_Example",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.get_dataplatform_node_pools(cluster_id="cluster_id",
    name="Dataplatform_Node_Pool_Example")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ionoscloud/v6/ionoscloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ionoscloud.GetDataplatformNodePools(ctx, &ionoscloud.GetDataplatformNodePoolsArgs{
			ClusterId: "cluster_id",
			Name:      pulumi.StringRef("Dataplatform_Node_Pool_Example"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Pulumi.Ionoscloud;
return await Deployment.RunAsync(() => 
{
    var example = Ionoscloud.GetDataplatformNodePools.Invoke(new()
    {
        ClusterId = "cluster_id",
        Name = "Dataplatform_Node_Pool_Example",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.IonoscloudFunctions;
import com.pulumi.ionoscloud.inputs.GetDataplatformNodePoolsArgs;
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 example = IonoscloudFunctions.getDataplatformNodePools(GetDataplatformNodePoolsArgs.builder()
            .clusterId("cluster_id")
            .name("Dataplatform_Node_Pool_Example")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: ionoscloud:getDataplatformNodePools
      arguments:
        clusterId: cluster_id
        name: Dataplatform_Node_Pool_Example
By Name with Partial Match
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@pulumi/ionoscloud";
const example = ionoscloud.getDataplatformNodePools({
    clusterId: "cluster_id",
    name: "_Example",
    partialMatch: true,
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.get_dataplatform_node_pools(cluster_id="cluster_id",
    name="_Example",
    partial_match=True)
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ionoscloud/v6/ionoscloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ionoscloud.GetDataplatformNodePools(ctx, &ionoscloud.GetDataplatformNodePoolsArgs{
			ClusterId:    "cluster_id",
			Name:         pulumi.StringRef("_Example"),
			PartialMatch: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Pulumi.Ionoscloud;
return await Deployment.RunAsync(() => 
{
    var example = Ionoscloud.GetDataplatformNodePools.Invoke(new()
    {
        ClusterId = "cluster_id",
        Name = "_Example",
        PartialMatch = true,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.IonoscloudFunctions;
import com.pulumi.ionoscloud.inputs.GetDataplatformNodePoolsArgs;
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 example = IonoscloudFunctions.getDataplatformNodePools(GetDataplatformNodePoolsArgs.builder()
            .clusterId("cluster_id")
            .name("_Example")
            .partialMatch(true)
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: ionoscloud:getDataplatformNodePools
      arguments:
        clusterId: cluster_id
        name: _Example
        partialMatch: true
Using getDataplatformNodePools
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 getDataplatformNodePools(args: GetDataplatformNodePoolsArgs, opts?: InvokeOptions): Promise<GetDataplatformNodePoolsResult>
function getDataplatformNodePoolsOutput(args: GetDataplatformNodePoolsOutputArgs, opts?: InvokeOptions): Output<GetDataplatformNodePoolsResult>def get_dataplatform_node_pools(cluster_id: Optional[str] = None,
                                id: Optional[str] = None,
                                name: Optional[str] = None,
                                partial_match: Optional[bool] = None,
                                timeouts: Optional[GetDataplatformNodePoolsTimeouts] = None,
                                opts: Optional[InvokeOptions] = None) -> GetDataplatformNodePoolsResult
def get_dataplatform_node_pools_output(cluster_id: Optional[pulumi.Input[str]] = None,
                                id: Optional[pulumi.Input[str]] = None,
                                name: Optional[pulumi.Input[str]] = None,
                                partial_match: Optional[pulumi.Input[bool]] = None,
                                timeouts: Optional[pulumi.Input[GetDataplatformNodePoolsTimeoutsArgs]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetDataplatformNodePoolsResult]func GetDataplatformNodePools(ctx *Context, args *GetDataplatformNodePoolsArgs, opts ...InvokeOption) (*GetDataplatformNodePoolsResult, error)
func GetDataplatformNodePoolsOutput(ctx *Context, args *GetDataplatformNodePoolsOutputArgs, opts ...InvokeOption) GetDataplatformNodePoolsResultOutput> Note: This function is named GetDataplatformNodePools in the Go SDK.
public static class GetDataplatformNodePools 
{
    public static Task<GetDataplatformNodePoolsResult> InvokeAsync(GetDataplatformNodePoolsArgs args, InvokeOptions? opts = null)
    public static Output<GetDataplatformNodePoolsResult> Invoke(GetDataplatformNodePoolsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDataplatformNodePoolsResult> getDataplatformNodePools(GetDataplatformNodePoolsArgs args, InvokeOptions options)
public static Output<GetDataplatformNodePoolsResult> getDataplatformNodePools(GetDataplatformNodePoolsArgs args, InvokeOptions options)
fn::invoke:
  function: ionoscloud:index/getDataplatformNodePools:getDataplatformNodePools
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Cluster
Id string - ID of the cluster the searched node pool is part of.
 - Id string
 - Name string
 - Name of an existing cluster that you want to search for. Search by name is case-insensitive. The whole resource name is required if 
partial_matchparameter is not set to true. - Partial
Match bool - Whether partial matching is allowed or not when using name argument. Default value is false.
 - Timeouts
Get
Dataplatform Node Pools Timeouts  
- Cluster
Id string - ID of the cluster the searched node pool is part of.
 - Id string
 - Name string
 - Name of an existing cluster that you want to search for. Search by name is case-insensitive. The whole resource name is required if 
partial_matchparameter is not set to true. - Partial
Match bool - Whether partial matching is allowed or not when using name argument. Default value is false.
 - Timeouts
Get
Dataplatform Node Pools Timeouts  
- cluster
Id String - ID of the cluster the searched node pool is part of.
 - id String
 - name String
 - Name of an existing cluster that you want to search for. Search by name is case-insensitive. The whole resource name is required if 
partial_matchparameter is not set to true. - partial
Match Boolean - Whether partial matching is allowed or not when using name argument. Default value is false.
 - timeouts
Get
Dataplatform Node Pools Timeouts  
- cluster
Id string - ID of the cluster the searched node pool is part of.
 - id string
 - name string
 - Name of an existing cluster that you want to search for. Search by name is case-insensitive. The whole resource name is required if 
partial_matchparameter is not set to true. - partial
Match boolean - Whether partial matching is allowed or not when using name argument. Default value is false.
 - timeouts
Get
Dataplatform Node Pools Timeouts  
- cluster_
id str - ID of the cluster the searched node pool is part of.
 - id str
 - name str
 - Name of an existing cluster that you want to search for. Search by name is case-insensitive. The whole resource name is required if 
partial_matchparameter is not set to true. - partial_
match bool - Whether partial matching is allowed or not when using name argument. Default value is false.
 - timeouts
Get
Dataplatform Node Pools Timeouts  
- cluster
Id String - ID of the cluster the searched node pool is part of.
 - id String
 - name String
 - Name of an existing cluster that you want to search for. Search by name is case-insensitive. The whole resource name is required if 
partial_matchparameter is not set to true. - partial
Match Boolean - Whether partial matching is allowed or not when using name argument. Default value is false.
 - timeouts Property Map
 
getDataplatformNodePools Result
The following output properties are available:
- Cluster
Id string - ID of the cluster the searched node pool is part of.
 - Id string
 - Node
Pools List<GetDataplatform Node Pools Node Pool>  - List of Node Pools - See the Node Pool section.
 - Name string
 - Partial
Match bool - Timeouts
Get
Dataplatform Node Pools Timeouts  
- Cluster
Id string - ID of the cluster the searched node pool is part of.
 - Id string
 - Node
Pools []GetDataplatform Node Pools Node Pool  - List of Node Pools - See the Node Pool section.
 - Name string
 - Partial
Match bool - Timeouts
Get
Dataplatform Node Pools Timeouts  
- cluster
Id String - ID of the cluster the searched node pool is part of.
 - id String
 - node
Pools List<GetDataplatform Node Pools Node Pool>  - List of Node Pools - See the Node Pool section.
 - name String
 - partial
Match Boolean - timeouts
Get
Dataplatform Node Pools Timeouts  
- cluster
Id string - ID of the cluster the searched node pool is part of.
 - id string
 - node
Pools GetDataplatform Node Pools Node Pool[]  - List of Node Pools - See the Node Pool section.
 - name string
 - partial
Match boolean - timeouts
Get
Dataplatform Node Pools Timeouts  
- cluster_
id str - ID of the cluster the searched node pool is part of.
 - id str
 - node_
pools Sequence[GetDataplatform Node Pools Node Pool]  - List of Node Pools - See the Node Pool section.
 - name str
 - partial_
match bool - timeouts
Get
Dataplatform Node Pools Timeouts  
- cluster
Id String - ID of the cluster the searched node pool is part of.
 - id String
 - node
Pools List<Property Map> - List of Node Pools - See the Node Pool section.
 - name String
 - partial
Match Boolean - timeouts Property Map
 
Supporting Types
GetDataplatformNodePoolsNodePool     
- Annotations Dictionary<string, string>
 - Availability
Zone string - Cores
Count double - Cpu
Family string - Datacenter
Id string - Id string
 - Labels Dictionary<string, string>
 - Maintenance
Windows List<GetDataplatform Node Pools Node Pool Maintenance Window>  - Name string
 - Name of an existing cluster that you want to search for. Search by name is case-insensitive. The whole resource name is required if 
partial_matchparameter is not set to true. - Node
Count double - Ram
Size double - Storage
Size double - Storage
Type string - Version string
 
- Annotations map[string]string
 - Availability
Zone string - Cores
Count float64 - Cpu
Family string - Datacenter
Id string - Id string
 - Labels map[string]string
 - Maintenance
Windows []GetDataplatform Node Pools Node Pool Maintenance Window  - Name string
 - Name of an existing cluster that you want to search for. Search by name is case-insensitive. The whole resource name is required if 
partial_matchparameter is not set to true. - Node
Count float64 - Ram
Size float64 - Storage
Size float64 - Storage
Type string - Version string
 
- annotations Map<String,String>
 - availability
Zone String - cores
Count Double - cpu
Family String - datacenter
Id String - id String
 - labels Map<String,String>
 - maintenance
Windows List<GetDataplatform Node Pools Node Pool Maintenance Window>  - name String
 - Name of an existing cluster that you want to search for. Search by name is case-insensitive. The whole resource name is required if 
partial_matchparameter is not set to true. - node
Count Double - ram
Size Double - storage
Size Double - storage
Type String - version String
 
- annotations {[key: string]: string}
 - availability
Zone string - cores
Count number - cpu
Family string - datacenter
Id string - id string
 - labels {[key: string]: string}
 - maintenance
Windows GetDataplatform Node Pools Node Pool Maintenance Window[]  - name string
 - Name of an existing cluster that you want to search for. Search by name is case-insensitive. The whole resource name is required if 
partial_matchparameter is not set to true. - node
Count number - ram
Size number - storage
Size number - storage
Type string - version string
 
- annotations Mapping[str, str]
 - availability_
zone str - cores_
count float - cpu_
family str - datacenter_
id str - id str
 - labels Mapping[str, str]
 - maintenance_
windows Sequence[GetDataplatform Node Pools Node Pool Maintenance Window]  - name str
 - Name of an existing cluster that you want to search for. Search by name is case-insensitive. The whole resource name is required if 
partial_matchparameter is not set to true. - node_
count float - ram_
size float - storage_
size float - storage_
type str - version str
 
- annotations Map<String>
 - availability
Zone String - cores
Count Number - cpu
Family String - datacenter
Id String - id String
 - labels Map<String>
 - maintenance
Windows List<Property Map> - name String
 - Name of an existing cluster that you want to search for. Search by name is case-insensitive. The whole resource name is required if 
partial_matchparameter is not set to true. - node
Count Number - ram
Size Number - storage
Size Number - storage
Type String - version String
 
GetDataplatformNodePoolsNodePoolMaintenanceWindow       
- Day
Of stringThe Week  - Time string
 
- Day
Of stringThe Week  - Time string
 
- day
Of StringThe Week  - time String
 
- day
Of stringThe Week  - time string
 
- day_
of_ strthe_ week  - time str
 
- day
Of StringThe Week  - time String
 
GetDataplatformNodePoolsTimeouts    
Package Details
- Repository
 - ionoscloud ionos-cloud/terraform-provider-ionoscloud
 - License
 - Notes
 - This Pulumi package is based on the 
ionoscloudTerraform Provider. 
ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud