Project
Create a Project Resource
new Project(name: string, args: ProjectArgs, opts?: CustomResourceOptions);def Project(resource_name, opts=None, name=None, org_id=None, teams=None, __props__=None);func NewProject(ctx *Context, name string, args ProjectArgs, opts ...ResourceOption) (*Project, error)public Project(string name, ProjectArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Project Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Project resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the Project resource produces the following output properties:
Look up an Existing Project Resource
Get an existing Project resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ProjectState, opts?: CustomResourceOptions): Projectstatic get(resource_name, id, opts=None, cluster_count=None, created=None, name=None, org_id=None, teams=None, __props__=None);func GetProject(ctx *Context, name string, id IDInput, state *ProjectState, opts ...ResourceOption) (*Project, error)public static Project Get(string name, Input<string> id, ProjectState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Cluster
Count int The number of Atlas clusters deployed in the project..
- Created string
The ISO-8601-formatted timestamp of when Atlas created the project..
- Name string
The name of the project you want to create. (Cannot be changed via this Provider after creation.)
- Org
Id string The ID of the organization you want to create the project within.
- Teams
List<Project
Team Args>
- Cluster
Count int The number of Atlas clusters deployed in the project..
- Created string
The ISO-8601-formatted timestamp of when Atlas created the project..
- Name string
The name of the project you want to create. (Cannot be changed via this Provider after creation.)
- Org
Id string The ID of the organization you want to create the project within.
- Teams
[]Project
Team
- cluster
Count number The number of Atlas clusters deployed in the project..
- created string
The ISO-8601-formatted timestamp of when Atlas created the project..
- name string
The name of the project you want to create. (Cannot be changed via this Provider after creation.)
- org
Id string The ID of the organization you want to create the project within.
- teams
Project
Team[]
- cluster_
count float The number of Atlas clusters deployed in the project..
- created str
The ISO-8601-formatted timestamp of when Atlas created the project..
- name str
The name of the project you want to create. (Cannot be changed via this Provider after creation.)
- org_
id str The ID of the organization you want to create the project within.
- teams
List[Project
Team]
Supporting Types
ProjectTeam
- Role
Names List<string> Each string in the array represents a project role you want to assign to the team. Every user associated with the team inherits these roles. You must specify an array even if you are only associating a single role with the team. The following are valid roles: *
GROUP_OWNER*GROUP_READ_ONLY*GROUP_DATA_ACCESS_ADMIN*GROUP_DATA_ACCESS_READ_WRITE*GROUP_DATA_ACCESS_READ_ONLY*GROUP_CLUSTER_MANAGER- Team
Id string The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
- Role
Names []string Each string in the array represents a project role you want to assign to the team. Every user associated with the team inherits these roles. You must specify an array even if you are only associating a single role with the team. The following are valid roles: *
GROUP_OWNER*GROUP_READ_ONLY*GROUP_DATA_ACCESS_ADMIN*GROUP_DATA_ACCESS_READ_WRITE*GROUP_DATA_ACCESS_READ_ONLY*GROUP_CLUSTER_MANAGER- Team
Id string The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
- role
Names string[] Each string in the array represents a project role you want to assign to the team. Every user associated with the team inherits these roles. You must specify an array even if you are only associating a single role with the team. The following are valid roles: *
GROUP_OWNER*GROUP_READ_ONLY*GROUP_DATA_ACCESS_ADMIN*GROUP_DATA_ACCESS_READ_WRITE*GROUP_DATA_ACCESS_READ_ONLY*GROUP_CLUSTER_MANAGER- team
Id string The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
- role
Names List[str] Each string in the array represents a project role you want to assign to the team. Every user associated with the team inherits these roles. You must specify an array even if you are only associating a single role with the team. The following are valid roles: *
GROUP_OWNER*GROUP_READ_ONLY*GROUP_DATA_ACCESS_ADMIN*GROUP_DATA_ACCESS_READ_WRITE*GROUP_DATA_ACCESS_READ_ONLY*GROUP_CLUSTER_MANAGER- team_
id str The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
Package Details
- Repository
- https://github.com/pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlasTerraform Provider.