Share via


DataMigrationMongoDBShardKeyField Class

Definition

Describes a field reference within a MongoDB shard key.

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

Constructors

DataMigrationMongoDBShardKeyField(String, DataMigrationMongoDBShardKeyOrder)

Initializes a new instance of DataMigrationMongoDBShardKeyField.

Properties

Name

The name of the field.

Order

The field ordering.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataMigrationMongoDBShardKeyField>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataMigrationMongoDBShardKeyField>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataMigrationMongoDBShardKeyField>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataMigrationMongoDBShardKeyField>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataMigrationMongoDBShardKeyField>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to