Freigeben über


DnsZoneCollection.GetAllAsync Methode

Definition

Listet die DNS-Zonen innerhalb einer Ressourcengruppe auf.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones
  • Vorgangs-IdZones_ListByResourceGroup
public virtual Azure.AsyncPageable<Azure.ResourceManager.Dns.DnsZoneResource> GetAllAsync (int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Dns.DnsZoneResource>
override this.GetAllAsync : Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Dns.DnsZoneResource>
Public Overridable Function GetAllAsync (Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DnsZoneResource)

Parameter

top
Nullable<Int32>

Die maximale Anzahl der zurückzugebenden Datensatzsätze. Wenn nicht angegeben, werden bis zu 100 Datensatzsätze zurückgegeben.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

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

Gilt für: