Heroku v1.0.4 published on Tuesday, Apr 8, 2025 by pulumiverse - Marcel Arns
heroku.team.getMembers
Explore with Pulumi AI
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:
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. Get Members Member> - 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
[]Get
Members Member - 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<Get
Members Member> - 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
Get
Members Member[] - 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[Get
Members Member] - 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.
- Team
Member stringId - Unique identifier of the team member on the team.
- Two
Factor boolAuthentication - Whether the Enterprise team member has two-factor authentication enabled.
- User
Id 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.
- Team
Member stringId - Unique identifier of the team member on the team.
- Two
Factor boolAuthentication - Whether the Enterprise team member has two-factor authentication enabled.
- User
Id 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.
- team
Member StringId - Unique identifier of the team member on the team.
- two
Factor BooleanAuthentication - Whether the Enterprise team member has two-factor authentication enabled.
- user
Id 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.
- team
Member stringId - Unique identifier of the team member on the team.
- two
Factor booleanAuthentication - Whether the Enterprise team member has two-factor authentication enabled.
- user
Id 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_ strid - Unique identifier of the team member on the team.
- two_
factor_ boolauthentication - 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.
- team
Member StringId - Unique identifier of the team member on the team.
- two
Factor BooleanAuthentication - Whether the Enterprise team member has two-factor authentication enabled.
- user
Id 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 v1.0.4 published on Tuesday, Apr 8, 2025 by pulumiverse - Marcel Arns