1
작동하지 않는 것
물방울 입력 트리거를 두 매개 변수를 사용자 지정 형식 (내 경우 F # 레코드). 다음과 같은 오류를 제공 바인딩 블로그에 대한 트리거 잘 작동 바인딩,하지만 다음은
내 푸른 함수는 두 개의 입력 매개 변수가 있습니다입력 방울
- 이벤트 허브 내가 바인딩에 노력하고
바인딩
Microsoft.Azure.WebJobs.Host: Error indexing method 'Functions.MailboxFanOut'.
Microsoft.Azure.WebJobs.Host: Can't bind Blob to type 'Run+CustomerName'.
하면 코드 : 도움이되지 않는 클래스와 F 번호 기록을 교체
[<CLIMutable>]
type CustomerName = {
UserName: string
}
let Run(item: CustomerName, userNames: CustomerName, log: TraceWriter) =
log.Verbose("F# function executing")
.. .
{
"bindings": [
{
"type": "eventHubTrigger",
"name": "item",
"direction": "in",
"path": "blabla",
"connection": "eventhubs",
"consumerGroup": "$Default"
},
{
"type": "blob",
"name": "userNames",
"path": "tada/123",
"connection": "foo",
"direction": "in"
}
],
"disabled": false
}
아, 고맙습니다. 문서에서 지원 여부를 확인합니다. https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob P.S. github 문제의 "SO 질문"링크가 깨졌습니다. 자체를 가리키고 있습니다 – Mikhail
그래, 그 문서 버그도 기록했습니다 :) https://github.com/Azure/Azure-Functions/issues/180. 우리는 그것을 고정시킬거야 :) – mathewc
더 나은 SDK를 수정;) – Mikhail