Share via


PrivateLinkResourceOperationsExtensions.ListByBatchAccountAsync Method

Definition

Lists all of the private link resources in the specified account.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.PrivateLinkResource>> ListByBatchAccountAsync (this Microsoft.Azure.Management.Batch.IPrivateLinkResourceOperations operations, string resourceGroupName, string accountName, int? maxresults = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByBatchAccountAsync : Microsoft.Azure.Management.Batch.IPrivateLinkResourceOperations * string * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.PrivateLinkResource>>
<Extension()>
Public Function ListByBatchAccountAsync (operations As IPrivateLinkResourceOperations, resourceGroupName As String, accountName As String, Optional maxresults As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of PrivateLinkResource))

Parameters

operations
IPrivateLinkResourceOperations

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.

maxresults
Nullable<Int32>

The maximum number of items to return in the response.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to