Share via


MongoDBPrivilegeResourceInfo Class

Definition

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

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