Uses of Class
com.azure.resourcemanager.cosmos.fluent.models.MongoUserDefinitionResource
Packages that use MongoUserDefinitionResource
Package
Description
Package containing the inner data models for CosmosDBManagementClient.
-
Uses of MongoUserDefinitionResource in com.azure.resourcemanager.cosmos.fluent.models
Methods in com.azure.resourcemanager.cosmos.fluent.models that return MongoUserDefinitionResourceModifier and TypeMethodDescriptionstatic MongoUserDefinitionResource
MongoUserDefinitionResource.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of MongoUserDefinitionResource from the JsonReader.MongoUserDefinitionResource.withCustomData
(String customData) Set the customData property: A custom definition for the USer Definition.MongoUserDefinitionResource.withDatabaseName
(String databaseName) Set the databaseName property: The database name for which access is being granted for this User Definition.MongoUserDefinitionResource.withMechanisms
(String mechanisms) Set the mechanisms property: The Mongo Auth mechanism.MongoUserDefinitionResource.withPassword
(String password) Set the password property: The password for User Definition.Set the roles property: The set of roles inherited by the User Definition.MongoUserDefinitionResource.withUsername
(String username) Set the username property: The user name for User Definition.