1. Packages
  2. Konnect Provider
  3. API Docs
  4. getTeamList
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

    TeamList DataSource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as konnect from "@pulumi/konnect";
    
    const myTeamlist = konnect.getTeamList({
        filter: {
            name: {
                contains: "...my_contains...",
                eq: "...my_eq...",
            },
        },
    });
    
    import pulumi
    import pulumi_konnect as konnect
    
    my_teamlist = konnect.get_team_list(filter={
        "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{
    				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
            {
                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()
                    .name(GetTeamListFilterNameArgs.builder()
                        .contains("...my_contains...")
                        .eq("...my_eq...")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    variables:
      myTeamlist:
        fn::invoke:
          function: konnect:getTeamList
          arguments:
            filter:
              name:
                contains: '...my_contains...'
                eq: '...my_eq...'
    

    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?: InvokeOptions): Output<GetTeamListResult>
    def get_team_list(filter: Optional[GetTeamListFilter] = None,
                      opts: Optional[InvokeOptions] = None) -> GetTeamListResult
    def get_team_list_output(filter: Optional[pulumi.Input[GetTeamListFilterArgs]] = None,
                      opts: Optional[InvokeOptions] = 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 CompletableFuture<GetTeamListResult> getTeamList(GetTeamListArgs args, InvokeOptions options)
    public static Output<GetTeamListResult> getTeamList(GetTeamListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: konnect:index/getTeamList:getTeamList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filter GetTeamListFilter
    Filter teams returned in the response.
    Filter GetTeamListFilter
    Filter teams returned in the response.
    filter GetTeamListFilter
    Filter teams returned in the response.
    filter GetTeamListFilter
    Filter teams returned in the response.
    filter GetTeamListFilter
    Filter teams returned in the response.
    filter Property Map
    Filter teams returned in the response.

    getTeamList Result

    The following output properties are available:

    Datas List<GetTeamListData>
    Id string
    The provider-assigned unique ID for this managed resource.
    Filter GetTeamListFilter
    Filter teams returned in the response.
    Datas []GetTeamListData
    Id string
    The provider-assigned unique ID for this managed resource.
    Filter GetTeamListFilter
    Filter teams returned in the response.
    datas List<GetTeamListData>
    id String
    The provider-assigned unique ID for this managed resource.
    filter GetTeamListFilter
    Filter teams returned in the response.
    datas GetTeamListData[]
    id string
    The provider-assigned unique ID for this managed resource.
    filter GetTeamListFilter
    Filter teams returned in the response.
    datas Sequence[GetTeamListData]
    id str
    The provider-assigned unique ID for this managed resource.
    filter GetTeamListFilter
    Filter teams returned in the response.
    datas List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    filter Property Map
    Filter teams returned in the response.

    Supporting Types

    GetTeamListData

    CreatedAt string
    A Unix timestamp representation of team creation.
    Description string
    The team description in Konnect.
    Id string
    The team ID.
    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.
    SystemTeam 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"
    UpdatedAt string
    A Unix timestamp representation of the most recent change to the team object in Konnect.
    CreatedAt string
    A Unix timestamp representation of team creation.
    Description string
    The team description in Konnect.
    Id string
    The team ID.
    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.
    SystemTeam 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"
    UpdatedAt string
    A Unix timestamp representation of the most recent change to the team object in Konnect.
    createdAt String
    A Unix timestamp representation of team creation.
    description String
    The team description in Konnect.
    id String
    The team ID.
    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.
    systemTeam 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"
    updatedAt String
    A Unix timestamp representation of the most recent change to the team object in Konnect.
    createdAt string
    A Unix timestamp representation of team creation.
    description string
    The team description in Konnect.
    id string
    The team ID.
    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.
    systemTeam 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"
    updatedAt 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 team description in Konnect.
    id str
    The team ID.
    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.
    createdAt String
    A Unix timestamp representation of team creation.
    description String
    The team description in Konnect.
    id String
    The team ID.
    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.
    systemTeam 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"
    updatedAt String
    A Unix timestamp representation of the most recent change to the team object in Konnect.

    GetTeamListFilter

    Name GetTeamListFilterName
    Filter using one of the following operators: eq, contains
    Name GetTeamListFilterName
    Filter using one of the following operators: eq, contains
    name GetTeamListFilterName
    Filter using one of the following operators: eq, contains
    name GetTeamListFilterName
    Filter using one of the following operators: eq, contains
    name GetTeamListFilterName
    Filter using one of the following operators: eq, contains
    name Property Map
    Filter using one of the following operators: eq, contains

    GetTeamListFilterName

    Contains string
    The field contains the provided value.
    Eq string
    The field exactly matches the provided value.
    Contains string
    The field contains the provided value.
    Eq string
    The field exactly matches the provided value.
    contains String
    The field contains the provided value.
    eq String
    The field exactly matches the provided value.
    contains string
    The field contains the provided value.
    eq string
    The field exactly matches the provided value.
    contains str
    The field contains the provided value.
    eq str
    The field exactly matches the provided value.
    contains String
    The field contains the provided value.
    eq String
    The field exactly matches the provided value.

    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.