共用方式為


MongoDBClusterInfo Class

Definition

Describes a MongoDB data source.

public class MongoDBClusterInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataMigration.Models.MongoDBClusterInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataMigration.Models.MongoDBClusterInfo>
type MongoDBClusterInfo = class
    interface IJsonModel<MongoDBClusterInfo>
    interface IPersistableModel<MongoDBClusterInfo>
Public Class MongoDBClusterInfo
Implements IJsonModel(Of MongoDBClusterInfo), IPersistableModel(Of MongoDBClusterInfo)
Inheritance
MongoDBClusterInfo
Implements

Properties

ClusterType

The type of data source.

Databases

A list of non-system databases in the cluster.

SupportsSharding

Whether the cluster supports sharded collections.

Version

The version of the data source in the form x.y.z (e.g. 3.6.7). Not used if Type is BlobContainer.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MongoDBClusterInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MongoDBClusterInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MongoDBClusterInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MongoDBClusterInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MongoDBClusterInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to