소스 검색

CosmosDBTrigger追加LeaseCollectionPrefix屬性

jeff 4 년 전
부모
커밋
aa0da9fd72
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      TEAMModelFunction/MonitorCosmosDB.cs

+ 2 - 1
TEAMModelFunction/MonitorCosmosDB.cs

@@ -40,7 +40,8 @@ namespace TEAMModelFunction
             databaseName: "TEAMModelOS",
             collectionName: "Common",
             ConnectionStringSetting = "Azure:Cosmos:ConnectionString",
-            LeaseCollectionName = "leases")]IReadOnlyList<Document> inputs, ILogger log)
+            LeaseCollectionName = "leases",
+            LeaseCollectionPrefix = "TEAMModelOS")]IReadOnlyList<Document> inputs, ILogger log)
         {
             if (inputs != null && inputs.Count > 0)
             {