skip to Main Content

Disable/Enable Azure functions based on regions

I have a .net Azure function project which includes multiple functions such as EventGridTrigger function, BlobTrigger function etc. Few trigger functions in the project needs to be enabled only for specific regions. Is it possible to enable/disable trigger functions based…

VIEW QUESTION

Azure Function V4 Dotnet Isolated unable to connect to cosmos db

I am following some tutorial to connect Azure Function to Cosmosdb like this (the tutorial is for a V3 in-process azure function) [CosmosDBTrigger(databaseName: "Test", collectionName: "collection1", ConnectionStringSetting = "ConnectionString", LeaseCollectionName = "lease", LeaseCollectionPrefix = "UpdateLocation-", CreateLeaseCollectionIfNotExists = true)] However, with…

VIEW QUESTION

Why I am not seeing all properties available in local.settings.json file after deploying Azure function

I created an Azure function using Visual Studio. Local.setting.json file had following properties: { "IsEncrypted": false, "Values": { "AzureWebJobsStorage": "UseDevelopmentStorage=true", "FUNCTIONS_WORKER_RUNTIME": "dotnet", "ServiceBusConnString": "Endpoint=sb://sb-new-two.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=9FygKPHH2eJVp3GmAiUxtT7sGnddsaddadNIrciM0=", "Test": "sb-new-two.servicebus.windows.net" } } This is how my function looks: [FunctionName("Function1")] public void Run([ServiceBusTrigger("topic-one", "sub-one", Connection…

VIEW QUESTION
Back To Top
Search