Aracılığıyla paylaş


LoadBalancersOperationsExtensions.SwapPublicIpAddressesAsync Method

Definition

Swaps VIPs between two load balancers.

public static System.Threading.Tasks.Task SwapPublicIpAddressesAsync (this Microsoft.Azure.Management.Network.ILoadBalancersOperations operations, string location, Microsoft.Azure.Management.Network.Models.LoadBalancerVipSwapRequest parameters, System.Threading.CancellationToken cancellationToken = default);
static member SwapPublicIpAddressesAsync : Microsoft.Azure.Management.Network.ILoadBalancersOperations * string * Microsoft.Azure.Management.Network.Models.LoadBalancerVipSwapRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function SwapPublicIpAddressesAsync (operations As ILoadBalancersOperations, location As String, parameters As LoadBalancerVipSwapRequest, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
ILoadBalancersOperations

The operations group for this extension method.

location
String

The region where load balancers are located at.

parameters
LoadBalancerVipSwapRequest

Parameters that define which VIPs should be swapped.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to