1. Packages
  2. Konnect Provider
  3. API Docs
  4. getTeam
konnect 3.9.0 published on Friday, Feb 20, 2026 by kong
konnect logo
konnect 3.9.0 published on Friday, Feb 20, 2026 by kong

    Team DataSource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as konnect from "@pulumi/konnect";
    
    const myTeam = konnect.getTeam({
        filter: {
            name: {
                contains: "...my_contains...",
                eq: "...my_eq...",
            },
        },
    });
    
    import pulumi
    import pulumi_konnect as konnect
    
    my_team = konnect.get_team(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.LookupTeam(ctx, &konnect.LookupTeamArgs{
    			Filter: konnect.GetTeamFilter{
    				Name: konnect.GetTeamFilterName{
    					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 myTeam = Konnect.GetTeam.Invoke(new()
        {
            Filter = new Konnect.Inputs.GetTeamFilterInputArgs
            {
                Name = new Konnect.Inputs.GetTeamFilterNameInputArgs
                {
                    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.GetTeamArgs;
    import com.pulumi.konnect.inputs.GetTeamFilterArgs;
    import com.pulumi.konnect.inputs.GetTeamFilterNameArgs;
    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 myTeam = KonnectFunctions.getTeam(GetTeamArgs.builder()
                .filter(GetTeamFilterArgs.builder()
                    .name(GetTeamFilterNameArgs.builder()
                        .contains("...my_contains...")
                        .eq("...my_eq...")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    variables:
      myTeam:
        fn::invoke:
          function: konnect:getTeam
          arguments:
            filter:
              name:
                contains: '...my_contains...'
                eq: '...my_eq...'
    

    Using getTeam

    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 getTeam(args: GetTeamArgs, opts?: InvokeOptions): Promise<GetTeamResult>
    function getTeamOutput(args: GetTeamOutputArgs, opts?: InvokeOptions): Output<GetTeamResult>
    def get_team(filter: Optional[GetTeamFilter] = None,
                 opts: Optional[InvokeOptions] = None) -> GetTeamResult
    def get_team_output(filter: Optional[pulumi.Input[GetTeamFilterArgs]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetTeamResult]
    func LookupTeam(ctx *Context, args *LookupTeamArgs, opts ...InvokeOption) (*LookupTeamResult, error)
    func LookupTeamOutput(ctx *Context, args *LookupTeamOutputArgs, opts ...InvokeOption) LookupTeamResultOutput

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

    public static class GetTeam 
    {
        public static Task<GetTeamResult> InvokeAsync(GetTeamArgs args, InvokeOptions? opts = null)
        public static Output<GetTeamResult> Invoke(GetTeamInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTeamResult> getTeam(GetTeamArgs args, InvokeOptions options)
    public static Output<GetTeamResult> getTeam(GetTeamArgs args, InvokeOptions options)
    
    fn::invoke:
      function: konnect:index/getTeam:getTeam
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getTeam Result

    The following output properties are available:

    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
    SystemTeam bool
    UpdatedAt string
    Filter GetTeamFilter
    Filter teams returned in the response.
    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
    SystemTeam bool
    UpdatedAt string
    Filter GetTeamFilter
    Filter teams returned in the response.
    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
    systemTeam Boolean
    updatedAt String
    filter GetTeamFilter
    Filter teams returned in the response.
    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
    systemTeam boolean
    updatedAt string
    filter GetTeamFilter
    Filter teams returned in the response.
    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
    system_team bool
    updated_at str
    filter GetTeamFilter
    Filter teams returned in the response.
    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
    systemTeam Boolean
    updatedAt String
    filter Property Map
    Filter teams returned in the response.

    Supporting Types

    GetTeamFilter

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

    GetTeamFilterName

    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
    konnect 3.9.0 published on Friday, Feb 20, 2026 by kong
      Meet Neo: Your AI Platform Teammate