Freigeben über


BatchPrivateLinkResourceCollection.GetAllAsync Methode

Definition

Listet alle Private Link-Ressourcen im angegebenen Konto auf.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateLinkResources
  • Vorgangs-IdPrivateLinkResource_ListByBatchAccount
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)

Parameter

maxresults
Nullable<Int32>

Die maximale Anzahl von Elementen, die in der Antwort zurückgegeben werden sollen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Auflistung von BatchPrivateLinkResource , die mehrere Dienstanforderungen durchlaufen kann.

Gilt für: