Class DatabaseUserRoleArgs
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()
Namespace: Pulumi.Mongodbatlas.Inputs
Assembly: Pulumi.Mongodbatlas.dll
Syntax
public sealed class DatabaseUserRoleArgs : ResourceArgs
Constructors
View SourceDatabaseUserRoleArgs()
Declaration
public DatabaseUserRoleArgs()
Properties
View SourceCollectionName
Collection for which the role applies. You can specify a collection for the read and readWrite roles. If you do not specify a collection for read and readWrite, the role applies to all collections in the database (excluding some collections in the system. database).
Declaration
public Input<string> CollectionName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
RoleName
Name of the role to grant. See Create a Database User roles.roleName for valid values and restrictions.
Declaration
public Input<string> RoleName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |