Viewing docs for konnect 3.28.0
published on Friday, Nov 6, 2026 by kong
published on Friday, Nov 6, 2026 by kong
konnect
Viewing docs for konnect 3.28.0
published on Friday, Nov 6, 2026 by kong
published on Friday, Nov 6, 2026 by kong
TeamList DataSource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as konnect from "@pulumi/konnect";
const myTeamlist = konnect.getTeamList({
filter: {
konnectManaged: false,
labels: {
key: {
contains: "...my_contains...",
eq: "...my_eq...",
exists: true,
},
},
name: {
contains: "...my_contains...",
eq: "...my_eq...",
},
},
});
import pulumi
import pulumi_konnect as konnect
my_teamlist = konnect.get_team_list(filter={
"konnect_managed": False,
"labels": {
"key": {
"contains": "...my_contains...",
"eq": "...my_eq...",
"exists": True,
},
},
"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.GetTeamList(ctx, &konnect.GetTeamListArgs{
Filter: konnect.GetTeamListFilter{
KonnectManaged: pulumi.BoolRef(false),
Labels: pulumi.Konnect.GetTeamListFilterLabelsMap{
"key": konnect.GetTeamListFilterLabels{
Contains: pulumi.StringRef("...my_contains..."),
Eq: pulumi.StringRef("...my_eq..."),
Exists: pulumi.BoolRef(true),
},
},
Name: konnect.GetTeamListFilterName{
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 myTeamlist = Konnect.GetTeamList.Invoke(new()
{
Filter = new Konnect.Inputs.GetTeamListFilterInputArgs
{
KonnectManaged = false,
Labels =
{
{ "key", new Konnect.Inputs.GetTeamListFilterLabelsInputArgs
{
Contains = "...my_contains...",
Eq = "...my_eq...",
Exists = true,
} },
},
Name = new Konnect.Inputs.GetTeamListFilterNameInputArgs
{
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.GetTeamListArgs;
import com.pulumi.konnect.inputs.GetTeamListFilterArgs;
import com.pulumi.konnect.inputs.GetTeamListFilterNameArgs;
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 myTeamlist = KonnectFunctions.getTeamList(GetTeamListArgs.builder()
.filter(GetTeamListFilterArgs.builder()
.konnectManaged(false)
.labels(Map.of("key", GetTeamListFilterLabelsArgs.builder()
.contains("...my_contains...")
.eq("...my_eq...")
.exists(true)
.build()))
.name(GetTeamListFilterNameArgs.builder()
.contains("...my_contains...")
.eq("...my_eq...")
.build())
.build())
.build());
}
}
variables:
myTeamlist:
fn::invoke:
function: konnect:getTeamList
arguments:
filter:
konnectManaged: false
labels:
key:
contains: '...my_contains...'
eq: '...my_eq...'
exists: true
name:
contains: '...my_contains...'
eq: '...my_eq...'
Example coming soon!
Using getTeamList
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 getTeamList(args: GetTeamListArgs, opts?: InvokeOptions): Promise<GetTeamListResult>
function getTeamListOutput(args: GetTeamListOutputArgs, opts?: InvokeOutputOptions): Output<GetTeamListResult>def get_team_list(filter: Optional[GetTeamListFilter] = None,
opts: Optional[InvokeOptions] = None) -> GetTeamListResult
def get_team_list_output(filter: pulumi.Input[Optional[GetTeamListFilterArgs]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetTeamListResult]func GetTeamList(ctx *Context, args *GetTeamListArgs, opts ...InvokeOption) (*GetTeamListResult, error)
func GetTeamListOutput(ctx *Context, args *GetTeamListOutputArgs, opts ...InvokeOption) GetTeamListResultOutput> Note: This function is named GetTeamList in the Go SDK.
public static class GetTeamList
{
public static Task<GetTeamListResult> InvokeAsync(GetTeamListArgs args, InvokeOptions? opts = null)
public static Output<GetTeamListResult> Invoke(GetTeamListInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetTeamListResult> Invoke(GetTeamListInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetTeamListResult> getTeamList(GetTeamListArgs args, InvokeOptions options)
public static Output<GetTeamListResult> getTeamList(GetTeamListArgs args, InvokeOptions options)
public static Output<GetTeamListResult> getTeamList(GetTeamListArgs args, InvokeOutputOptions options)
fn::invoke:
function: konnect:index/getTeamList:getTeamList
arguments:
# arguments dictionarydata "konnect_get_team_list" "name" {
# arguments
}The following arguments are supported:
- Filter
Get
Team List Filter - Filter teams returned in the response. Supports filtering by label value using
dot-notation, e.g.
filter[labels.<key>][<op>]=<value>, where<op>is one ofeq,contains, orexists.
- Filter
Get
Team List Filter - Filter teams returned in the response. Supports filtering by label value using
dot-notation, e.g.
filter[labels.<key>][<op>]=<value>, where<op>is one ofeq,contains, orexists.
- filter
Get
Team List Filter - Filter teams returned in the response. Supports filtering by label value using
dot-notation, e.g.
filter[labels.<key>][<op>]=<value>, where<op>is one ofeq,contains, orexists.
- filter
Get
Team List Filter - Filter teams returned in the response. Supports filtering by label value using
dot-notation, e.g.
filter[labels.<key>][<op>]=<value>, where<op>is one ofeq,contains, orexists.
- filter
Get
Team List Filter - Filter teams returned in the response. Supports filtering by label value using
dot-notation, e.g.
filter[labels.<key>][<op>]=<value>, where<op>is one ofeq,contains, orexists.
- filter Property Map
- Filter teams returned in the response. Supports filtering by label value using
dot-notation, e.g.
filter[labels.<key>][<op>]=<value>, where<op>is one ofeq,contains, orexists.
getTeamList Result
The following output properties are available:
- Datas
List<Get
Team List Data> - Id string
- The provider-assigned unique ID for this managed resource.
- Filter
Get
Team List Filter - Filter teams returned in the response. Supports filtering by label value using
dot-notation, e.g.
filter[labels.<key>][<op>]=<value>, where<op>is one ofeq,contains, orexists.
- Datas
[]Get
Team List Data - Id string
- The provider-assigned unique ID for this managed resource.
- Filter
Get
Team List Filter - Filter teams returned in the response. Supports filtering by label value using
dot-notation, e.g.
filter[labels.<key>][<op>]=<value>, where<op>is one ofeq,contains, orexists.
- datas list(object)
- id string
- The provider-assigned unique ID for this managed resource.
- filter object
- Filter teams returned in the response. Supports filtering by label value using
dot-notation, e.g.
filter[labels.<key>][<op>]=<value>, where<op>is one ofeq,contains, orexists.
- datas
List<Get
Team List Data> - id String
- The provider-assigned unique ID for this managed resource.
- filter
Get
Team List Filter - Filter teams returned in the response. Supports filtering by label value using
dot-notation, e.g.
filter[labels.<key>][<op>]=<value>, where<op>is one ofeq,contains, orexists.
- datas
Get
Team List Data[] - id string
- The provider-assigned unique ID for this managed resource.
- filter
Get
Team List Filter - Filter teams returned in the response. Supports filtering by label value using
dot-notation, e.g.
filter[labels.<key>][<op>]=<value>, where<op>is one ofeq,contains, orexists.
- datas
Sequence[Get
Team List Data] - id str
- The provider-assigned unique ID for this managed resource.
- filter
Get
Team List Filter - Filter teams returned in the response. Supports filtering by label value using
dot-notation, e.g.
filter[labels.<key>][<op>]=<value>, where<op>is one ofeq,contains, orexists.
- datas List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- filter Property Map
- Filter teams returned in the response. Supports filtering by label value using
dot-notation, e.g.
filter[labels.<key>][<op>]=<value>, where<op>is one ofeq,contains, orexists.
Supporting Types
GetTeamListData
- Created
At string - A Unix timestamp representation of team creation.
- Description string
- The description of the team.
- Id string
- The team ID.
- Konnect
Managed bool - Whether the team's membership is managed by Konnect instead of being synced from an identity provider's team mappings. Set to
false(default) to let identity provider team mappings keep syncing members into this team. Set totrueto manage membership directly in Konnect and prevent identity provider team mappings from syncing to this team. - Labels Dictionary<string, string>
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- Name string
- The name of the team.
- System
Team bool - Returns True if a user belongs to a
system_team. System teams are teams that can manage Konnect objects, like "Organization Admin", or "Service" - Updated
At string - A Unix timestamp representation of the most recent change to the team object in Konnect.
- Created
At string - A Unix timestamp representation of team creation.
- Description string
- The description of the team.
- Id string
- The team ID.
- Konnect
Managed bool - Whether the team's membership is managed by Konnect instead of being synced from an identity provider's team mappings. Set to
false(default) to let identity provider team mappings keep syncing members into this team. Set totrueto manage membership directly in Konnect and prevent identity provider team mappings from syncing to this team. - Labels map[string]string
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- Name string
- The name of the team.
- System
Team bool - Returns True if a user belongs to a
system_team. System teams are teams that can manage Konnect objects, like "Organization Admin", or "Service" - Updated
At string - A Unix timestamp representation of the most recent change to the team object in Konnect.
- created_
at string - A Unix timestamp representation of team creation.
- description string
- The description of the team.
- id string
- The team ID.
- konnect_
managed bool - Whether the team's membership is managed by Konnect instead of being synced from an identity provider's team mappings. Set to
false(default) to let identity provider team mappings keep syncing members into this team. Set totrueto manage membership directly in Konnect and prevent identity provider team mappings from syncing to this team. - labels map(string)
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- name string
- The name of the team.
- system_
team bool - Returns True if a user belongs to a
system_team. System teams are teams that can manage Konnect objects, like "Organization Admin", or "Service" - updated_
at string - A Unix timestamp representation of the most recent change to the team object in Konnect.
- created
At String - A Unix timestamp representation of team creation.
- description String
- The description of the team.
- id String
- The team ID.
- konnect
Managed Boolean - Whether the team's membership is managed by Konnect instead of being synced from an identity provider's team mappings. Set to
false(default) to let identity provider team mappings keep syncing members into this team. Set totrueto manage membership directly in Konnect and prevent identity provider team mappings from syncing to this team. - labels Map<String,String>
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- name String
- The name of the team.
- system
Team Boolean - Returns True if a user belongs to a
system_team. System teams are teams that can manage Konnect objects, like "Organization Admin", or "Service" - updated
At String - A Unix timestamp representation of the most recent change to the team object in Konnect.
- created
At string - A Unix timestamp representation of team creation.
- description string
- The description of the team.
- id string
- The team ID.
- konnect
Managed boolean - Whether the team's membership is managed by Konnect instead of being synced from an identity provider's team mappings. Set to
false(default) to let identity provider team mappings keep syncing members into this team. Set totrueto manage membership directly in Konnect and prevent identity provider team mappings from syncing to this team. - labels {[key: string]: string}
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- name string
- The name of the team.
- system
Team boolean - Returns True if a user belongs to a
system_team. System teams are teams that can manage Konnect objects, like "Organization Admin", or "Service" - updated
At string - A Unix timestamp representation of the most recent change to the team object in Konnect.
- created_
at str - A Unix timestamp representation of team creation.
- description str
- The description of the team.
- id str
- The team ID.
- konnect_
managed bool - Whether the team's membership is managed by Konnect instead of being synced from an identity provider's team mappings. Set to
false(default) to let identity provider team mappings keep syncing members into this team. Set totrueto manage membership directly in Konnect and prevent identity provider team mappings from syncing to this team. - labels Mapping[str, str]
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- name str
- The name of the team.
- system_
team bool - Returns True if a user belongs to a
system_team. System teams are teams that can manage Konnect objects, like "Organization Admin", or "Service" - updated_
at str - A Unix timestamp representation of the most recent change to the team object in Konnect.
- created
At String - A Unix timestamp representation of team creation.
- description String
- The description of the team.
- id String
- The team ID.
- konnect
Managed Boolean - Whether the team's membership is managed by Konnect instead of being synced from an identity provider's team mappings. Set to
false(default) to let identity provider team mappings keep syncing members into this team. Set totrueto manage membership directly in Konnect and prevent identity provider team mappings from syncing to this team. - labels Map<String>
- Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
- name String
- The name of the team.
- system
Team Boolean - Returns True if a user belongs to a
system_team. System teams are teams that can manage Konnect objects, like "Organization Admin", or "Service" - updated
At String - A Unix timestamp representation of the most recent change to the team object in Konnect.
GetTeamListFilter
- Konnect
Managed bool - Filter by a boolean value (true/false).
- Labels
Dictionary<string, Get
Team List Filter Labels> - Name
Get
Team List Filter Name - Filter using one of the following operators:
eq,contains
- Konnect
Managed bool - Filter by a boolean value (true/false).
- Labels
map[string]Get
Team List Filter Labels - Name
Get
Team List Filter Name - Filter using one of the following operators:
eq,contains
- konnect_
managed bool - Filter by a boolean value (true/false).
- labels map(object)
- name object
- Filter using one of the following operators:
eq,contains
- konnect
Managed Boolean - Filter by a boolean value (true/false).
- labels
Map<String,Get
Team List Filter Labels> - name
Get
Team List Filter Name - Filter using one of the following operators:
eq,contains
- konnect
Managed boolean - Filter by a boolean value (true/false).
- labels
{[key: string]: Get
Team List Filter Labels} - name
Get
Team List Filter Name - Filter using one of the following operators:
eq,contains
- konnect_
managed bool - Filter by a boolean value (true/false).
- labels
Mapping[str, Get
Team List Filter Labels] - name
Get
Team List Filter Name - Filter using one of the following operators:
eq,contains
- konnect
Managed Boolean - Filter by a boolean value (true/false).
- labels Map<Property Map>
- name Property Map
- Filter using one of the following operators:
eq,contains
GetTeamListFilterLabels
GetTeamListFilterName
Package Details
- Repository
- konnect kong/terraform-provider-konnect
- License
- Notes
- This Pulumi package is based on the
konnectTerraform Provider.
konnect
Viewing docs for konnect 3.28.0
published on Friday, Nov 6, 2026 by kong
published on Friday, Nov 6, 2026 by kong