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.
public class MongoDBRoleDefinitionCreateOrUpdateContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.MongoDBRoleDefinitionCreateOrUpdateContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.MongoDBRoleDefinitionCreateOrUpdateContent>
type MongoDBRoleDefinitionCreateOrUpdateContent = class
interface IJsonModel<MongoDBRoleDefinitionCreateOrUpdateContent>
interface IPersistableModel<MongoDBRoleDefinitionCreateOrUpdateContent>
Public Class MongoDBRoleDefinitionCreateOrUpdateContent
Implements IJsonModel(Of MongoDBRoleDefinitionCreateOrUpdateContent), IPersistableModel(Of MongoDBRoleDefinitionCreateOrUpdateContent)
- Inheritance
-
MongoDBRoleDefinitionCreateOrUpdateContent
- Implements
Constructors
MongoDBRoleDefinitionCreateOrUpdateContent() |
Initializes a new instance of MongoDBRoleDefinitionCreateOrUpdateContent. |
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
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<MongoDBRoleDefinitionCreateOrUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<MongoDBRoleDefinitionCreateOrUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<MongoDBRoleDefinitionCreateOrUpdateContent>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<MongoDBRoleDefinitionCreateOrUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<MongoDBRoleDefinitionCreateOrUpdateContent>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |