Class CosmosDbFunctionOptionBuilder<TCommandOuter>
Inheritance
System.Object
CosmosDbFunctionOptionBuilder<TCommandOuter>
Assembly: FunctionMonkey.dll
Syntax
public class CosmosDbFunctionOptionBuilder<TCommandOuter> : object, ICosmosDbFunctionOptionBuilder<TCommandOuter>, ICosmosDbFunctionBuilder, IFunctionOptions<ICosmosDbFunctionOptionBuilder<TCommandOuter>, IFunctionOptionsBuilder>
Type Parameters
Name |
Description |
TCommandOuter |
|
Constructors
|
Improve this Doc
View Source
CosmosDbFunctionOptionBuilder(ConnectionStringSettingNames, ICosmosDbFunctionBuilder, CosmosDbFunctionDefinition)
Declaration
public CosmosDbFunctionOptionBuilder(ConnectionStringSettingNames connectionStringSettingNames, ICosmosDbFunctionBuilder underlyingBuilder, CosmosDbFunctionDefinition functionDefinition)
Parameters
Properties
|
Improve this Doc
View Source
OutputTo
Declaration
public IOutputBindingBuilder<ICosmosDbFunctionOptionBuilder<TCommandOuter>> OutputTo { get; }
Property Value
Methods
|
Improve this Doc
View Source
ChangeFeedFunction<TCommand>(String, String, String, String, Boolean, Boolean, Boolean, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Boolean, String)
Declaration
public ICosmosDbFunctionOptionBuilder<TCommand> ChangeFeedFunction<TCommand>(string collectionName, string databaseName, string leaseCollectionName = "leases", string leaseDatabaseName = null, bool createLeaseCollectionIfNotExists = false, bool startFromBeginning = false, bool convertToPascalCase = false, string leaseCollectionPrefix = null, int? maxItemsPerInvocation = null, int? feedPollDelay = null, int? leaseAcquireInterval = null, int? leaseExpirationInterval = null, int? leaseRenewInterval = null, int? checkpointFrequency = null, int? leasesCollectionThroughput = null, bool trackRemainingWork = true, string remainingWorkCronExpression = "*/1 * * * * *")
Parameters
Type |
Name |
Description |
System.String |
collectionName |
|
System.String |
databaseName |
|
System.String |
leaseCollectionName |
|
System.String |
leaseDatabaseName |
|
System.Boolean |
createLeaseCollectionIfNotExists |
|
System.Boolean |
startFromBeginning |
|
System.Boolean |
convertToPascalCase |
|
System.String |
leaseCollectionPrefix |
|
System.Nullable<System.Int32> |
maxItemsPerInvocation |
|
System.Nullable<System.Int32> |
feedPollDelay |
|
System.Nullable<System.Int32> |
leaseAcquireInterval |
|
System.Nullable<System.Int32> |
leaseExpirationInterval |
|
System.Nullable<System.Int32> |
leaseRenewInterval |
|
System.Nullable<System.Int32> |
checkpointFrequency |
|
System.Nullable<System.Int32> |
leasesCollectionThroughput |
|
System.Boolean |
trackRemainingWork |
|
System.String |
remainingWorkCronExpression |
|
Returns
Type Parameters
Name |
Description |
TCommand |
|
|
Improve this Doc
View Source
ChangeFeedFunction<TCommand, TCosmosDbErrorHandler>(String, String, String, String, Boolean, Boolean, Boolean, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Boolean, String)
Declaration
public ICosmosDbFunctionOptionBuilder<TCommand> ChangeFeedFunction<TCommand, TCosmosDbErrorHandler>(string collectionName, string databaseName, string leaseCollectionName = "leases", string leaseDatabaseName = null, bool createLeaseCollectionIfNotExists = false, bool startFromBeginning = false, bool convertToPascalCase = false, string leaseCollectionPrefix = null, int? maxItemsPerInvocation = null, int? feedPollDelay = null, int? leaseAcquireInterval = null, int? leaseExpirationInterval = null, int? leaseRenewInterval = null, int? checkpointFrequency = null, int? leasesCollectionThroughput = null, bool trackRemainingWork = true, string remainingWorkCronExpression = "*/1 * * * * *")
where TCosmosDbErrorHandler : ICosmosDbErrorHandler
Parameters
Type |
Name |
Description |
System.String |
collectionName |
|
System.String |
databaseName |
|
System.String |
leaseCollectionName |
|
System.String |
leaseDatabaseName |
|
System.Boolean |
createLeaseCollectionIfNotExists |
|
System.Boolean |
startFromBeginning |
|
System.Boolean |
convertToPascalCase |
|
System.String |
leaseCollectionPrefix |
|
System.Nullable<System.Int32> |
maxItemsPerInvocation |
|
System.Nullable<System.Int32> |
feedPollDelay |
|
System.Nullable<System.Int32> |
leaseAcquireInterval |
|
System.Nullable<System.Int32> |
leaseExpirationInterval |
|
System.Nullable<System.Int32> |
leaseRenewInterval |
|
System.Nullable<System.Int32> |
checkpointFrequency |
|
System.Nullable<System.Int32> |
leasesCollectionThroughput |
|
System.Boolean |
trackRemainingWork |
|
System.String |
remainingWorkCronExpression |
|
Returns
Type Parameters
Name |
Description |
TCommand |
|
TCosmosDbErrorHandler |
|
|
Improve this Doc
View Source
Options(Action<IFunctionOptionsBuilder>)
Declaration
public ICosmosDbFunctionOptionBuilder<TCommandOuter> Options(Action<IFunctionOptionsBuilder> options)
Parameters
Returns
|
Improve this Doc
View Source
OutputBindingConverter<TConverter>()
Declaration
public ICosmosDbFunctionOptionBuilder<TCommandOuter> OutputBindingConverter<TConverter>()
where TConverter : IOutputBindingConverter
Returns
Type Parameters
Name |
Description |
TConverter |
|
Implements
Extension Methods