Interface IStorageFunctionBuilder
An interface that allows for the configuration of Azure Storage triggered functions
Namespace: FunctionMonkey.Abstractions.Builders
Assembly: FunctionMonkey.Abstractions.dll
Syntax
public interface IStorageFunctionBuilder
Methods
| Improve this Doc View SourceBlobFunction<TCommand>(String)
Creates a function for a blob trigger
Declaration
IStorageFunctionOptionBuilder<TCommand> BlobFunction<TCommand>(string blobPath)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | blobPath | Container and optional pattern for the blob |
Returns
| Type | Description |
|---|---|
| IStorageFunctionOptionBuilder<TCommand> | Builder for use in a fluent API |
Type Parameters
| Name | Description |
|---|---|
| TCommand | The type of the command. If the command implements IStreamCommand then it will be passed the blob as an open stream - otherwise the blob will be deserialized into the command |
QueueFunction<TCommand>(String)
Creates a function for a storage queue
Declaration
IStorageFunctionOptionBuilder<TCommand> QueueFunction<TCommand>(string queueName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | queueName | The name of the queue |
Returns
| Type | Description |
|---|---|
| IStorageFunctionOptionBuilder<TCommand> | Builder for use in a fluent API |
Type Parameters
| Name | Description |
|---|---|
| TCommand | The type of command |