Viewing docs for konnect 3.21.0
published on Tuesday, Aug 4, 2026 by kong
published on Tuesday, Aug 4, 2026 by kong
Viewing docs for konnect 3.21.0
published on Tuesday, Aug 4, 2026 by kong
published on Tuesday, Aug 4, 2026 by kong
MeshControlPlanes DataSource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as konnect from "@pulumi/konnect";
const myMeshcontrolplanes = konnect.getMeshControlPlanes({
filter: {
labels: {
contains: "...my_contains...",
eq: "...my_eq...",
neq: "...my_neq...",
ocontains: "...my_ocontains...",
oeq: "...my_oeq...",
},
name: {
contains: "...my_contains...",
eq: "...my_eq...",
},
},
});
import pulumi
import pulumi_konnect as konnect
my_meshcontrolplanes = konnect.get_mesh_control_planes(filter={
"labels": {
"contains": "...my_contains...",
"eq": "...my_eq...",
"neq": "...my_neq...",
"ocontains": "...my_ocontains...",
"oeq": "...my_oeq...",
},
"name": {
"contains": "...my_contains...",
"eq": "...my_eq...",
},
})
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, &konnect.GetMeshControlPlanesArgs{
Filter: konnect.GetMeshControlPlanesFilter{
Labels: konnect.GetMeshControlPlanesFilterLabels{
Contains: pulumi.StringRef("...my_contains..."),
Eq: pulumi.StringRef("...my_eq..."),
Neq: pulumi.StringRef("...my_neq..."),
Ocontains: pulumi.StringRef("...my_ocontains..."),
Oeq: pulumi.StringRef("...my_oeq..."),
},
Name: konnect.GetMeshControlPlanesFilterName{
Contains: pulumi.StringRef("...my_contains..."),
Eq: pulumi.StringRef("...my_eq..."),
},
},
}, 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()
{
Filter = new Konnect.Inputs.GetMeshControlPlanesFilterInputArgs
{
Labels = new Konnect.Inputs.GetMeshControlPlanesFilterLabelsInputArgs
{
Contains = "...my_contains...",
Eq = "...my_eq...",
Neq = "...my_neq...",
Ocontains = "...my_ocontains...",
Oeq = "...my_oeq...",
},
Name = new Konnect.Inputs.GetMeshControlPlanesFilterNameInputArgs
{
Contains = "...my_contains...",
Eq = "...my_eq...",
},
},
});
});
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 com.pulumi.konnect.inputs.GetMeshControlPlanesFilterArgs;
import com.pulumi.konnect.inputs.GetMeshControlPlanesFilterLabelsArgs;
import com.pulumi.konnect.inputs.GetMeshControlPlanesFilterNameArgs;
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()
.filter(GetMeshControlPlanesFilterArgs.builder()
.labels(GetMeshControlPlanesFilterLabelsArgs.builder()
.contains("...my_contains...")
.eq("...my_eq...")
.neq("...my_neq...")
.ocontains("...my_ocontains...")
.oeq("...my_oeq...")
.build())
.name(GetMeshControlPlanesFilterNameArgs.builder()
.contains("...my_contains...")
.eq("...my_eq...")
.build())
.build())
.build());
}
}
variables:
myMeshcontrolplanes:
fn::invoke:
function: konnect:getMeshControlPlanes
arguments:
filter:
labels:
contains: '...my_contains...'
eq: '...my_eq...'
neq: '...my_neq...'
ocontains: '...my_ocontains...'
oeq: '...my_oeq...'
name:
contains: '...my_contains...'
eq: '...my_eq...'
Example coming soon!
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(filter: Optional[GetMeshControlPlanesFilter] = None,
opts: Optional[InvokeOptions] = None) -> GetMeshControlPlanesResult
def get_mesh_control_planes_output(filter: pulumi.Input[Optional[GetMeshControlPlanesFilterArgs]] = 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 dictionarydata "konnect_get_mesh_control_planes" "name" {
# arguments
}The following arguments are supported:
- Filter
Get
Mesh Control Planes Filter - Filters a collection of control planes.
- Filter
Get
Mesh Control Planes Filter - Filters a collection of control planes.
- filter
Get
Mesh Control Planes Filter - Filters a collection of control planes.
- filter
Get
Mesh Control Planes Filter - Filters a collection of control planes.
- filter
Get
Mesh Control Planes Filter - Filters a collection of control planes.
- filter Property Map
- Filters a collection of control planes.
getMeshControlPlanes Result
The following output properties are available:
- Datas
List<Get
Mesh Control Planes Data> - Id string
- The provider-assigned unique ID for this managed resource.
- Filter
Get
Mesh Control Planes Filter - Filters a collection of control planes.
- Datas
[]Get
Mesh Control Planes Data - Id string
- The provider-assigned unique ID for this managed resource.
- Filter
Get
Mesh Control Planes Filter - Filters a collection of control planes.
- datas list(object)
- id string
- The provider-assigned unique ID for this managed resource.
- filter object
- Filters a collection of control planes.
- datas
List<Get
Mesh Control Planes Data> - id String
- The provider-assigned unique ID for this managed resource.
- filter
Get
Mesh Control Planes Filter - Filters a collection of control planes.
- datas
Get
Mesh Control Planes Data[] - id string
- The provider-assigned unique ID for this managed resource.
- filter
Get
Mesh Control Planes Filter - Filters a collection of control planes.
- datas
Sequence[Get
Mesh Control Planes Data] - id str
- The provider-assigned unique ID for this managed resource.
- filter
Get
Mesh Control Planes Filter - Filters a collection of control planes.
- datas List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- filter Property Map
- Filters a collection of control planes.
Supporting Types
GetMeshControlPlanesData
- Created
At string - Description string
- Features
List<Get
Mesh Control Planes Data Feature> - 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.
- Updated
At string
- Created
At string - Description string
- Features
[]Get
Mesh Control Planes Data Feature - 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.
- Updated
At string
- created_
at string - description string
- features list(object)
- 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.
- updated_
at string
- created
At String - description String
- features
List<Get
Mesh Control Planes Data Feature> - 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.
- updated
At String
- created
At string - description string
- features
Get
Mesh Control Planes Data Feature[] - 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.
- updated
At string
- created_
at str - description str
- features
Sequence[Get
Mesh Control Planes Data Feature] - 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
- created
At 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.
- updated
At String
GetMeshControlPlanesDataFeature
GetMeshControlPlanesDataFeatureHostnameGeneratorCreation
- Enabled bool
- Enabled bool
- enabled bool
- enabled Boolean
- enabled boolean
- enabled bool
- enabled Boolean
GetMeshControlPlanesDataFeatureMeshCreation
- Enabled bool
- Enabled bool
- enabled bool
- enabled Boolean
- enabled boolean
- enabled bool
- enabled Boolean
GetMeshControlPlanesFilter
- Labels
Get
Mesh Control Planes Filter Labels - Filter using one of the following operators:
eq,oeq,neq,contains,ocontains - Name
Get
Mesh Control Planes Filter Name - Filter using one of the following operators:
eq,contains
- Labels
Get
Mesh Control Planes Filter Labels - Filter using one of the following operators:
eq,oeq,neq,contains,ocontains - Name
Get
Mesh Control Planes Filter Name - Filter using one of the following operators:
eq,contains
- labels
Get
Mesh Control Planes Filter Labels - Filter using one of the following operators:
eq,oeq,neq,contains,ocontains - name
Get
Mesh Control Planes Filter Name - Filter using one of the following operators:
eq,contains
- labels
Get
Mesh Control Planes Filter Labels - Filter using one of the following operators:
eq,oeq,neq,contains,ocontains - name
Get
Mesh Control Planes Filter Name - Filter using one of the following operators:
eq,contains
- labels
Get
Mesh Control Planes Filter Labels - Filter using one of the following operators:
eq,oeq,neq,contains,ocontains - name
Get
Mesh Control Planes Filter Name - Filter using one of the following operators:
eq,contains
- labels Property Map
- Filter using one of the following operators:
eq,oeq,neq,contains,ocontains - name Property Map
- Filter using one of the following operators:
eq,contains
GetMeshControlPlanesFilterLabels
GetMeshControlPlanesFilterName
Package Details
- Repository
- konnect kong/terraform-provider-konnect
- License
- Notes
- This Pulumi package is based on the
konnectTerraform Provider.
Viewing docs for konnect 3.21.0
published on Tuesday, Aug 4, 2026 by kong
published on Tuesday, Aug 4, 2026 by kong