1. Packages
  2. Edgecenter Provider
  3. API Docs
  4. getMkaasPool
Viewing docs for edgecenter 0.12.0
published on Tuesday, Mar 24, 2026 by edge-center
edgecenter logo
Viewing docs for edgecenter 0.12.0
published on Tuesday, Mar 24, 2026 by edge-center

    Represent MKaaS cluster’s pool.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as edgecenter from "@pulumi/edgecenter";
    
    const apps = edgecenter.getMkaasPool({
        projectId: 1234,
        regionId: 53,
        clusterId: 321,
        poolId: 654,
    });
    
    import pulumi
    import pulumi_edgecenter as edgecenter
    
    apps = edgecenter.get_mkaas_pool(project_id=1234,
        region_id=53,
        cluster_id=321,
        pool_id=654)
    
    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.LookupMkaasPool(ctx, &edgecenter.LookupMkaasPoolArgs{
    			ProjectId: pulumi.Float64Ref(1234),
    			RegionId:  pulumi.Float64Ref(53),
    			ClusterId: 321,
    			PoolId:    654,
    		}, 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 apps = Edgecenter.GetMkaasPool.Invoke(new()
        {
            ProjectId = 1234,
            RegionId = 53,
            ClusterId = 321,
            PoolId = 654,
        });
    
    });
    
    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.GetMkaasPoolArgs;
    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 apps = EdgecenterFunctions.getMkaasPool(GetMkaasPoolArgs.builder()
                .projectId(1234)
                .regionId(53)
                .clusterId(321)
                .poolId(654)
                .build());
    
        }
    }
    
    variables:
      apps:
        fn::invoke:
          function: edgecenter:getMkaasPool
          arguments:
            projectId: 1234
            regionId: 53
            clusterId: 321
            poolId: 654
    

    Using getMkaasPool

    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 getMkaasPool(args: GetMkaasPoolArgs, opts?: InvokeOptions): Promise<GetMkaasPoolResult>
    function getMkaasPoolOutput(args: GetMkaasPoolOutputArgs, opts?: InvokeOptions): Output<GetMkaasPoolResult>
    def get_mkaas_pool(cluster_id: Optional[float] = None,
                       id: Optional[str] = None,
                       pool_id: Optional[float] = 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) -> GetMkaasPoolResult
    def get_mkaas_pool_output(cluster_id: Optional[pulumi.Input[float]] = None,
                       id: Optional[pulumi.Input[str]] = None,
                       pool_id: Optional[pulumi.Input[float]] = 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[GetMkaasPoolResult]
    func LookupMkaasPool(ctx *Context, args *LookupMkaasPoolArgs, opts ...InvokeOption) (*LookupMkaasPoolResult, error)
    func LookupMkaasPoolOutput(ctx *Context, args *LookupMkaasPoolOutputArgs, opts ...InvokeOption) LookupMkaasPoolResultOutput

    > Note: This function is named LookupMkaasPool in the Go SDK.

    public static class GetMkaasPool 
    {
        public static Task<GetMkaasPoolResult> InvokeAsync(GetMkaasPoolArgs args, InvokeOptions? opts = null)
        public static Output<GetMkaasPoolResult> Invoke(GetMkaasPoolInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMkaasPoolResult> getMkaasPool(GetMkaasPoolArgs args, InvokeOptions options)
    public static Output<GetMkaasPoolResult> getMkaasPool(GetMkaasPoolArgs args, InvokeOptions options)
    
    fn::invoke:
      function: edgecenter:index/getMkaasPool:getMkaasPool
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ClusterId double
    The id of the Kubernetes cluster this pool belongs to.
    PoolId double
    The id of the Kubernetes pool within the cluster.
    Id string
    The ID of this resource.
    ProjectId double
    The numeric id of the project. Either project_id or project_name must be specified.
    ProjectName string
    The name of the project. Either project_id or project_name must be specified.
    RegionId double
    The numeric id of the region. Either region_id or region_name must be specified.
    RegionName string
    The name of the region. Either region_id or region_name must be specified.
    ClusterId float64
    The id of the Kubernetes cluster this pool belongs to.
    PoolId float64
    The id of the Kubernetes pool within the cluster.
    Id string
    The ID of this resource.
    ProjectId float64
    The numeric id of the project. Either project_id or project_name must be specified.
    ProjectName string
    The name of the project. Either project_id or project_name must be specified.
    RegionId float64
    The numeric id of the region. Either region_id or region_name must be specified.
    RegionName string
    The name of the region. Either region_id or region_name must be specified.
    clusterId Double
    The id of the Kubernetes cluster this pool belongs to.
    poolId Double
    The id of the Kubernetes pool within the cluster.
    id String
    The ID of this resource.
    projectId Double
    The numeric id of the project. Either project_id or project_name must be specified.
    projectName String
    The name of the project. Either project_id or project_name must be specified.
    regionId Double
    The numeric id of the region. Either region_id or region_name must be specified.
    regionName String
    The name of the region. Either region_id or region_name must be specified.
    clusterId number
    The id of the Kubernetes cluster this pool belongs to.
    poolId number
    The id of the Kubernetes pool within the cluster.
    id string
    The ID of this resource.
    projectId number
    The numeric id of the project. Either project_id or project_name must be specified.
    projectName string
    The name of the project. Either project_id or project_name must be specified.
    regionId number
    The numeric id of the region. Either region_id or region_name must be specified.
    regionName string
    The name of the region. Either region_id or region_name must be specified.
    cluster_id float
    The id of the Kubernetes cluster this pool belongs to.
    pool_id float
    The id of the Kubernetes pool within the cluster.
    id str
    The ID of this resource.
    project_id float
    The numeric id of the project. Either project_id or project_name must be specified.
    project_name str
    The name of the project. Either project_id or project_name must be specified.
    region_id float
    The numeric id of the region. Either region_id or region_name must be specified.
    region_name str
    The name of the region. Either region_id or region_name must be specified.
    clusterId Number
    The id of the Kubernetes cluster this pool belongs to.
    poolId Number
    The id of the Kubernetes pool within the cluster.
    id String
    The ID of this resource.
    projectId Number
    The numeric id of the project. Either project_id or project_name must be specified.
    projectName String
    The name of the project. Either project_id or project_name must be specified.
    regionId Number
    The numeric id of the region. Either region_id or region_name must be specified.
    regionName String
    The name of the region. Either region_id or region_name must be specified.

    getMkaasPool Result

    The following output properties are available:

    ClusterId double
    The id of the Kubernetes cluster this pool belongs to.
    Flavor string
    The identifier of the flavor used for nodes in this pool, e.g. g1-standard-2-4.
    Id string
    The ID of this resource.
    Labels Dictionary<string, string>
    Arbitrary labels assigned to the pool.
    Name string
    The name of the Kubernetes pool.
    NodeCount double
    The current number of nodes in the pool.
    PoolId double
    The id of the Kubernetes pool within the cluster.
    SecurityGroupIds List<string>
    List of security group IDs attached to the pool.
    State string
    The state of the pool.
    Status string
    The status of the pool.
    VolumeSize double
    The size of the volumes used by nodes in the pool, specified in gigabytes (GB).
    VolumeType string
    The type of volume used by nodes in the pool.
    ProjectId double
    The numeric id of the project. Either project_id or project_name must be specified.
    ProjectName string
    The name of the project. Either project_id or project_name must be specified.
    RegionId double
    The numeric id of the region. Either region_id or region_name must be specified.
    RegionName string
    The name of the region. Either region_id or region_name must be specified.
    ClusterId float64
    The id of the Kubernetes cluster this pool belongs to.
    Flavor string
    The identifier of the flavor used for nodes in this pool, e.g. g1-standard-2-4.
    Id string
    The ID of this resource.
    Labels map[string]string
    Arbitrary labels assigned to the pool.
    Name string
    The name of the Kubernetes pool.
    NodeCount float64
    The current number of nodes in the pool.
    PoolId float64
    The id of the Kubernetes pool within the cluster.
    SecurityGroupIds []string
    List of security group IDs attached to the pool.
    State string
    The state of the pool.
    Status string
    The status of the pool.
    VolumeSize float64
    The size of the volumes used by nodes in the pool, specified in gigabytes (GB).
    VolumeType string
    The type of volume used by nodes in the pool.
    ProjectId float64
    The numeric id of the project. Either project_id or project_name must be specified.
    ProjectName string
    The name of the project. Either project_id or project_name must be specified.
    RegionId float64
    The numeric id of the region. Either region_id or region_name must be specified.
    RegionName string
    The name of the region. Either region_id or region_name must be specified.
    clusterId Double
    The id of the Kubernetes cluster this pool belongs to.
    flavor String
    The identifier of the flavor used for nodes in this pool, e.g. g1-standard-2-4.
    id String
    The ID of this resource.
    labels Map<String,String>
    Arbitrary labels assigned to the pool.
    name String
    The name of the Kubernetes pool.
    nodeCount Double
    The current number of nodes in the pool.
    poolId Double
    The id of the Kubernetes pool within the cluster.
    securityGroupIds List<String>
    List of security group IDs attached to the pool.
    state String
    The state of the pool.
    status String
    The status of the pool.
    volumeSize Double
    The size of the volumes used by nodes in the pool, specified in gigabytes (GB).
    volumeType String
    The type of volume used by nodes in the pool.
    projectId Double
    The numeric id of the project. Either project_id or project_name must be specified.
    projectName String
    The name of the project. Either project_id or project_name must be specified.
    regionId Double
    The numeric id of the region. Either region_id or region_name must be specified.
    regionName String
    The name of the region. Either region_id or region_name must be specified.
    clusterId number
    The id of the Kubernetes cluster this pool belongs to.
    flavor string
    The identifier of the flavor used for nodes in this pool, e.g. g1-standard-2-4.
    id string
    The ID of this resource.
    labels {[key: string]: string}
    Arbitrary labels assigned to the pool.
    name string
    The name of the Kubernetes pool.
    nodeCount number
    The current number of nodes in the pool.
    poolId number
    The id of the Kubernetes pool within the cluster.
    securityGroupIds string[]
    List of security group IDs attached to the pool.
    state string
    The state of the pool.
    status string
    The status of the pool.
    volumeSize number
    The size of the volumes used by nodes in the pool, specified in gigabytes (GB).
    volumeType string
    The type of volume used by nodes in the pool.
    projectId number
    The numeric id of the project. Either project_id or project_name must be specified.
    projectName string
    The name of the project. Either project_id or project_name must be specified.
    regionId number
    The numeric id of the region. Either region_id or region_name must be specified.
    regionName string
    The name of the region. Either region_id or region_name must be specified.
    cluster_id float
    The id of the Kubernetes cluster this pool belongs to.
    flavor str
    The identifier of the flavor used for nodes in this pool, e.g. g1-standard-2-4.
    id str
    The ID of this resource.
    labels Mapping[str, str]
    Arbitrary labels assigned to the pool.
    name str
    The name of the Kubernetes pool.
    node_count float
    The current number of nodes in the pool.
    pool_id float
    The id of the Kubernetes pool within the cluster.
    security_group_ids Sequence[str]
    List of security group IDs attached to the pool.
    state str
    The state of the pool.
    status str
    The status of the pool.
    volume_size float
    The size of the volumes used by nodes in the pool, specified in gigabytes (GB).
    volume_type str
    The type of volume used by nodes in the pool.
    project_id float
    The numeric id of the project. Either project_id or project_name must be specified.
    project_name str
    The name of the project. Either project_id or project_name must be specified.
    region_id float
    The numeric id of the region. Either region_id or region_name must be specified.
    region_name str
    The name of the region. Either region_id or region_name must be specified.
    clusterId Number
    The id of the Kubernetes cluster this pool belongs to.
    flavor String
    The identifier of the flavor used for nodes in this pool, e.g. g1-standard-2-4.
    id String
    The ID of this resource.
    labels Map<String>
    Arbitrary labels assigned to the pool.
    name String
    The name of the Kubernetes pool.
    nodeCount Number
    The current number of nodes in the pool.
    poolId Number
    The id of the Kubernetes pool within the cluster.
    securityGroupIds List<String>
    List of security group IDs attached to the pool.
    state String
    The state of the pool.
    status String
    The status of the pool.
    volumeSize Number
    The size of the volumes used by nodes in the pool, specified in gigabytes (GB).
    volumeType String
    The type of volume used by nodes in the pool.
    projectId Number
    The numeric id of the project. Either project_id or project_name must be specified.
    projectName String
    The name of the project. Either project_id or project_name must be specified.
    regionId Number
    The numeric id of the region. Either region_id or region_name must be specified.
    regionName String
    The name of the region. Either region_id or region_name 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 logo
    Viewing docs for edgecenter 0.12.0
    published on Tuesday, Mar 24, 2026 by edge-center
      Try Pulumi Cloud free. Your team will thank you.