1. Packages
  2. Konnect Provider
  3. API Docs
  4. getMeshControlPlanes
Viewing docs for konnect 3.11.0
published on Thursday, Mar 12, 2026 by kong
konnect logo
Viewing docs for konnect 3.11.0
published on Thursday, Mar 12, 2026 by kong

    MeshControlPlanes DataSource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as konnect from "@pulumi/konnect";
    
    const myMeshcontrolplanes = konnect.getMeshControlPlanes({});
    
    import pulumi
    import pulumi_konnect as konnect
    
    my_meshcontrolplanes = konnect.get_mesh_control_planes()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/konnect/v3/konnect"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := konnect.GetMeshControlPlanes(ctx, map[string]interface{}{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Konnect = Pulumi.Konnect;
    
    return await Deployment.RunAsync(() => 
    {
        var myMeshcontrolplanes = Konnect.GetMeshControlPlanes.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.konnect.KonnectFunctions;
    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 myMeshcontrolplanes = KonnectFunctions.getMeshControlPlanes(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
    
        }
    }
    
    variables:
      myMeshcontrolplanes:
        fn::invoke:
          function: konnect:getMeshControlPlanes
          arguments: {}
    

    Using getMeshControlPlanes

    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 getMeshControlPlanes(opts?: InvokeOptions): Promise<GetMeshControlPlanesResult>
    function getMeshControlPlanesOutput(opts?: InvokeOptions): Output<GetMeshControlPlanesResult>
    def get_mesh_control_planes(opts: Optional[InvokeOptions] = None) -> GetMeshControlPlanesResult
    def get_mesh_control_planes_output(opts: Optional[InvokeOptions] = None) -> Output[GetMeshControlPlanesResult]
    func GetMeshControlPlanes(ctx *Context, opts ...InvokeOption) (*GetMeshControlPlanesResult, error)
    func GetMeshControlPlanesOutput(ctx *Context, opts ...InvokeOption) GetMeshControlPlanesResultOutput

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

    public static class GetMeshControlPlanes 
    {
        public static Task<GetMeshControlPlanesResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetMeshControlPlanesResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMeshControlPlanesResult> getMeshControlPlanes(InvokeOptions options)
    public static Output<GetMeshControlPlanesResult> getMeshControlPlanes(InvokeOptions options)
    
    fn::invoke:
      function: konnect:index/getMeshControlPlanes:getMeshControlPlanes
      arguments:
        # arguments dictionary

    getMeshControlPlanes Result

    The following output properties are available:

    Datas List<GetMeshControlPlanesData>
    Id string
    The provider-assigned unique ID for this managed resource.
    Datas []GetMeshControlPlanesData
    Id string
    The provider-assigned unique ID for this managed resource.
    datas List<GetMeshControlPlanesData>
    id String
    The provider-assigned unique ID for this managed resource.
    datas GetMeshControlPlanesData[]
    id string
    The provider-assigned unique ID for this managed resource.
    datas Sequence[GetMeshControlPlanesData]
    id str
    The provider-assigned unique ID for this managed resource.
    datas List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    GetMeshControlPlanesData

    CreatedAt string
    Description string
    Features List<GetMeshControlPlanesDataFeature>
    Id string
    ID of the control plane.
    Labels Dictionary<string, string>
    Labels to facilitate tagged search on control planes. Keys must be of length 1-63 characters.
    Name string
    The name of the control plane.
    UpdatedAt string
    CreatedAt string
    Description string
    Features []GetMeshControlPlanesDataFeature
    Id string
    ID of the control plane.
    Labels map[string]string
    Labels to facilitate tagged search on control planes. Keys must be of length 1-63 characters.
    Name string
    The name of the control plane.
    UpdatedAt string
    createdAt String
    description String
    features List<GetMeshControlPlanesDataFeature>
    id String
    ID of the control plane.
    labels Map<String,String>
    Labels to facilitate tagged search on control planes. Keys must be of length 1-63 characters.
    name String
    The name of the control plane.
    updatedAt String
    createdAt string
    description string
    features GetMeshControlPlanesDataFeature[]
    id string
    ID of the control plane.
    labels {[key: string]: string}
    Labels to facilitate tagged search on control planes. Keys must be of length 1-63 characters.
    name string
    The name of the control plane.
    updatedAt string
    created_at str
    description str
    features Sequence[GetMeshControlPlanesDataFeature]
    id str
    ID of the control plane.
    labels Mapping[str, str]
    Labels to facilitate tagged search on control planes. Keys must be of length 1-63 characters.
    name str
    The name of the control plane.
    updated_at str
    createdAt String
    description String
    features List<Property Map>
    id String
    ID of the control plane.
    labels Map<String>
    Labels to facilitate tagged search on control planes. Keys must be of length 1-63 characters.
    name String
    The name of the control plane.
    updatedAt String

    GetMeshControlPlanesDataFeature

    GetMeshControlPlanesDataFeatureHostnameGeneratorCreation

    Enabled bool
    Enabled bool
    enabled Boolean
    enabled boolean
    enabled bool
    enabled Boolean

    GetMeshControlPlanesDataFeatureMeshCreation

    Enabled bool
    Enabled bool
    enabled Boolean
    enabled boolean
    enabled bool
    enabled Boolean

    Package Details

    Repository
    konnect kong/terraform-provider-konnect
    License
    Notes
    This Pulumi package is based on the konnect Terraform Provider.
    konnect logo
    Viewing docs for konnect 3.11.0
    published on Thursday, Mar 12, 2026 by kong
      Try Pulumi Cloud free. Your team will thank you.