/// <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> public static IPage <OutboundEnvironmentEndpoint> ListOutboundNetworkDependenciesEndpoints(this IBatchAccountOperations operations, string resourceGroupName, string accountName) { return(operations.ListOutboundNetworkDependenciesEndpointsAsync(resourceGroupName, accountName).GetAwaiter().GetResult()); }