1. Packages
  2. Launch Darkly
  3. API Docs
  4. getTeamMembers
Launch Darkly v0.0.6 published on Sunday, Feb 19, 2023 by lbrlabs

launchdarkly.getTeamMembers

Explore with Pulumi AI

launchdarkly logo
Launch Darkly v0.0.6 published on Sunday, Feb 19, 2023 by lbrlabs

    Provides a LaunchDarkly team members data source.

    This data source allows you to retrieve team member information from your LaunchDarkly organization on multiple team members.

    Example Usage

    Coming soon!

    Coming soon!

    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.GetTeamMemberArgs;
    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 example = LaunchdarklyFunctions.getTeamMember(GetTeamMemberArgs.builder()
                .emails(            
                    "example@example.com",
                    "example2@example.com",
                    "example3@example.com")
                .build());
    
        }
    }
    

    Coming soon!

    Coming soon!

    variables:
      example:
        fn::invoke:
          Function: launchdarkly:getTeamMember
          Arguments:
            emails:
              - example@example.com
              - example2@example.com
              - example3@example.com
    

    Using getTeamMembers

    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 getTeamMembers(args: GetTeamMembersArgs, opts?: InvokeOptions): Promise<GetTeamMembersResult>
    function getTeamMembersOutput(args: GetTeamMembersOutputArgs, opts?: InvokeOptions): Output<GetTeamMembersResult>
    def get_team_members(emails: Optional[Sequence[str]] = None,
                         ignore_missing: Optional[bool] = None,
                         opts: Optional[InvokeOptions] = None) -> GetTeamMembersResult
    def get_team_members_output(emails: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                         ignore_missing: Optional[pulumi.Input[bool]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetTeamMembersResult]
    func GetTeamMembers(ctx *Context, args *GetTeamMembersArgs, opts ...InvokeOption) (*GetTeamMembersResult, error)
    func GetTeamMembersOutput(ctx *Context, args *GetTeamMembersOutputArgs, opts ...InvokeOption) GetTeamMembersResultOutput

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

    public static class GetTeamMembers 
    {
        public static Task<GetTeamMembersResult> InvokeAsync(GetTeamMembersArgs args, InvokeOptions? opts = null)
        public static Output<GetTeamMembersResult> Invoke(GetTeamMembersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTeamMembersResult> getTeamMembers(GetTeamMembersArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: launchdarkly:index/getTeamMembers:getTeamMembers
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Emails List<string>
    An array of unique email addresses associated with the team members.
    IgnoreMissing bool
    A boolean to determine whether to ignore members that weren't found.
    Emails []string
    An array of unique email addresses associated with the team members.
    IgnoreMissing bool
    A boolean to determine whether to ignore members that weren't found.
    emails List<String>
    An array of unique email addresses associated with the team members.
    ignoreMissing Boolean
    A boolean to determine whether to ignore members that weren't found.
    emails string[]
    An array of unique email addresses associated with the team members.
    ignoreMissing boolean
    A boolean to determine whether to ignore members that weren't found.
    emails Sequence[str]
    An array of unique email addresses associated with the team members.
    ignore_missing bool
    A boolean to determine whether to ignore members that weren't found.
    emails List<String>
    An array of unique email addresses associated with the team members.
    ignoreMissing Boolean
    A boolean to determine whether to ignore members that weren't found.

    getTeamMembers Result

    The following output properties are available:

    Emails List<string>
    Id string
    The provider-assigned unique ID for this managed resource.
    TeamMembers List<Lbrlabs.PulumiPackage.Launchdarkly.Outputs.GetTeamMembersTeamMember>
    IgnoreMissing bool
    Emails []string
    Id string
    The provider-assigned unique ID for this managed resource.
    TeamMembers []GetTeamMembersTeamMember
    IgnoreMissing bool
    emails List<String>
    id String
    The provider-assigned unique ID for this managed resource.
    teamMembers List<GetTeamMembersTeamMember>
    ignoreMissing Boolean
    emails string[]
    id string
    The provider-assigned unique ID for this managed resource.
    teamMembers GetTeamMembersTeamMember[]
    ignoreMissing boolean
    emails Sequence[str]
    id str
    The provider-assigned unique ID for this managed resource.
    team_members Sequence[GetTeamMembersTeamMember]
    ignore_missing bool
    emails List<String>
    id String
    The provider-assigned unique ID for this managed resource.
    teamMembers List<Property Map>
    ignoreMissing Boolean

    Supporting Types

    GetTeamMembersTeamMember

    CustomRoles List<string>
    Email string
    FirstName string
    The team member's given name.
    Id string
    The 24 character alphanumeric ID of the team member.
    LastName string
    The team member's family name.
    Role string
    The role associated with team member. Possible roles are owner, reader, writer, or admin.
    CustomRoles []string
    Email string
    FirstName string
    The team member's given name.
    Id string
    The 24 character alphanumeric ID of the team member.
    LastName string
    The team member's family name.
    Role string
    The role associated with team member. Possible roles are owner, reader, writer, or admin.
    customRoles List<String>
    email String
    firstName String
    The team member's given name.
    id String
    The 24 character alphanumeric ID of the team member.
    lastName String
    The team member's family name.
    role String
    The role associated with team member. Possible roles are owner, reader, writer, or admin.
    customRoles string[]
    email string
    firstName string
    The team member's given name.
    id string
    The 24 character alphanumeric ID of the team member.
    lastName string
    The team member's family name.
    role string
    The role associated with team member. Possible roles are owner, reader, writer, or admin.
    custom_roles Sequence[str]
    email str
    first_name str
    The team member's given name.
    id str
    The 24 character alphanumeric ID of the team member.
    last_name str
    The team member's family name.
    role str
    The role associated with team member. Possible roles are owner, reader, writer, or admin.
    customRoles List<String>
    email String
    firstName String
    The team member's given name.
    id String
    The 24 character alphanumeric ID of the team member.
    lastName String
    The team member's family name.
    role String
    The role associated with team member. Possible roles are owner, reader, writer, or admin.

    Package Details

    Repository
    launchdarkly lbrlabs/pulumi-launchdarkly
    License
    Notes
    This Pulumi package is based on the launchdarkly Terraform Provider.
    launchdarkly logo
    Launch Darkly v0.0.6 published on Sunday, Feb 19, 2023 by lbrlabs