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

BatchAccountResource.GetOutboundNetworkDependenciesEndpointsAsync 方法

定义

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

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/outboundNetworkDependenciesEndpoints
  • 操作IdBatchAccount_ListOutboundNetworkDependenciesEndpoints
public virtual Azure.AsyncPageable<Azure.ResourceManager.Batch.Models.BatchAccountOutboundEnvironmentEndpoint> GetOutboundNetworkDependenciesEndpointsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetOutboundNetworkDependenciesEndpointsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Batch.Models.BatchAccountOutboundEnvironmentEndpoint>
override this.GetOutboundNetworkDependenciesEndpointsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Batch.Models.BatchAccountOutboundEnvironmentEndpoint>
Public Overridable Function GetOutboundNetworkDependenciesEndpointsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BatchAccountOutboundEnvironmentEndpoint)

参数

cancellationToken
CancellationToken

要使用的取消标记。

返回

的异步集合 BatchAccountOutboundEnvironmentEndpoint ,可能需要多个服务请求进行迭代。

适用于