Get started with Pulumi in a free one hour introductory workshop. Register Now

GetTeams

Using GetTeams

function getTeams(args: GetTeamsArgs, opts?: InvokeOptions): Promise<GetTeamsResult>
def get_teams(name: Optional[str] = None, org_id: Optional[str] = None, team_id: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetTeamsResult
func LookupTeams(ctx *Context, args *LookupTeamsArgs, opts ...InvokeOption) (*LookupTeamsResult, error)

Note: This function is named LookupTeams in the Go SDK.

public static class GetTeams {
    public static Task<GetTeamsResult> InvokeAsync(GetTeamsArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

OrgId string
Name string
TeamId string
OrgId string
Name string
TeamId string
orgId string
name string
teamId string
org_id str
name str
team_id str

GetTeams Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Name string
OrgId string
TeamId string
Usernames List<string>
Id string

The provider-assigned unique ID for this managed resource.

Name string
OrgId string
TeamId string
Usernames []string
id string

The provider-assigned unique ID for this managed resource.

name string
orgId string
teamId string
usernames string[]
id str

The provider-assigned unique ID for this managed resource.

name str
org_id str
team_id str
usernames Sequence[str]

Package Details

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