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

BatchAccountOperationsExtensions.ListOutboundNetworkDependenciesEndpointsAsync 方法

定义

列出此 Batch 帐户下的 Batch 计算节点作为 Batch 服务管理的一部分可以调用的终结点。 如果要在指定的虚拟网络中部署池,则必须确保网络允许对这些终结点进行出站访问。 未能允许访问这些终结点可能会导致 Batch 将受影响的节点标记为不可用。 有关在虚拟网络中创建池的详细信息,请参阅 https://docs.microsoft.com/en-us/azure/batch/batch-virtual-network

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.OutboundEnvironmentEndpoint>> ListOutboundNetworkDependenciesEndpointsAsync (this Microsoft.Azure.Management.Batch.IBatchAccountOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default);
static member ListOutboundNetworkDependenciesEndpointsAsync : Microsoft.Azure.Management.Batch.IBatchAccountOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.OutboundEnvironmentEndpoint>>
<Extension()>
Public Function ListOutboundNetworkDependenciesEndpointsAsync (operations As IBatchAccountOperations, resourceGroupName As String, accountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of OutboundEnvironmentEndpoint))

参数

operations
IBatchAccountOperations

此扩展方法的操作组。

resourceGroupName
String

包含 Batch 帐户的资源组的名称。

accountName
String

Batch 帐户的名称。

cancellationToken
CancellationToken

取消标记。

返回

适用于