다음을 통해 공유


LoadBalancersOperationsExtensions.BeginSwapPublicIpAddressesAsync Method

Definition

Swaps VIPs between two load balancers.

public static System.Threading.Tasks.Task BeginSwapPublicIpAddressesAsync (this Microsoft.Azure.Management.Network.ILoadBalancersOperations operations, string location, Microsoft.Azure.Management.Network.Models.LoadBalancerVipSwapRequest parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginSwapPublicIpAddressesAsync : Microsoft.Azure.Management.Network.ILoadBalancersOperations * string * Microsoft.Azure.Management.Network.Models.LoadBalancerVipSwapRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginSwapPublicIpAddressesAsync (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