Azure Network Load Balancer task
Azure DevOps Services
Use this task to connect or disconnect an Azure virtual machine's network interface to a load balancer's address pool.
YAML snippet
# Azure Network Load Balancer
# Connect or disconnect an Azure virtual machine's network interface to a Load Balancer's back end address pool
- task: AzureNLBManagement@1
inputs:
azureSubscription:
resourceGroupName:
loadBalancer:
action: # Options: disconnect, connect
Arguments
| Argument | Description |
|---|---|
ConnectedServiceNameAzure Subscription |
(Required) Select the Azure Resource Manager subscription for the deployment Argument aliases: azureSubscription |
ResourceGroupNameResource Group |
(Required) Select the resource group name |
LoadBalancerLoad Balancer Name |
(Required) Select or enter the load balancer |
ActionAction |
(Required) Disconnect: Removes the virtual machine’s primary network interface from the load balancer’s backend pool. So that it stops receiving network traffic. Connect: Adds the virtual machine’s primary network interface to load balancer backend pool. So that it starts receiving network traffic based on the load balancing rules for the load balancer resource |
Open source
This task is open source on GitHub. Feedback and contributions are welcome.
Maklum balas
Kirim dan lihat maklum balas untuk