ZonesOperations.ListByResourceGroup(String, Nullable<Int32>, CancellationToken) Method

Definition

Lists the DNS zones within a resource group.

public virtual Azure.Pageable<Azure.ResourceManager.Dns.Models.Zone> ListByResourceGroup (string resourceGroupName, int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByResourceGroup : string * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Dns.Models.Zone>
override this.ListByResourceGroup : string * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Dns.Models.Zone>
Public Overridable Function ListByResourceGroup (resourceGroupName As String, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of Zone)

Parameters

resourceGroupName
String

The name of the resource group.

top
Nullable<Int32>

The maximum number of record sets to return. If not specified, returns up to 100 record sets.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Pageable<Zone>

Exceptions

resourceGroupName is null.

Applies to