feat(azure): implement Azure Functions operations#60
Open
hariram4862 wants to merge 5 commits intoc2siorg:mainfrom
Open
feat(azure): implement Azure Functions operations#60hariram4862 wants to merge 5 commits intoc2siorg:mainfrom
hariram4862 wants to merge 5 commits intoc2siorg:mainfrom
Conversation
This was referenced Mar 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note: This PR builds on top of the Azure networking and VM implementation (#48), the VM Scale Set implementation (#50), the Azure Container Instances implementation (#52), and the Azure Kubernetes Service implementation (#57).
Once those PRs are merged, this PR will only contain the Azure Functions changes.
Closes #59
Summary
This PR adds support for Azure Functions in RustCloud.
Azure Functions allows users to run event-driven serverless code without managing infrastructure. This feature extends RustCloud's Azure compute capabilities by enabling serverless function management alongside existing Azure Virtual Machine, VM Scale Set, Container Instance, and Kubernetes support.
Implemented Services
Implemented Operations
Function App Operations
Function Operations
Methodology
Azure Function Apps are managed using the Azure REST API.
Authentication is handled using Azure CLI, where access tokens are retrieved from the Azure CLI session and used to authorize requests to Azure resource management APIs.
Before running tests, login using Azure CLI:
Set the subscription ID as an environment variable.
Linux/macOS:
Windows PowerShell:
Running Tests
Function App Operations
Function Operations
cargo test test_list_functions_in_app -- --nocaptureNotes
Tests assume the Azure account has sufficient permissions to create resources.