GetMongoDBResourceMongoUserDefinitionResult

data class GetMongoDBResourceMongoUserDefinitionResult(val customData: String? = null, val databaseName: String? = null, val id: String, val mechanisms: String? = null, val name: String, val password: String? = null, val roles: List<RoleResponse>? = null, val type: String, val userName: String? = null)

An Azure Cosmos DB User Definition

Constructors

constructor(customData: String? = null, databaseName: String? = null, id: String, mechanisms: String? = null, name: String, password: String? = null, roles: List<RoleResponse>? = null, type: String, userName: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val customData: String? = null

A custom definition for the USer Definition.

Link copied to clipboard
val databaseName: String? = null

The database name for which access is being granted for this User Definition.

Link copied to clipboard
val id: String

The unique resource identifier of the database account.

Link copied to clipboard
val mechanisms: String? = null

The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256.

Link copied to clipboard

The name of the database account.

Link copied to clipboard
val password: String? = null

The password for User Definition. Response does not contain user password.

Link copied to clipboard
val roles: List<RoleResponse>? = null

The set of roles inherited by the User Definition.

Link copied to clipboard

The type of Azure resource.

Link copied to clipboard
val userName: String? = null

The user name for User Definition.