1. Packages
  2. Heroku Provider
  3. API Docs
  4. team
  5. getMembers
Heroku v1.0.4 published on Tuesday, Apr 8, 2025 by pulumiverse - Marcel Arns

heroku.team.getMembers

Explore with Pulumi AI

heroku logo
Heroku v1.0.4 published on Tuesday, Apr 8, 2025 by pulumiverse - Marcel Arns

    Use this data source to get information about members for a Heroku Team.

    Example Usage

    data "heroku_team_members" "foobar" {
      team = "name_of_my_heroku_team"
      roles = ["admin", "member", "viewer", "collaborator"]
    }
    

    Using getMembers

    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 getMembers(args: GetMembersArgs, opts?: InvokeOptions): Promise<GetMembersResult>
    function getMembersOutput(args: GetMembersOutputArgs, opts?: InvokeOptions): Output<GetMembersResult>
    def get_members(roles: Optional[Sequence[str]] = None,
                    team: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetMembersResult
    def get_members_output(roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                    team: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetMembersResult]
    func GetMembers(ctx *Context, args *GetMembersArgs, opts ...InvokeOption) (*GetMembersResult, error)
    func GetMembersOutput(ctx *Context, args *GetMembersOutputArgs, opts ...InvokeOption) GetMembersResultOutput

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

    public static class GetMembers 
    {
        public static Task<GetMembersResult> InvokeAsync(GetMembersArgs args, InvokeOptions? opts = null)
        public static Output<GetMembersResult> Invoke(GetMembersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMembersResult> getMembers(GetMembersArgs args, InvokeOptions options)
    public static Output<GetMembersResult> getMembers(GetMembersArgs args, InvokeOptions options)
    
    fn::invoke:
      function: heroku:team/getMembers:getMembers
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Roles List<string>
    List of roles. Acceptable values are admin, member, viewer, collaborator, owner. At least one role must be specified.
    Team string
    The team name.
    Roles []string
    List of roles. Acceptable values are admin, member, viewer, collaborator, owner. At least one role must be specified.
    Team string
    The team name.
    roles List<String>
    List of roles. Acceptable values are admin, member, viewer, collaborator, owner. At least one role must be specified.
    team String
    The team name.
    roles string[]
    List of roles. Acceptable values are admin, member, viewer, collaborator, owner. At least one role must be specified.
    team string
    The team name.
    roles Sequence[str]
    List of roles. Acceptable values are admin, member, viewer, collaborator, owner. At least one role must be specified.
    team str
    The team name.
    roles List<String>
    List of roles. Acceptable values are admin, member, viewer, collaborator, owner. At least one role must be specified.
    team String
    The team name.

    getMembers Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Members List<Pulumiverse.Heroku.Team.Outputs.GetMembersMember>
    All members of the team that have a specified role defined in the roles attribute above.
    Roles List<string>
    Team string
    Id string
    The provider-assigned unique ID for this managed resource.
    Members []GetMembersMember
    All members of the team that have a specified role defined in the roles attribute above.
    Roles []string
    Team string
    id String
    The provider-assigned unique ID for this managed resource.
    members List<GetMembersMember>
    All members of the team that have a specified role defined in the roles attribute above.
    roles List<String>
    team String
    id string
    The provider-assigned unique ID for this managed resource.
    members GetMembersMember[]
    All members of the team that have a specified role defined in the roles attribute above.
    roles string[]
    team string
    id str
    The provider-assigned unique ID for this managed resource.
    members Sequence[GetMembersMember]
    All members of the team that have a specified role defined in the roles attribute above.
    roles Sequence[str]
    team str
    id String
    The provider-assigned unique ID for this managed resource.
    members List<Property Map>
    All members of the team that have a specified role defined in the roles attribute above.
    roles List<String>
    team String

    Supporting Types

    GetMembersMember

    Email string
    Email address of the team member.
    Federated bool
    Whether the user is federated and belongs to an Identity Provider.
    Role string
    Role in the team.
    TeamMemberId string
    Unique identifier of the team member on the team.
    TwoFactorAuthentication bool
    Whether the Enterprise team member has two-factor authentication enabled.
    UserId string
    Unique identifier of the team member. This is the member's user ID in Heroku.
    Email string
    Email address of the team member.
    Federated bool
    Whether the user is federated and belongs to an Identity Provider.
    Role string
    Role in the team.
    TeamMemberId string
    Unique identifier of the team member on the team.
    TwoFactorAuthentication bool
    Whether the Enterprise team member has two-factor authentication enabled.
    UserId string
    Unique identifier of the team member. This is the member's user ID in Heroku.
    email String
    Email address of the team member.
    federated Boolean
    Whether the user is federated and belongs to an Identity Provider.
    role String
    Role in the team.
    teamMemberId String
    Unique identifier of the team member on the team.
    twoFactorAuthentication Boolean
    Whether the Enterprise team member has two-factor authentication enabled.
    userId String
    Unique identifier of the team member. This is the member's user ID in Heroku.
    email string
    Email address of the team member.
    federated boolean
    Whether the user is federated and belongs to an Identity Provider.
    role string
    Role in the team.
    teamMemberId string
    Unique identifier of the team member on the team.
    twoFactorAuthentication boolean
    Whether the Enterprise team member has two-factor authentication enabled.
    userId string
    Unique identifier of the team member. This is the member's user ID in Heroku.
    email str
    Email address of the team member.
    federated bool
    Whether the user is federated and belongs to an Identity Provider.
    role str
    Role in the team.
    team_member_id str
    Unique identifier of the team member on the team.
    two_factor_authentication bool
    Whether the Enterprise team member has two-factor authentication enabled.
    user_id str
    Unique identifier of the team member. This is the member's user ID in Heroku.
    email String
    Email address of the team member.
    federated Boolean
    Whether the user is federated and belongs to an Identity Provider.
    role String
    Role in the team.
    teamMemberId String
    Unique identifier of the team member on the team.
    twoFactorAuthentication Boolean
    Whether the Enterprise team member has two-factor authentication enabled.
    userId String
    Unique identifier of the team member. This is the member's user ID in Heroku.

    Package Details

    Repository
    heroku pulumiverse/pulumi-heroku
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the heroku Terraform Provider.
    heroku logo
    Heroku v1.0.4 published on Tuesday, Apr 8, 2025 by pulumiverse - Marcel Arns