1. Packages
  2. Konnect Provider
  3. API Docs
  4. getMeshControlPlanes
konnect 2.11.1 published on Tuesday, Jul 15, 2025 by kong

konnect.getMeshControlPlanes

Explore with Pulumi AI

konnect logo
konnect 2.11.1 published on Tuesday, Jul 15, 2025 by kong

    MeshControlPlanes DataSource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as konnect from "@pulumi/konnect";
    
    const myMeshcontrolplanes = konnect.getMeshControlPlanes({
        pageNumber: 1,
        pageSize: 10,
    });
    
    import pulumi
    import pulumi_konnect as konnect
    
    my_meshcontrolplanes = konnect.get_mesh_control_planes(page_number=1,
        page_size=10)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/konnect/v2/konnect"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := konnect.GetMeshControlPlanes(ctx, &konnect.GetMeshControlPlanesArgs{
    			PageNumber: pulumi.Float64Ref(1),
    			PageSize:   pulumi.Float64Ref(10),
    		}, 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(new()
        {
            PageNumber = 1,
            PageSize = 10,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.konnect.KonnectFunctions;
    import com.pulumi.konnect.inputs.GetMeshControlPlanesArgs;
    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(GetMeshControlPlanesArgs.builder()
                .pageNumber(1)
                .pageSize(10)
                .build());
    
        }
    }
    
    variables:
      myMeshcontrolplanes:
        fn::invoke:
          function: konnect:getMeshControlPlanes
          arguments:
            pageNumber: 1
            pageSize: 10
    

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

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

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

    The following arguments are supported:

    PageNumber double
    Determines which page of the entities to retrieve.
    PageSize double
    The maximum number of items to include per page. The last page of a collection may include fewer items.
    PageNumber float64
    Determines which page of the entities to retrieve.
    PageSize float64
    The maximum number of items to include per page. The last page of a collection may include fewer items.
    pageNumber Double
    Determines which page of the entities to retrieve.
    pageSize Double
    The maximum number of items to include per page. The last page of a collection may include fewer items.
    pageNumber number
    Determines which page of the entities to retrieve.
    pageSize number
    The maximum number of items to include per page. The last page of a collection may include fewer items.
    page_number float
    Determines which page of the entities to retrieve.
    page_size float
    The maximum number of items to include per page. The last page of a collection may include fewer items.
    pageNumber Number
    Determines which page of the entities to retrieve.
    pageSize Number
    The maximum number of items to include per page. The last page of a collection may include fewer items.

    getMeshControlPlanes Result

    The following output properties are available:

    Datas List<GetMeshControlPlanesData>
    Id string
    The provider-assigned unique ID for this managed resource.
    Meta GetMeshControlPlanesMeta
    returns the pagination information
    PageNumber double
    Determines which page of the entities to retrieve.
    PageSize double
    The maximum number of items to include per page. The last page of a collection may include fewer items.
    Datas []GetMeshControlPlanesData
    Id string
    The provider-assigned unique ID for this managed resource.
    Meta GetMeshControlPlanesMeta
    returns the pagination information
    PageNumber float64
    Determines which page of the entities to retrieve.
    PageSize float64
    The maximum number of items to include per page. The last page of a collection may include fewer items.
    datas List<GetMeshControlPlanesData>
    id String
    The provider-assigned unique ID for this managed resource.
    meta GetMeshControlPlanesMeta
    returns the pagination information
    pageNumber Double
    Determines which page of the entities to retrieve.
    pageSize Double
    The maximum number of items to include per page. The last page of a collection may include fewer items.
    datas GetMeshControlPlanesData[]
    id string
    The provider-assigned unique ID for this managed resource.
    meta GetMeshControlPlanesMeta
    returns the pagination information
    pageNumber number
    Determines which page of the entities to retrieve.
    pageSize number
    The maximum number of items to include per page. The last page of a collection may include fewer items.
    datas Sequence[GetMeshControlPlanesData]
    id str
    The provider-assigned unique ID for this managed resource.
    meta GetMeshControlPlanesMeta
    returns the pagination information
    page_number float
    Determines which page of the entities to retrieve.
    page_size float
    The maximum number of items to include per page. The last page of a collection may include fewer items.
    datas List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    meta Property Map
    returns the pagination information
    pageNumber Number
    Determines which page of the entities to retrieve.
    pageSize Number
    The maximum number of items to include per page. The last page of a collection may include fewer items.

    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

    GetMeshControlPlanesMeta

    Page GetMeshControlPlanesMetaPage
    Contains pagination query parameters and the total number of objects returned.
    Page GetMeshControlPlanesMetaPage
    Contains pagination query parameters and the total number of objects returned.
    page GetMeshControlPlanesMetaPage
    Contains pagination query parameters and the total number of objects returned.
    page GetMeshControlPlanesMetaPage
    Contains pagination query parameters and the total number of objects returned.
    page GetMeshControlPlanesMetaPage
    Contains pagination query parameters and the total number of objects returned.
    page Property Map
    Contains pagination query parameters and the total number of objects returned.

    GetMeshControlPlanesMetaPage

    Number double
    Size double
    Total double
    Number float64
    Size float64
    Total float64
    number Double
    size Double
    total Double
    number number
    size number
    total number
    number float
    size float
    total float
    number Number
    size Number
    total Number

    Package Details

    Repository
    konnect kong/terraform-provider-konnect
    License
    Notes
    This Pulumi package is based on the konnect Terraform Provider.
    konnect logo
    konnect 2.11.1 published on Tuesday, Jul 15, 2025 by kong