I have a virtual scale set in azure and I want to trigger an azure function whenever an instance is removed or added from virtual scale set. Is there any way I could do this?
Call an azure function whenever an instance is added or removed in my azure virtual scale set
379 views Asked by Akshay Jindal At
1
There are 1 answers
Related Questions in AZURE
- How to update to the latest external Git in Azure Web App?
- I need an azure product that executes my intensive ffmpeg command then dies, and i only get charged for the delta. Any Tips?
- Inject AsyncCollector into a service
- mutual tls authentication between app service and function app
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- Application settings for production deployment slot in Azure App Services
- Encountered an error (ServiceUnavailable) from host runtime on Azure Function App
- Implementing Incremental consent when using both application and delegated permissions
- Invalid format for email address in WordPress on Azure app service
- Producer Batching Service Bus Vs Kafka
- Integrating Angular External IP with ClusterIP of .NET microservices on AKS
- Difficulty creating a data pipeline with Fabric Datafactory using REST
- Azure Batch for Excel VBA
- How to authenticate only Local and Guest users in Azure AD B2C and add custom claims in token?
- Azure Scale Sets and Parallel Jobs
Related Questions in AZURE-FUNCTIONS
- Azure Function: switch from consumption to premium plan for 1 hour daily automatically?
- mutual tls authentication between app service and function app
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- Encountered an error (ServiceUnavailable) from host runtime on Azure Function App
- How to migrate from Azure Static Web Apps to Azure App Service?
- Logic Apps and long running Azure Function (Powershell)
- Not getting Information or Trace logs in Application Insights in .NET 8 function
- Azure Queue Functions | Trigger when multiple queue functions executions with a specific message property ends
- No HTTP Trigger Found In Azure function
- Python middleware for azure function warmup
- Problem deploying an Azure Function to a Function App
- Logic App Function App reading and writing Binary Files
- SwaggerUI on Azure Functions (.NET 8 Update)
- Azure Function Javascript Invocation hooks usage with HTTP triggers
- Error indexing method 'IntegrationFunction' Can't convert from type 'Microsoft.Azure.EventHubs.EventData
Related Questions in AZURE-VM-SCALE-SET
- Virtual Machine Scale Sets - Error Installing Microsoft.VisualStudio.Services.TeamServicesAgent
- Caching (?) issue with Set-AzSqlDatabase to rename a database
- Terminate Azure Agent of Scale Set after a period of time
- How can a virtual machine scale set agent run interactive UI tests in an elevated process?
- How can I set the logged in user of a virtual machine scale set agent?
- How to query Azure VMSS instances computer name for flexible orchestration
- Azure VM Scale Set : how to allocate, run program, deallocate reliably?
- Java Azure SDK scaleset: how to specify image version
- Azure Self-Hosted VMss Failing on Zip Operation
- How to deploy an application into Azure VMSS using Azure DevOps CI/CD pipelines?
- JMESPath Query to get the deallocated InstanceId of the oldest provisioned Azure VMSS
- How to trigger an azure function based on scale in or scale out events in vmss
- terraform custom script on Azure VM scale set failing with managed identity
- [Azure]ScaleSet Ubuntu 22.04 Server with GUI - Gen2 ERROR purchased
- How to configure VMSS Azure DevOps agent VMs to run interactive tests without using new un-elevated account with auto-login?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Oh yes, this is possible via Webhooks. Webhooks allow you to route the Azure alert notifications to other systems for post-processing or custom notifications. It's just that the webhook URI must be a valid HTTP or HTTPS endpoint, which in this case could be an Azure Function with a HTTP Trigger.
For newer Virtual Machines created with Resource Manager (Virtual Machine scale sets), you can configure notifications for your scale set's autoscale actions using the Azure Portal, REST API, Resource Manager templates, PowerShell, and CLI.
When using the REST API or Resource Manager template, include the notifications element in your autoscalesettings with the following options:
where you can configure the serviceUri property with your Function App's endpoint.
The webhook can authenticate using token-based authentication, and includes some metadata in the payload that can be used in further processing.