VipSwapOperationsExtensions.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin