你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LoadBalancerResource.MigrateToIPBasedAsync 方法

定义

将负载均衡器迁移到基于 IP

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/migrateToIpBased
  • 操作IdLoadBalancers_MigrateToIpBased
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.MigrateLoadBalancerToIPBasedResult>> MigrateToIPBasedAsync (Azure.ResourceManager.Network.Models.MigrateLoadBalancerToIPBasedContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member MigrateToIPBasedAsync : Azure.ResourceManager.Network.Models.MigrateLoadBalancerToIPBasedContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.MigrateLoadBalancerToIPBasedResult>>
override this.MigrateToIPBasedAsync : Azure.ResourceManager.Network.Models.MigrateLoadBalancerToIPBasedContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.MigrateLoadBalancerToIPBasedResult>>
Public Overridable Function MigrateToIPBasedAsync (Optional content As MigrateLoadBalancerToIPBasedContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MigrateLoadBalancerToIPBasedResult))

参数

content
MigrateLoadBalancerToIPBasedContent

提供给 migrateToIpBased Api 的参数。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于