Compartilhar via


BatchAccountResource.GetOutboundNetworkDependenciesEndpointsAsync Method

Definition

Lists the endpoints that a Batch Compute Node under this Batch Account may call as part of Batch service administration. If you are deploying a Pool inside of a virtual network that you specify, you must make sure your network allows outbound access to these endpoints. Failure to allow access to these endpoints may cause Batch to mark the affected nodes as unusable. For more information about creating a pool inside of a virtual network, see https://docs.microsoft.com/en-us/azure/batch/batch-virtual-network.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/outboundNetworkDependenciesEndpoints
  • Operation Id: BatchAccount_ListOutboundNetworkDependenciesEndpoints
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountResource
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)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of BatchAccountOutboundEnvironmentEndpoint that may take multiple service requests to iterate over.

Applies to