MongoDBCollectionResourceInfo 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.
Cosmos DB MongoDB collection resource object.
public class MongoDBCollectionResourceInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.MongoDBCollectionResourceInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.MongoDBCollectionResourceInfo>
type MongoDBCollectionResourceInfo = class
interface IJsonModel<MongoDBCollectionResourceInfo>
interface IPersistableModel<MongoDBCollectionResourceInfo>
Public Class MongoDBCollectionResourceInfo
Implements IJsonModel(Of MongoDBCollectionResourceInfo), IPersistableModel(Of MongoDBCollectionResourceInfo)
- Inheritance
-
MongoDBCollectionResourceInfo
- Derived
- Implements
Constructors
MongoDBCollectionResourceInfo(String) |
Initializes a new instance of MongoDBCollectionResourceInfo. |
Properties
AnalyticalStorageTtl |
Analytical TTL. |
CollectionName |
Name of the Cosmos DB MongoDB collection. |
CreateMode |
Enum to indicate the mode of resource creation. |
Indexes |
List of index keys. |
RestoreParameters |
Parameters to indicate the information about the restore. |
ShardKey |
A key-value pair of shard keys to be applied for the request. |
Explicit Interface Implementations
IJsonModel<MongoDBCollectionResourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<MongoDBCollectionResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<MongoDBCollectionResourceInfo>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<MongoDBCollectionResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<MongoDBCollectionResourceInfo>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET