Show / Hide Table of Contents

Class Team

mongodbatlas..Teams provides a Team resource. The resource lets you create, edit and delete Teams. Also, Teams can be assigned to multiple projects, and team members’ access to the project is determined by the team’s project role.

IMPORTANT: MongoDB Atlas Team limits: max 250 teams in an organization and max 100 teams per project.

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

MongoDB Atlas Team limits: max 250 teams in an organization and max 100 teams per project.

Example Usage

using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;

class MyStack : Stack
{
public MyStack()
{
    var test = new Mongodbatlas.Teams("test", new Mongodbatlas.TeamsArgs
    {
        OrgId = "<ORGANIZATION-ID>",
        Usernames = 
        {
            "user1",
            "user2",
            "user3",
        },
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Team
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Mongodbatlas
Assembly: Pulumi.Mongodbatlas.dll
Syntax
public class Team : CustomResource

Constructors

View Source

Team(String, TeamArgs, CustomResourceOptions)

Create a Team resource with the given unique name, arguments, and options.

Declaration
public Team(string name, TeamArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

TeamArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Name

The name of the team you want to create.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

OrgId

The unique identifier for the organization you want to associate the team with.

Declaration
public Output<string> OrgId { get; }
Property Value
Type Description
Output<System.String>
View Source

TeamId

The unique identifier for the team.

Declaration
public Output<string> TeamId { get; }
Property Value
Type Description
Output<System.String>
View Source

Usernames

You can only add Atlas users who are part of the organization. Users who have not accepted an invitation to join the organization cannot be added as team members. There is a maximum of 250 Atlas users per team.

Declaration
public Output<ImmutableArray<string>> Usernames { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>

Methods

View Source

Get(String, Input<String>, TeamState, CustomResourceOptions)

Get an existing Team resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Team Get(string name, Input<string> id, TeamState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

TeamState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Team
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.