fivetran 1.6.0 published on Tuesday, Mar 25, 2025 by fivetran
fivetran.getTeamUserMemberships
Explore with Pulumi AI
This data source returns a list of user memberships within team object.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fivetran from "@pulumi/fivetran";
const teamUserMemberships = fivetran.getTeamUserMemberships({
teamId: "team_id",
});
import pulumi
import pulumi_fivetran as fivetran
team_user_memberships = fivetran.get_team_user_memberships(team_id="team_id")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/fivetran/fivetran"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fivetran.GetTeamUserMemberships(ctx, &fivetran.GetTeamUserMembershipsArgs{
TeamId: "team_id",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fivetran = Pulumi.Fivetran;
return await Deployment.RunAsync(() =>
{
var teamUserMemberships = Fivetran.GetTeamUserMemberships.Invoke(new()
{
TeamId = "team_id",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fivetran.FivetranFunctions;
import com.pulumi.fivetran.inputs.GetTeamUserMembershipsArgs;
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 teamUserMemberships = FivetranFunctions.getTeamUserMemberships(GetTeamUserMembershipsArgs.builder()
.teamId("team_id")
.build());
}
}
variables:
teamUserMemberships:
fn::invoke:
function: fivetran:getTeamUserMemberships
arguments:
teamId: team_id
Using getTeamUserMemberships
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 getTeamUserMemberships(args: GetTeamUserMembershipsArgs, opts?: InvokeOptions): Promise<GetTeamUserMembershipsResult>
function getTeamUserMembershipsOutput(args: GetTeamUserMembershipsOutputArgs, opts?: InvokeOptions): Output<GetTeamUserMembershipsResult>
def get_team_user_memberships(team_id: Optional[str] = None,
users: Optional[Sequence[GetTeamUserMembershipsUser]] = None,
opts: Optional[InvokeOptions] = None) -> GetTeamUserMembershipsResult
def get_team_user_memberships_output(team_id: Optional[pulumi.Input[str]] = None,
users: Optional[pulumi.Input[Sequence[pulumi.Input[GetTeamUserMembershipsUserArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTeamUserMembershipsResult]
func GetTeamUserMemberships(ctx *Context, args *GetTeamUserMembershipsArgs, opts ...InvokeOption) (*GetTeamUserMembershipsResult, error)
func GetTeamUserMembershipsOutput(ctx *Context, args *GetTeamUserMembershipsOutputArgs, opts ...InvokeOption) GetTeamUserMembershipsResultOutput
> Note: This function is named GetTeamUserMemberships
in the Go SDK.
public static class GetTeamUserMemberships
{
public static Task<GetTeamUserMembershipsResult> InvokeAsync(GetTeamUserMembershipsArgs args, InvokeOptions? opts = null)
public static Output<GetTeamUserMembershipsResult> Invoke(GetTeamUserMembershipsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTeamUserMembershipsResult> getTeamUserMemberships(GetTeamUserMembershipsArgs args, InvokeOptions options)
public static Output<GetTeamUserMembershipsResult> getTeamUserMemberships(GetTeamUserMembershipsArgs args, InvokeOptions options)
fn::invoke:
function: fivetran:index/getTeamUserMemberships:getTeamUserMemberships
arguments:
# arguments dictionary
The following arguments are supported:
- Team
Id string - The unique identifier for the team within your account.
- Users
List<Get
Team User Memberships User>
- Team
Id string - The unique identifier for the team within your account.
- Users
[]Get
Team User Memberships User
- team
Id String - The unique identifier for the team within your account.
- users
List<Get
Team User Memberships User>
- team
Id string - The unique identifier for the team within your account.
- users
Get
Team User Memberships User[]
- team_
id str - The unique identifier for the team within your account.
- users
Sequence[Get
Team User Memberships User]
- team
Id String - The unique identifier for the team within your account.
- users List<Property Map>
getTeamUserMemberships Result
The following output properties are available:
- Id string
- The unique identifier for resource.
- Team
Id string - The unique identifier for the team within your account.
- Users
List<Get
Team User Memberships User>
- Id string
- The unique identifier for resource.
- Team
Id string - The unique identifier for the team within your account.
- Users
[]Get
Team User Memberships User
- id String
- The unique identifier for resource.
- team
Id String - The unique identifier for the team within your account.
- users
List<Get
Team User Memberships User>
- id string
- The unique identifier for resource.
- team
Id string - The unique identifier for the team within your account.
- users
Get
Team User Memberships User[]
- id str
- The unique identifier for resource.
- team_
id str - The unique identifier for the team within your account.
- users
Sequence[Get
Team User Memberships User]
- id String
- The unique identifier for resource.
- team
Id String - The unique identifier for the team within your account.
- users List<Property Map>
Supporting Types
GetTeamUserMembershipsUser
Package Details
- Repository
- fivetran fivetran/terraform-provider-fivetran
- License
- Notes
- This Pulumi package is based on the
fivetran
Terraform Provider.