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

EndpointsOperationsExtensions.UpdateAsync 方法

定义

更新流量管理器终结点。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.TrafficManager.Models.Endpoint> UpdateAsync (this Microsoft.Azure.Management.TrafficManager.IEndpointsOperations operations, string resourceGroupName, string profileName, string endpointType, string endpointName, Microsoft.Azure.Management.TrafficManager.Models.Endpoint parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.TrafficManager.IEndpointsOperations * string * string * string * string * Microsoft.Azure.Management.TrafficManager.Models.Endpoint * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.TrafficManager.Models.Endpoint>
<Extension()>
Public Function UpdateAsync (operations As IEndpointsOperations, resourceGroupName As String, profileName As String, endpointType As String, endpointName As String, parameters As Endpoint, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Endpoint)

参数

operations
IEndpointsOperations

此扩展方法的操作组。

resourceGroupName
String

包含要更新的流量管理器终结点的资源组的名称。

profileName
String

流量管理器配置文件的名称。

endpointType
String

要更新的流量管理器终结点的类型。

endpointName
String

要更新的流量管理器终结点的名称。

parameters
Endpoint

提供给更新操作的流量管理器终结点参数。

cancellationToken
CancellationToken

取消标记。

返回

适用于