Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

MongoDB Atlas

v3.0.1 published on Monday, Nov 1, 2021 by Pulumi

getTeam

mongodbatlas.Teams describes a Team. The resource requires your Organization ID, Project ID and Team ID.

NOTE: Groups and projects are synonymous terms. You may find group_id in the official documentation.

Using getTeam

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 getTeam(args: GetTeamArgs, opts?: InvokeOptions): Promise<GetTeamResult>
function getTeamOutput(args: GetTeamOutputArgs, opts?: InvokeOptions): Output<GetTeamResult>
def get_team(name: Optional[str] = None,
             org_id: Optional[str] = None,
             team_id: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetTeamResult
def get_team_output(name: Optional[pulumi.Input[str]] = None,
             org_id: Optional[pulumi.Input[str]] = None,
             team_id: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetTeamResult]
func LookupTeam(ctx *Context, args *LookupTeamArgs, opts ...InvokeOption) (*LookupTeamResult, error)
func LookupTeamOutput(ctx *Context, args *LookupTeamOutputArgs, opts ...InvokeOption) LookupTeamResultOutput

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

public static class GetTeam 
{
    public static Task<GetTeamResult> InvokeAsync(GetTeamArgs args, InvokeOptions? opts = null)
    public static Output<GetTeamResult> Invoke(GetTeamInvokeArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

OrgId string
The unique identifier for the organization you want to associate the team with.
Name string
The team name.
TeamId string
The unique identifier for the team.
OrgId string
The unique identifier for the organization you want to associate the team with.
Name string
The team name.
TeamId string
The unique identifier for the team.
orgId string
The unique identifier for the organization you want to associate the team with.
name string
The team name.
teamId string
The unique identifier for the team.
org_id str
The unique identifier for the organization you want to associate the team with.
name str
The team name.
team_id str
The unique identifier for the team.

getTeam Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the team you want to create.
OrgId string
TeamId string
The unique identifier for the team.
Usernames List<string>
The users who are part of the organization.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the team you want to create.
OrgId string
TeamId string
The unique identifier for the team.
Usernames []string
The users who are part of the organization.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the team you want to create.
orgId string
teamId string
The unique identifier for the team.
usernames string[]
The users who are part of the organization.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the team you want to create.
org_id str
team_id str
The unique identifier for the team.
usernames Sequence[str]
The users who are part of the organization.

Package Details

Repository
https://github.com/pulumi/pulumi-mongodbatlas
License
Apache-2.0
Notes
This Pulumi package is based on the mongodbatlas Terraform Provider.