Compartir a través de


IDefinition<ParentT> Interfaz

Definición

La totalidad de una definición de colección de mongo como parte de la definición primaria.

public interface IDefinition<ParentT> : Microsoft.Azure.Management.CosmosDB.Fluent.HasOptions.Definition.IWithOptions<Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Definition.IWithAttach<ParentT>>, Microsoft.Azure.Management.CosmosDB.Fluent.HasThroughputSettings.Definition.IWithThroughput<Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Definition.IWithAttach<ParentT>>, Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Definition.IBlank<ParentT>, Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Definition.IWithAttach<ParentT>, Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Definition.IWithIndex<ParentT>, Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Definition.IWithOptions<ParentT>, Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Definition.IWithShardKey<ParentT>, Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Definition.IWithThroughput<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<ParentT>
type IDefinition<'ParentT> = interface
    interface IBlank<'ParentT>
    interface IWithAttach<'ParentT>
    interface IInDefinition<'ParentT>
    interface IWithOptions<'ParentT>
    interface IWithOptions<IWithAttach<'ParentT>>
    interface IWithThroughput<'ParentT>
    interface IWithThroughput<IWithAttach<'ParentT>>
    interface IWithShardKey<'ParentT>
    interface IWithIndex<'ParentT>
Public Interface IDefinition(Of ParentT)
Implements IBlank(Of ParentT), IInDefinition(Of ParentT), IWithAttach(Of ParentT), IWithIndex(Of ParentT), IWithOptions(Of IWithAttach(Of ParentT)), IWithOptions(Of ParentT), IWithShardKey(Of ParentT), IWithThroughput(Of IWithAttach(Of ParentT)), IWithThroughput(Of ParentT)

Parámetros de tipo

ParentT

Fase de la definición primaria a la que se va a volver después de adjuntar esta definición.

Implementaciones

Métodos

Attach()

La totalidad de una definición de colección de mongo como parte de la definición primaria.

(Heredado de IInDefinition<ParentT>)
WithIndex(MongoIndex)

Especifica un índice de mongo.

(Heredado de IWithIndex<ParentT>)
WithIndex(MongoIndexKeys, MongoIndexOptions)

Especifica un índice de mongo.

(Heredado de IWithIndex<ParentT>)
WithIndexes(IList<MongoIndex>)

Anexa todos los índices de mongo a los índices actuales.

(Heredado de IWithIndex<ParentT>)
WithOption(String, String)

Especifica una opción.

(Heredado de IWithOptions<ReturnT>)
WithOptionsAppend(IDictionary<String,String>)

Anexa todas las opciones a las opciones actuales.

(Heredado de IWithOptions<ReturnT>)
WithShardKey(String)

Especifica una clave de partición con el tipo de partición predeterminado "Hash".

(Heredado de IWithShardKey<ParentT>)
WithShardKey(String, String)

Especifica una clave de partición.

(Heredado de IWithShardKey<ParentT>)
WithShardKeys(IDictionary<String,String>)

Anexa todas las claves de partición a las claves de partición actuales.

(Heredado de IWithShardKey<ParentT>)
WithThroughput(Int32)

Especifica el valor de rendimiento.

(Heredado de IWithThroughput<ReturnT>)

Se aplica a