MongoUserDefinitionCreateUpdateParameters interface

Parameters to create and update an Azure Cosmos DB Mongo User Definition.

Properties

customData

A custom definition for the USer Definition.

databaseName

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

mechanisms

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

password

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

roles

The set of roles inherited by the User Definition.

userName

The user name for User Definition.

Property Details

customData

A custom definition for the USer Definition.

customData?: string

Property Value

string

databaseName

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

databaseName?: string

Property Value

string

mechanisms

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

mechanisms?: string

Property Value

string

password

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

password?: string

Property Value

string

roles

The set of roles inherited by the User Definition.

roles?: Role[]

Property Value

Role[]

userName

The user name for User Definition.

userName?: string

Property Value

string