MongoDBPrivilegeResourceInfo 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.
An Azure Cosmos DB Mongo DB Resource.
public class MongoDBPrivilegeResourceInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.MongoDBPrivilegeResourceInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.MongoDBPrivilegeResourceInfo>
type MongoDBPrivilegeResourceInfo = class
interface IJsonModel<MongoDBPrivilegeResourceInfo>
interface IPersistableModel<MongoDBPrivilegeResourceInfo>
Public Class MongoDBPrivilegeResourceInfo
Implements IJsonModel(Of MongoDBPrivilegeResourceInfo), IPersistableModel(Of MongoDBPrivilegeResourceInfo)
- Inheritance
-
MongoDBPrivilegeResourceInfo
- Implements
Constructors
MongoDBPrivilegeResourceInfo() |
Initializes a new instance of MongoDBPrivilegeResourceInfo. |
Properties
Collection |
The collection name the role is applied. |
DBName |
The database name the role is applied. |
Explicit Interface Implementations
IJsonModel<MongoDBPrivilegeResourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<MongoDBPrivilegeResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<MongoDBPrivilegeResourceInfo>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<MongoDBPrivilegeResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<MongoDBPrivilegeResourceInfo>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET