MongoDBPrivilege 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.
The set of data plane operations permitted through this Role Definition.
public class MongoDBPrivilege : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.MongoDBPrivilege>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.MongoDBPrivilege>
type MongoDBPrivilege = class
interface IJsonModel<MongoDBPrivilege>
interface IPersistableModel<MongoDBPrivilege>
Public Class MongoDBPrivilege
Implements IJsonModel(Of MongoDBPrivilege), IPersistableModel(Of MongoDBPrivilege)
- Inheritance
-
MongoDBPrivilege
- Implements
Constructors
MongoDBPrivilege() |
Initializes a new instance of MongoDBPrivilege. |
Properties
Actions |
An array of actions that are allowed. |
Resource |
An Azure Cosmos DB Mongo DB Resource. |
Explicit Interface Implementations
IJsonModel<MongoDBPrivilege>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<MongoDBPrivilege>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<MongoDBPrivilege>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<MongoDBPrivilege>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<MongoDBPrivilege>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET