edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center
edgecenter.getK8sPool
Explore with Pulumi AI
edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center
Represent k8s cluster’s pool.
WARNING: Data source “edgecenter.K8sPool” is deprecated and unavailable.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as edgecenter from "@pulumi/edgecenter";
const pool = edgecenter.getK8sPool({
clusterId: "6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25",
poolId: "dc3a3ea9-86ae-47ad-a8e8-79df0ce04839",
projectId: 1,
regionId: 1,
});
import pulumi
import pulumi_edgecenter as edgecenter
pool = edgecenter.get_k8s_pool(cluster_id="6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25",
pool_id="dc3a3ea9-86ae-47ad-a8e8-79df0ce04839",
project_id=1,
region_id=1)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/edgecenter/edgecenter"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := edgecenter.LookupK8sPool(ctx, &edgecenter.LookupK8sPoolArgs{
ClusterId: "6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25",
PoolId: "dc3a3ea9-86ae-47ad-a8e8-79df0ce04839",
ProjectId: pulumi.Float64Ref(1),
RegionId: pulumi.Float64Ref(1),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Edgecenter = Pulumi.Edgecenter;
return await Deployment.RunAsync(() =>
{
var pool = Edgecenter.GetK8sPool.Invoke(new()
{
ClusterId = "6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25",
PoolId = "dc3a3ea9-86ae-47ad-a8e8-79df0ce04839",
ProjectId = 1,
RegionId = 1,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.edgecenter.EdgecenterFunctions;
import com.pulumi.edgecenter.inputs.GetK8sPoolArgs;
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 pool = EdgecenterFunctions.getK8sPool(GetK8sPoolArgs.builder()
.clusterId("6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25")
.poolId("dc3a3ea9-86ae-47ad-a8e8-79df0ce04839")
.projectId(1)
.regionId(1)
.build());
}
}
variables:
pool:
fn::invoke:
function: edgecenter:getK8sPool
arguments:
clusterId: 6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25
poolId: dc3a3ea9-86ae-47ad-a8e8-79df0ce04839
projectId: 1
regionId: 1
Using getK8sPool
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 getK8sPool(args: GetK8sPoolArgs, opts?: InvokeOptions): Promise<GetK8sPoolResult>
function getK8sPoolOutput(args: GetK8sPoolOutputArgs, opts?: InvokeOptions): Output<GetK8sPoolResult>
def get_k8s_pool(cluster_id: Optional[str] = None,
id: Optional[str] = None,
pool_id: Optional[str] = None,
project_id: Optional[float] = None,
project_name: Optional[str] = None,
region_id: Optional[float] = None,
region_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetK8sPoolResult
def get_k8s_pool_output(cluster_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
pool_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[float]] = None,
project_name: Optional[pulumi.Input[str]] = None,
region_id: Optional[pulumi.Input[float]] = None,
region_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetK8sPoolResult]
func LookupK8sPool(ctx *Context, args *LookupK8sPoolArgs, opts ...InvokeOption) (*LookupK8sPoolResult, error)
func LookupK8sPoolOutput(ctx *Context, args *LookupK8sPoolOutputArgs, opts ...InvokeOption) LookupK8sPoolResultOutput
> Note: This function is named LookupK8sPool
in the Go SDK.
public static class GetK8sPool
{
public static Task<GetK8sPoolResult> InvokeAsync(GetK8sPoolArgs args, InvokeOptions? opts = null)
public static Output<GetK8sPoolResult> Invoke(GetK8sPoolInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetK8sPoolResult> getK8sPool(GetK8sPoolArgs args, InvokeOptions options)
public static Output<GetK8sPoolResult> getK8sPool(GetK8sPoolArgs args, InvokeOptions options)
fn::invoke:
function: edgecenter:index/getK8sPool:getK8sPool
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Id string - The uuid of the Kubernetes cluster this pool belongs to.
- Pool
Id string - The uuid of the Kubernetes pool within the cluster.
- Id string
- The ID of this resource.
- Project
Id double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Cluster
Id string - The uuid of the Kubernetes cluster this pool belongs to.
- Pool
Id string - The uuid of the Kubernetes pool within the cluster.
- Id string
- The ID of this resource.
- Project
Id float64 - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id float64 - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- cluster
Id String - The uuid of the Kubernetes cluster this pool belongs to.
- pool
Id String - The uuid of the Kubernetes pool within the cluster.
- id String
- The ID of this resource.
- project
Id Double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- cluster
Id string - The uuid of the Kubernetes cluster this pool belongs to.
- pool
Id string - The uuid of the Kubernetes pool within the cluster.
- id string
- The ID of this resource.
- project
Id number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- cluster_
id str - The uuid of the Kubernetes cluster this pool belongs to.
- pool_
id str - The uuid of the Kubernetes pool within the cluster.
- id str
- The ID of this resource.
- project_
id float - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project_
name str - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region_
id float - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region_
name str - The name of the region. Either 'regionid' or 'regionname' must be specified.
- cluster
Id String - The uuid of the Kubernetes cluster this pool belongs to.
- pool
Id String - The uuid of the Kubernetes pool within the cluster.
- id String
- The ID of this resource.
- project
Id Number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
getK8sPool Result
The following output properties are available:
- Cluster
Id string - The uuid of the Kubernetes cluster this pool belongs to.
- Created
At string - The timestamp when the Kubernetes pool was created.
- Docker
Volume doubleSize - The size of the volume used for Docker containers, in gigabytes.
- Docker
Volume stringType - The type of volume used for the Docker containers. Available values are 'standard', 'ssd_hiiops', 'cold', and 'ultra'.
- Flavor
Id string - The identifier of the flavor used for nodes in this pool.
- Id string
- The ID of this resource.
- Is
Default bool - Indicates whether this pool is the default pool in the cluster.
- Max
Node doubleCount - The maximum number of nodes the pool can scale to.
- Min
Node doubleCount - The minimum number of nodes in the pool.
- Name string
- The name of the Kubernetes pool.
- Node
Addresses List<string> - A list of IP addresses of nodes within the pool.
- Node
Count double - The current number of nodes in the pool.
- Node
Names List<string> - A list of names of nodes within the pool.
- Pool
Id string - The uuid of the Kubernetes pool within the cluster.
- Stack
Id string - The identifier of the underlying infrastructure stack used by this pool.
- Project
Id double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Cluster
Id string - The uuid of the Kubernetes cluster this pool belongs to.
- Created
At string - The timestamp when the Kubernetes pool was created.
- Docker
Volume float64Size - The size of the volume used for Docker containers, in gigabytes.
- Docker
Volume stringType - The type of volume used for the Docker containers. Available values are 'standard', 'ssd_hiiops', 'cold', and 'ultra'.
- Flavor
Id string - The identifier of the flavor used for nodes in this pool.
- Id string
- The ID of this resource.
- Is
Default bool - Indicates whether this pool is the default pool in the cluster.
- Max
Node float64Count - The maximum number of nodes the pool can scale to.
- Min
Node float64Count - The minimum number of nodes in the pool.
- Name string
- The name of the Kubernetes pool.
- Node
Addresses []string - A list of IP addresses of nodes within the pool.
- Node
Count float64 - The current number of nodes in the pool.
- Node
Names []string - A list of names of nodes within the pool.
- Pool
Id string - The uuid of the Kubernetes pool within the cluster.
- Stack
Id string - The identifier of the underlying infrastructure stack used by this pool.
- Project
Id float64 - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id float64 - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- cluster
Id String - The uuid of the Kubernetes cluster this pool belongs to.
- created
At String - The timestamp when the Kubernetes pool was created.
- docker
Volume DoubleSize - The size of the volume used for Docker containers, in gigabytes.
- docker
Volume StringType - The type of volume used for the Docker containers. Available values are 'standard', 'ssd_hiiops', 'cold', and 'ultra'.
- flavor
Id String - The identifier of the flavor used for nodes in this pool.
- id String
- The ID of this resource.
- is
Default Boolean - Indicates whether this pool is the default pool in the cluster.
- max
Node DoubleCount - The maximum number of nodes the pool can scale to.
- min
Node DoubleCount - The minimum number of nodes in the pool.
- name String
- The name of the Kubernetes pool.
- node
Addresses List<String> - A list of IP addresses of nodes within the pool.
- node
Count Double - The current number of nodes in the pool.
- node
Names List<String> - A list of names of nodes within the pool.
- pool
Id String - The uuid of the Kubernetes pool within the cluster.
- stack
Id String - The identifier of the underlying infrastructure stack used by this pool.
- project
Id Double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- cluster
Id string - The uuid of the Kubernetes cluster this pool belongs to.
- created
At string - The timestamp when the Kubernetes pool was created.
- docker
Volume numberSize - The size of the volume used for Docker containers, in gigabytes.
- docker
Volume stringType - The type of volume used for the Docker containers. Available values are 'standard', 'ssd_hiiops', 'cold', and 'ultra'.
- flavor
Id string - The identifier of the flavor used for nodes in this pool.
- id string
- The ID of this resource.
- is
Default boolean - Indicates whether this pool is the default pool in the cluster.
- max
Node numberCount - The maximum number of nodes the pool can scale to.
- min
Node numberCount - The minimum number of nodes in the pool.
- name string
- The name of the Kubernetes pool.
- node
Addresses string[] - A list of IP addresses of nodes within the pool.
- node
Count number - The current number of nodes in the pool.
- node
Names string[] - A list of names of nodes within the pool.
- pool
Id string - The uuid of the Kubernetes pool within the cluster.
- stack
Id string - The identifier of the underlying infrastructure stack used by this pool.
- project
Id number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- cluster_
id str - The uuid of the Kubernetes cluster this pool belongs to.
- created_
at str - The timestamp when the Kubernetes pool was created.
- docker_
volume_ floatsize - The size of the volume used for Docker containers, in gigabytes.
- docker_
volume_ strtype - The type of volume used for the Docker containers. Available values are 'standard', 'ssd_hiiops', 'cold', and 'ultra'.
- flavor_
id str - The identifier of the flavor used for nodes in this pool.
- id str
- The ID of this resource.
- is_
default bool - Indicates whether this pool is the default pool in the cluster.
- max_
node_ floatcount - The maximum number of nodes the pool can scale to.
- min_
node_ floatcount - The minimum number of nodes in the pool.
- name str
- The name of the Kubernetes pool.
- node_
addresses Sequence[str] - A list of IP addresses of nodes within the pool.
- node_
count float - The current number of nodes in the pool.
- node_
names Sequence[str] - A list of names of nodes within the pool.
- pool_
id str - The uuid of the Kubernetes pool within the cluster.
- stack_
id str - The identifier of the underlying infrastructure stack used by this pool.
- project_
id float - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project_
name str - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region_
id float - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region_
name str - The name of the region. Either 'regionid' or 'regionname' must be specified.
- cluster
Id String - The uuid of the Kubernetes cluster this pool belongs to.
- created
At String - The timestamp when the Kubernetes pool was created.
- docker
Volume NumberSize - The size of the volume used for Docker containers, in gigabytes.
- docker
Volume StringType - The type of volume used for the Docker containers. Available values are 'standard', 'ssd_hiiops', 'cold', and 'ultra'.
- flavor
Id String - The identifier of the flavor used for nodes in this pool.
- id String
- The ID of this resource.
- is
Default Boolean - Indicates whether this pool is the default pool in the cluster.
- max
Node NumberCount - The maximum number of nodes the pool can scale to.
- min
Node NumberCount - The minimum number of nodes in the pool.
- name String
- The name of the Kubernetes pool.
- node
Addresses List<String> - A list of IP addresses of nodes within the pool.
- node
Count Number - The current number of nodes in the pool.
- node
Names List<String> - A list of names of nodes within the pool.
- pool
Id String - The uuid of the Kubernetes pool within the cluster.
- stack
Id String - The identifier of the underlying infrastructure stack used by this pool.
- project
Id Number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
Package Details
- Repository
- edgecenter edge-center/terraform-provider-edgecenter
- License
- Notes
- This Pulumi package is based on the
edgecenter
Terraform Provider.
edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center