Launch Darkly v0.0.6 published on Sunday, Feb 19, 2023 by lbrlabs
launchdarkly.getTeam
Explore with Pulumi AI
Provides a LaunchDarkly team data source.
This data source allows you to retrieve team information from your LaunchDarkly organization.
Note: Teams are available to customers on an Enterprise LaunchDarkly plan. To learn more, read about our pricing. To upgrade your plan, contact LaunchDarkly Sales.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Launchdarkly = Pulumi.Launchdarkly;
return await Deployment.RunAsync(() =>
{
var platformTeam = Launchdarkly.GetTeam.Invoke(new()
{
Key = "platform_team",
});
});
package main
import (
"github.com/lbrlabs/pulumi-launchdarkly/sdk/go/launchdarkly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err = launchdarkly.LookupTeam(ctx, &launchdarkly.LookupTeamArgs{
Key: "platform_team",
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.launchdarkly.LaunchdarklyFunctions;
import com.pulumi.launchdarkly.inputs.GetTeamArgs;
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 platformTeam = LaunchdarklyFunctions.getTeam(GetTeamArgs.builder()
.key("platform_team")
.build());
}
}
import pulumi
import pulumi_launchdarkly as launchdarkly
platform_team = launchdarkly.get_team(key="platform_team")
import * as pulumi from "@pulumi/pulumi";
import * as launchdarkly from "@pulumi/launchdarkly";
const platformTeam = launchdarkly.getTeam({
key: "platform_team",
});
variables:
platformTeam:
fn::invoke:
Function: launchdarkly:getTeam
Arguments:
key: platform_team
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(custom_role_keys: Optional[Sequence[str]] = None,
description: Optional[str] = None,
key: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTeamResult
def get_team_output(custom_role_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
description: Optional[pulumi.Input[str]] = None,
key: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: launchdarkly:index/getTeam:getTeam
arguments:
# arguments dictionary
The following arguments are supported:
- Key string
- The team key.
- Custom
Role List<string>Keys - The list of the keys of the custom roles that you have assigned to the team.
- Description string
- The team description.
- Name string
- Human readable name for the team.
- Key string
- The team key.
- Custom
Role []stringKeys - The list of the keys of the custom roles that you have assigned to the team.
- Description string
- The team description.
- Name string
- Human readable name for the team.
- key String
- The team key.
- custom
Role List<String>Keys - The list of the keys of the custom roles that you have assigned to the team.
- description String
- The team description.
- name String
- Human readable name for the team.
- key string
- The team key.
- custom
Role string[]Keys - The list of the keys of the custom roles that you have assigned to the team.
- description string
- The team description.
- name string
- Human readable name for the team.
- key str
- The team key.
- custom_
role_ Sequence[str]keys - The list of the keys of the custom roles that you have assigned to the team.
- description str
- The team description.
- name str
- Human readable name for the team.
- key String
- The team key.
- custom
Role List<String>Keys - The list of the keys of the custom roles that you have assigned to the team.
- description String
- The team description.
- name String
- Human readable name for the team.
getTeam Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Key string
- Maintainers
List<Lbrlabs.
Pulumi Package. Launchdarkly. Outputs. Get Team Maintainer> - The list of team maintainers as team member objects.
- Project
Keys List<string> - The list of keys of the projects that the team has any write access to.
- Custom
Role List<string>Keys - The list of the keys of the custom roles that you have assigned to the team.
- Description string
- The team description.
- Name string
- Human readable name for the team.
- Id string
- The provider-assigned unique ID for this managed resource.
- Key string
- Maintainers
[]Get
Team Maintainer - The list of team maintainers as team member objects.
- Project
Keys []string - The list of keys of the projects that the team has any write access to.
- Custom
Role []stringKeys - The list of the keys of the custom roles that you have assigned to the team.
- Description string
- The team description.
- Name string
- Human readable name for the team.
- id String
- The provider-assigned unique ID for this managed resource.
- key String
- maintainers
List<Get
Team Maintainer> - The list of team maintainers as team member objects.
- project
Keys List<String> - The list of keys of the projects that the team has any write access to.
- custom
Role List<String>Keys - The list of the keys of the custom roles that you have assigned to the team.
- description String
- The team description.
- name String
- Human readable name for the team.
- id string
- The provider-assigned unique ID for this managed resource.
- key string
- maintainers
Get
Team Maintainer[] - The list of team maintainers as team member objects.
- project
Keys string[] - The list of keys of the projects that the team has any write access to.
- custom
Role string[]Keys - The list of the keys of the custom roles that you have assigned to the team.
- description string
- The team description.
- name string
- Human readable name for the team.
- id str
- The provider-assigned unique ID for this managed resource.
- key str
- maintainers
Sequence[Get
Team Maintainer] - The list of team maintainers as team member objects.
- project_
keys Sequence[str] - The list of keys of the projects that the team has any write access to.
- custom_
role_ Sequence[str]keys - The list of the keys of the custom roles that you have assigned to the team.
- description str
- The team description.
- name str
- Human readable name for the team.
- id String
- The provider-assigned unique ID for this managed resource.
- key String
- maintainers List<Property Map>
- The list of team maintainers as team member objects.
- project
Keys List<String> - The list of keys of the projects that the team has any write access to.
- custom
Role List<String>Keys - The list of the keys of the custom roles that you have assigned to the team.
- description String
- The team description.
- name String
- Human readable name for the team.
Supporting Types
GetTeamMaintainer
- email str
- first_
name str - id str
- last_
name str - role str
Package Details
- Repository
- launchdarkly lbrlabs/pulumi-launchdarkly
- License
- Notes
- This Pulumi package is based on the
launchdarkly
Terraform Provider.