共用方式為


IDefinition<ParentT> Interface

Definition

The entirety of a mongo collection definition as a part of parent definition.

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)

Type Parameters

ParentT

The stage of the parent definition to return to after attaching this definition.

Implements

Methods

Attach() (Inherited from IInDefinition<ParentT>)
WithIndex(MongoIndex)

Specifies a mongo index.

(Inherited from IWithIndex<ParentT>)
WithIndex(MongoIndexKeys, MongoIndexOptions)

Specifies a mongo index.

(Inherited from IWithIndex<ParentT>)
WithIndexes(IList<MongoIndex>)

Appends all mongo indexes to current indexes.

(Inherited from IWithIndex<ParentT>)
WithOption(String, String)

Specifies an option.

(Inherited from IWithOptions<ReturnT>)
WithOptionsAppend(IDictionary<String,String>)

Appends all options to current options.

(Inherited from IWithOptions<ReturnT>)
WithShardKey(String, String)

Specifies a shard key.

(Inherited from IWithShardKey<ParentT>)
WithShardKey(String)

Specifies a shard key with default partition kind "Hash".

(Inherited from IWithShardKey<ParentT>)
WithShardKeys(IDictionary<String,String>)

Appends all shard keys to current shard keys.

(Inherited from IWithShardKey<ParentT>)
WithThroughput(Int32)

Specifies the throughput value.

(Inherited from IWithThroughput<ReturnT>)

Applies to