Uses of Class
com.azure.resourcemanager.cosmos.fluent.models.MongoRoleDefinitionResource
Packages that use MongoRoleDefinitionResource
Package
Description
Package containing the inner data models for CosmosDBManagementClient.
-
Uses of MongoRoleDefinitionResource in com.azure.resourcemanager.cosmos.fluent.models
Classes in com.azure.resourcemanager.cosmos.fluent.models that implement interfaces with type arguments of type MongoRoleDefinitionResourceModifier and TypeClassDescriptionfinal classAzure Cosmos DB Mongo Role Definition resource object.Methods in com.azure.resourcemanager.cosmos.fluent.models that return MongoRoleDefinitionResourceModifier and TypeMethodDescriptionstatic MongoRoleDefinitionResourceMongoRoleDefinitionResource.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of MongoRoleDefinitionResource from the JsonReader.MongoRoleDefinitionResource.withDatabaseName(String databaseName) Set the databaseName property: The database name for which access is being granted for this Role Definition.MongoRoleDefinitionResource.withPrivileges(List<Privilege> privileges) Set the privileges property: A set of privileges contained by the Role Definition.MongoRoleDefinitionResource.withRoleName(String roleName) Set the roleName property: A user-friendly name for the Role Definition.Set the roles property: The set of roles inherited by this Role Definition.MongoRoleDefinitionResource.withType(MongoRoleDefinitionType type) Set the type property: Indicates whether the Role Definition was built-in or user created.