Class DatabaseUserState
Inheritance
System.Object
DatabaseUserState
Inherited Members
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()
Assembly: Pulumi.Mongodbatlas.dll
Syntax
public sealed class DatabaseUserState : ResourceArgs
Constructors
View Source
DatabaseUserState()
Declaration
public DatabaseUserState()
Properties
View Source
AuthDatabaseName
The user’s authentication database. A user must provide both a username and authentication database to log into MongoDB. In Atlas deployments of MongoDB, the authentication database is always the admin database.
Declaration
public Input<string> AuthDatabaseName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
DatabaseName
Database on which the user has the specified role. A role on the admin database can include privileges that apply to the other databases.
Declaration
public Input<string> DatabaseName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Labels
Declaration
public InputList<DatabaseUserLabelGetArgs> Labels { get; set; }
Property Value
View Source
Password
Declaration
public Input<string> Password { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ProjectId
The unique ID for the project to create the database user.
Declaration
public Input<string> ProjectId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Roles
List of user’s roles and the databases / collections on which the roles apply. A role allows the user to perform particular actions on the specified database. A role on the admin database can include privileges that apply to the other databases as well. See Roles below for more details.
Declaration
public InputList<DatabaseUserRoleGetArgs> Roles { get; set; }
Property Value
View Source
Username
Username for authenticating to MongoDB.
Declaration
public Input<string> Username { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
X509Type
X.509 method by which the provided username is authenticated. If no value is given, Atlas uses the default value of NONE. The accepted types are:
Declaration
public Input<string> X509Type { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|