1. Packages
  2. Vercel
  3. API Docs
  4. getTeamMember
Vercel v1.15.0 published on Wednesday, Mar 19, 2025 by Pulumiverse

vercel.getTeamMember

Explore with Pulumi AI

vercel logo
Vercel v1.15.0 published on Wednesday, Mar 19, 2025 by Pulumiverse

    Using getTeamMember

    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 getTeamMember(args: GetTeamMemberArgs, opts?: InvokeOptions): Promise<GetTeamMemberResult>
    function getTeamMemberOutput(args: GetTeamMemberOutputArgs, opts?: InvokeOptions): Output<GetTeamMemberResult>
    def get_team_member(team_id: Optional[str] = None,
                        user_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetTeamMemberResult
    def get_team_member_output(team_id: Optional[pulumi.Input[str]] = None,
                        user_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetTeamMemberResult]
    func LookupTeamMember(ctx *Context, args *LookupTeamMemberArgs, opts ...InvokeOption) (*LookupTeamMemberResult, error)
    func LookupTeamMemberOutput(ctx *Context, args *LookupTeamMemberOutputArgs, opts ...InvokeOption) LookupTeamMemberResultOutput

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

    public static class GetTeamMember 
    {
        public static Task<GetTeamMemberResult> InvokeAsync(GetTeamMemberArgs args, InvokeOptions? opts = null)
        public static Output<GetTeamMemberResult> Invoke(GetTeamMemberInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTeamMemberResult> getTeamMember(GetTeamMemberArgs args, InvokeOptions options)
    public static Output<GetTeamMemberResult> getTeamMember(GetTeamMemberArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vercel:index/getTeamMember:getTeamMember
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TeamId string
    UserId string
    TeamId string
    UserId string
    teamId String
    userId String
    teamId string
    userId string
    teamId String
    userId String

    getTeamMember Result

    The following output properties are available:

    accessGroups List<String>
    id String
    projects List<Property Map>
    role String
    teamId String
    userId String

    Supporting Types

    GetTeamMemberProject

    ProjectId string
    The ID of the project that the user should be granted access to.
    Role string
    The role that the user should have in the project.
    ProjectId string
    The ID of the project that the user should be granted access to.
    Role string
    The role that the user should have in the project.
    projectId String
    The ID of the project that the user should be granted access to.
    role String
    The role that the user should have in the project.
    projectId string
    The ID of the project that the user should be granted access to.
    role string
    The role that the user should have in the project.
    project_id str
    The ID of the project that the user should be granted access to.
    role str
    The role that the user should have in the project.
    projectId String
    The ID of the project that the user should be granted access to.
    role String
    The role that the user should have in the project.

    Package Details

    Repository
    vercel pulumiverse/pulumi-vercel
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the vercel Terraform Provider.
    vercel logo
    Vercel v1.15.0 published on Wednesday, Mar 19, 2025 by Pulumiverse