다음을 통해 공유


VipSwapOperationsExtensions.CreateAsync Method

Definition

Performs vip swap operation on swappable cloud services.

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

Parameters

operations
IVipSwapOperations

The operations group for this extension method.

groupName
String

The name of the resource group.

resourceName
String

The name of the cloud service.

parameters
SwapResource

SwapResource object where slot type should be the target slot after vip swap for the specified cloud service.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to