feat(azure): implement Load Balancer, DNS, NAT Gateway and Application Gateway operations#78
Open
hariram4862 wants to merge 7 commits intoc2siorg:mainfrom
Open
Conversation
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 existing Azure VM and networking implementation (#48), the VM Scale Set implementation (#50), the Azure Container Instances implementation (#52), the Azure Kubernetes Service implementation (#57), and the Azure Functions implementation (#60).
Once those PRs are merged, this PR will only contain the additional Azure networking services changes.
Closes #77
Summary
This PR adds support for additional Azure networking services in RustCloud.
The implementation extends RustCloud's Azure networking capabilities by adding support for Azure Load Balancer, DNS, NAT Gateway, and Application Gateway alongside the existing Virtual Network, Subnet, Network Interface, and Public IP implementations.
Implemented Services
Implemented Operations
Load Balancer Operations
DNS Operations
NAT Gateway Operations
Application Gateway Operations
Methodology
Azure networking resources 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
Load Balancer Operations
DNS Operations
NAT Gateway Operations
Application Gateway Operations
Notes
Tests assume the Azure account has sufficient permissions to create and manage Azure networking resources.