/// <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='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IPage <OutboundEnvironmentEndpoint> > ListOutboundNetworkDependenciesEndpointsNextAsync(this IBatchAccountOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListOutboundNetworkDependenciesEndpointsNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }