Bagikan melalui


BatchAccountOperationsExtensions.ListOutboundNetworkDependenciesEndpointsAsync 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.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.OutboundEnvironmentEndpoint>> ListOutboundNetworkDependenciesEndpointsAsync (this Microsoft.Azure.Management.Batch.IBatchAccountOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default);
static member ListOutboundNetworkDependenciesEndpointsAsync : Microsoft.Azure.Management.Batch.IBatchAccountOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.OutboundEnvironmentEndpoint>>
<Extension()>
Public Function ListOutboundNetworkDependenciesEndpointsAsync (operations As IBatchAccountOperations, resourceGroupName As String, accountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of OutboundEnvironmentEndpoint))

Parameters

operations
IBatchAccountOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the Batch account.

accountName
String

The name of the Batch account.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to