Show / Hide Table of Contents

Class DatabaseUserArgs

Inheritance
System.Object
InputArgs
ResourceArgs
DatabaseUserArgs
Inherited Members
ResourceArgs.Empty
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 sealed class DatabaseUserArgs : ResourceArgs

Constructors

View Source

DatabaseUserArgs()

Declaration
public DatabaseUserArgs()

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<DatabaseUserLabelArgs> Labels { get; set; }
Property Value
Type Description
InputList<DatabaseUserLabelArgs>
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<DatabaseUserRoleArgs> Roles { get; set; }
Property Value
Type Description
InputList<DatabaseUserRoleArgs>
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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.