Viewing docs for konnect 3.23.0
published on Friday, Sep 18, 2026 by kong
published on Friday, Sep 18, 2026 by kong
Viewing docs for konnect 3.23.0
published on Friday, Sep 18, 2026 by kong
published on Friday, Sep 18, 2026 by kong
Team DataSource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as konnect from "@pulumi/konnect";
const myTeam = konnect.getTeam({
filter: {
labels: {
key: {
contains: "...my_contains...",
eq: "...my_eq...",
exists: false,
},
},
name: {
contains: "...my_contains...",
eq: "...my_eq...",
},
},
});
import pulumi
import pulumi_konnect as konnect
my_team = konnect.get_team(filter={
"labels": {
"key": {
"contains": "...my_contains...",
"eq": "...my_eq...",
"exists": False,
},
},
"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{
Labels: pulumi.Konnect.GetTeamFilterLabelsMap{
"key": konnect.GetTeamFilterLabels{
Contains: pulumi.StringRef("...my_contains..."),
Eq: pulumi.StringRef("...my_eq..."),
Exists: pulumi.BoolRef(false),
},
},
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
{
Labels =
{
{ "key", new Konnect.Inputs.GetTeamFilterLabelsInputArgs
{
Contains = "...my_contains...",
Eq = "...my_eq...",
Exists = false,
} },
},
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()
.labels(Map.of("key", GetTeamFilterLabelsArgs.builder()
.contains("...my_contains...")
.eq("...my_eq...")
.exists(false)
.build()))
.name(GetTeamFilterNameArgs.builder()
.contains("...my_contains...")
.eq("...my_eq...")
.build())
.build())
.build());
}
}
variables:
myTeam:
fn::invoke:
function: konnect:getTeam
arguments:
filter:
labels:
key:
contains: '...my_contains...'
eq: '...my_eq...'
exists: false
name:
contains: '...my_contains...'
eq: '...my_eq...'
Example coming soon!
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?: InvokeOutputOptions): Output<GetTeamResult>def get_team(filter: Optional[GetTeamFilter] = None,
opts: Optional[InvokeOptions] = None) -> GetTeamResult
def get_team_output(filter: pulumi.Input[Optional[GetTeamFilterArgs]] = None,
opts: Optional[InvokeOutputOptions] = 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 Output<GetTeamResult> Invoke(GetTeamInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetTeamResult> getTeam(GetTeamArgs args, InvokeOptions options)
public static Output<GetTeamResult> getTeam(GetTeamArgs args, InvokeOptions options)
public static Output<GetTeamResult> getTeam(GetTeamArgs args, InvokeOutputOptions options)
fn::invoke:
function: konnect:index/getTeam:getTeam
arguments:
# arguments dictionarydata "konnect_get_team" "name" {
# arguments
}The following arguments are supported:
- Filter
Get
Team 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 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 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 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 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.
getTeam Result
The following output properties are available:
- Created
At string - A Unix timestamp representation of team creation.
- Description string
- The description of the team.
- 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
- System
Team bool - Updated
At string - Filter
Get
Team 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.
- Created
At string - A Unix timestamp representation of team creation.
- Description string
- The description of the team.
- 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
- System
Team bool - Updated
At string - Filter
Get
Team 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.
- created_
at string - A Unix timestamp representation of team creation.
- description string
- The description of the team.
- 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
- system_
team bool - updated_
at string - 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.
- created
At String - A Unix timestamp representation of team creation.
- description String
- The description of the team.
- 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
- system
Team Boolean - updated
At String - filter
Get
Team 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.
- created
At string - A Unix timestamp representation of team creation.
- description string
- The description of the team.
- 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
- system
Team boolean - updated
At string - filter
Get
Team 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.
- created_
at str - A Unix timestamp representation of team creation.
- description str
- The description of the team.
- 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
Get
Team 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.
- created
At String - A Unix timestamp representation of team creation.
- description String
- The description of the team.
- 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
- system
Team Boolean - updated
At String - 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
GetTeamFilter
- Labels
Dictionary<string, Get
Team Filter Labels> - Name
Get
Team Filter Name - Filter using one of the following operators:
eq,contains
- Labels
map[string]Get
Team Filter Labels - Name
Get
Team Filter Name - Filter using one of the following operators:
eq,contains
- labels
Map<String,Get
Team Filter Labels> - name
Get
Team Filter Name - Filter using one of the following operators:
eq,contains
- labels
{[key: string]: Get
Team Filter Labels} - name
Get
Team Filter Name - Filter using one of the following operators:
eq,contains
- labels
Mapping[str, Get
Team Filter Labels] - name
Get
Team Filter Name - Filter using one of the following operators:
eq,contains
- labels Map<Property Map>
- name Property Map
- Filter using one of the following operators:
eq,contains
GetTeamFilterLabels
GetTeamFilterName
Package Details
- Repository
- konnect kong/terraform-provider-konnect
- License
- Notes
- This Pulumi package is based on the
konnectTerraform Provider.
Viewing docs for konnect 3.23.0
published on Friday, Sep 18, 2026 by kong
published on Friday, Sep 18, 2026 by kong