Share via


BatchPrivateLinkResourceCollection.GetAllAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateLinkResources
  • Operation Id: PrivateLinkResource_ListByBatchAccount
  • Default Api Version: 2024-07-01
  • Resource: BatchPrivateLinkResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Batch.BatchPrivateLinkResource> GetAllAsync (int? maxresults = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Batch.BatchPrivateLinkResource>
override this.GetAllAsync : Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Batch.BatchPrivateLinkResource>
Public Overridable Function GetAllAsync (Optional maxresults As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BatchPrivateLinkResource)

Parameters

maxresults
Nullable<Int32>

The maximum number of items to return in the response.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of BatchPrivateLinkResource that may take multiple service requests to iterate over.

Applies to