MongoDBRoleDefinitionCreateOrUpdateContent Class

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.

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

C#
public class MongoDBRoleDefinitionCreateOrUpdateContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.MongoDBRoleDefinitionCreateOrUpdateContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.MongoDBRoleDefinitionCreateOrUpdateContent>
Inheritance
MongoDBRoleDefinitionCreateOrUpdateContent
Implements

Constructors

Properties

DatabaseName

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

DefinitionType

Indicates whether the Role Definition was built-in or user created.

Privileges

A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege.

RoleName

A user-friendly name for the Role Definition. Must be unique for the database account.

Roles

The set of roles inherited by this Role Definition.

Methods

Explicit Interface Implementations

Applies to

Product Versions
Azure SDK for .NET Latest, Preview