konnect 2.12.0 published on Tuesday, Jul 22, 2025 by kong
konnect.getMeshControlPlanes
Explore with Pulumi AI
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:
- Page
Number double - Determines which page of the entities to retrieve.
- Page
Size double - The maximum number of items to include per page. The last page of a collection may include fewer items.
- Page
Number float64 - Determines which page of the entities to retrieve.
- Page
Size float64 - The maximum number of items to include per page. The last page of a collection may include fewer items.
- page
Number Double - Determines which page of the entities to retrieve.
- page
Size Double - The maximum number of items to include per page. The last page of a collection may include fewer items.
- page
Number number - Determines which page of the entities to retrieve.
- page
Size 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.
- page
Number Number - Determines which page of the entities to retrieve.
- page
Size 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<Get
Mesh Control Planes Data> - Id string
- The provider-assigned unique ID for this managed resource.
- Meta
Get
Mesh Control Planes Meta - returns the pagination information
- Page
Number double - Determines which page of the entities to retrieve.
- Page
Size double - The maximum number of items to include per page. The last page of a collection may include fewer items.
- Datas
[]Get
Mesh Control Planes Data - Id string
- The provider-assigned unique ID for this managed resource.
- Meta
Get
Mesh Control Planes Meta - returns the pagination information
- Page
Number float64 - Determines which page of the entities to retrieve.
- Page
Size float64 - The maximum number of items to include per page. The last page of a collection may include fewer items.
- datas
List<Get
Mesh Control Planes Data> - id String
- The provider-assigned unique ID for this managed resource.
- meta
Get
Mesh Control Planes Meta - returns the pagination information
- page
Number Double - Determines which page of the entities to retrieve.
- page
Size Double - The maximum number of items to include per page. The last page of a collection may include fewer items.
- datas
Get
Mesh Control Planes Data[] - id string
- The provider-assigned unique ID for this managed resource.
- meta
Get
Mesh Control Planes Meta - returns the pagination information
- page
Number number - Determines which page of the entities to retrieve.
- page
Size number - The maximum number of items to include per page. The last page of a collection may include fewer items.
- datas
Sequence[Get
Mesh Control Planes Data] - id str
- The provider-assigned unique ID for this managed resource.
- meta
Get
Mesh Control Planes Meta - 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
- page
Number Number - Determines which page of the entities to retrieve.
- page
Size Number - The maximum number of items to include per page. The last page of a collection may include fewer items.
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<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 Boolean
- enabled boolean
- enabled bool
- enabled Boolean
GetMeshControlPlanesDataFeatureMeshCreation
- Enabled bool
- Enabled bool
- enabled Boolean
- enabled boolean
- enabled bool
- enabled Boolean
GetMeshControlPlanesMeta
- Page
Get
Mesh Control Planes Meta Page - Contains pagination query parameters and the total number of objects returned.
- Page
Get
Mesh Control Planes Meta Page - Contains pagination query parameters and the total number of objects returned.
- page
Get
Mesh Control Planes Meta Page - Contains pagination query parameters and the total number of objects returned.
- page
Get
Mesh Control Planes Meta Page - Contains pagination query parameters and the total number of objects returned.
- page
Get
Mesh Control Planes Meta Page - 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
Package Details
- Repository
- konnect kong/terraform-provider-konnect
- License
- Notes
- This Pulumi package is based on the
konnect
Terraform Provider.