/// <summary>
 /// 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.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group that contains the Batch account.
 /// </param>
 /// <param name='accountName'>
 /// The name of the Batch account.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <OutboundEnvironmentEndpoint> > ListOutboundNetworkDependenciesEndpointsAsync(this IBatchAccountOperations operations, string resourceGroupName, string accountName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListOutboundNetworkDependenciesEndpointsWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }