Dela via


AzureNLBManagement@1 - Azure Network Load Balancer v1 task

Use this task to connect or disconnect an Azure virtual machine's network interface to a load balancer's back-end address pool.

Inputs

azureSubscription - Azure Subscription
Input alias: ConnectedServiceName. string. Required.

Specifies the Azure Resource Manager subscription for the deployment.


ResourceGroupName - Resource Group
string. Required.

Specifies the resource group name.


LoadBalancer - Load Balancer Name
string. Required.

Specifies or enters the load balancer's name.


Action - Action
string. Required. Allowed values: Disconnect (Disconnect Primary Network Interface), Connect (Connect Primary Network Interface).

The action you'd like to perform.

Disconnect: Removes the virtual machine’s primary network interface from the load balancer’s back-end pool so it stops receiving network traffic.

Connect: Adds the virtual machine’s primary network interface to load balancer back-end pool so it starts receiving network traffic based on the load balancing rules for the load balancer resource.


Task control options

All tasks have control options in addition to their task inputs. For more information, see Control options and common task properties.

Output variables

None.

Remarks

Use this task to connect or disconnect an Azure virtual machine's network interface to a load balancer's address pool.

Requirements

Requirement Description
Pipeline types YAML, Classic build, Classic release
Runs on DeploymentGroup
Demands None
Capabilities This task does not satisfy any demands for subsequent tasks in the job.
Command restrictions Any
Settable variables Any
Agent version 1.95.0 or greater
Task category Utility