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

NetworkExtensions.GetAvailableEndpointServices 方法

定义

列出哪些终结点服务的值可供使用。

  • 请求路径/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices
  • 操作IdAvailableEndpointServices_List
public static Azure.Pageable<Azure.ResourceManager.Network.Models.EndpointServiceResult> GetAvailableEndpointServices (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetAvailableEndpointServices : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.Models.EndpointServiceResult>
<Extension()>
Public Function GetAvailableEndpointServices (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of EndpointServiceResult)

参数

subscriptionResource
SubscriptionResource

方法 SubscriptionResource 将对其执行的实例。

location
AzureLocation

要检查可用终结点服务的位置。

cancellationToken
CancellationToken

要使用的取消标记。

返回

的集合 EndpointServiceResult ,可能需要多个服务请求才能循环访问。

适用于