MongoUserDefinitionGetResults Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MongoUserDefinitionGetResults() |
Initializes a new instance of the MongoUserDefinitionGetResults class. |
MongoUserDefinitionGetResults(String, String, String, String, String, String, String, IList<Role>, String) |
Initializes a new instance of the MongoUserDefinitionGetResults class. |
MongoUserDefinitionGetResults()
Initializes a new instance of the MongoUserDefinitionGetResults class.
public MongoUserDefinitionGetResults ();
Public Sub New ()
Applies to
MongoUserDefinitionGetResults(String, String, String, String, String, String, String, IList<Role>, String)
Initializes a new instance of the MongoUserDefinitionGetResults class.
public MongoUserDefinitionGetResults (string id = default, string name = default, string type = default, string userName = default, string password = default, string databaseName = default, string customData = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.Role> roles = default, string mechanisms = default);
new Microsoft.Azure.Management.CosmosDB.Models.MongoUserDefinitionGetResults : string * string * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.Role> * string -> Microsoft.Azure.Management.CosmosDB.Models.MongoUserDefinitionGetResults
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional userName As String = Nothing, Optional password As String = Nothing, Optional databaseName As String = Nothing, Optional customData As String = Nothing, Optional roles As IList(Of Role) = Nothing, Optional mechanisms As String = Nothing)
Parameters
- id
- String
The unique resource identifier of the database account.
- name
- String
The name of the database account.
- type
- String
The type of Azure resource.
- userName
- String
The user name for User Definition.
- password
- String
The password for User Definition. Response does not contain user password.
- databaseName
- String
The database name for which access is being granted for this User Definition.
- customData
- String
A custom definition for the USer Definition.
- mechanisms
- String
The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256.