DnsZone Interface

public interface DnsZone extends GroupableResource<DnsZoneManager, ZoneInner>,Refreshable,Updatable<DnsZone.Update>

An immutable client-side representation of an Azure DNS Zone.

Method Summary

Modifier and Type Method and Description
AaaaRecordSets aaaaRecordSets()
ARecordSets aRecordSets()
CNameRecordSets cNameRecordSets()
String eTag()
SoaRecordSet getSoaRecordSet()
PagedList<DnsRecordSet> listRecordSets()
PagedList<DnsRecordSet> listRecordSets(int pageSize)

Lists all the record sets in this zone with each entries in each page limited to the given size.

PagedList<DnsRecordSet> listRecordSets(String recordSetNameSuffix)

Lists all the record sets in this zone with the given suffix.

PagedList<DnsRecordSet> listRecordSets(String recordSetNameSuffix, int pageSize)

Lists all the record sets in this zone with the given suffix, also limits the number of entries per page to the given page size.

long maxNumberOfRecordSets()
MXRecordSets mxRecordSets()
List<String> nameServers()
NSRecordSets nsRecordSets()
long numberOfRecordSets()
PtrRecordSets ptrRecordSets()
SrvRecordSets srvRecordSets()
TxtRecordSets txtRecordSets()

Inherited Members

Method Details

aaaaRecordSets

public AaaaRecordSets aaaaRecordSets()

Returns:

entry point to manage record sets in this zone containing AAAA (IPv6 address) records

aRecordSets

public ARecordSets aRecordSets()

Returns:

entry point to manage record sets in this zone containing A (IPv4 address) records

cNameRecordSets

public CNameRecordSets cNameRecordSets()

Returns:

entry point to manage record sets in this zone containing CNAME (canonical name) records

eTag

public String eTag()

Returns:

the etag associated with this zone.

getSoaRecordSet

public SoaRecordSet getSoaRecordSet()

Returns:

the record set containing SOA (start of authority) record associated with this DNS zone

listRecordSets

public PagedList listRecordSets()

Returns:

the record sets in this zone.

listRecordSets

public PagedList listRecordSets(int pageSize)

Lists all the record sets in this zone with each entries in each page limited to the given size.

Parameters:

pageSize - the maximum number of record sets in a page

Returns:

the record sets

listRecordSets

public PagedList listRecordSets(String recordSetNameSuffix)

Lists all the record sets in this zone with the given suffix.

Parameters:

recordSetNameSuffix - the record set name suffix

Returns:

the record sets

listRecordSets

public PagedList listRecordSets(String recordSetNameSuffix, int pageSize)

Lists all the record sets in this zone with the given suffix, also limits the number of entries per page to the given page size.

Parameters:

recordSetNameSuffix - the record set name suffix
pageSize - the maximum number of record sets in a page

Returns:

the record sets

maxNumberOfRecordSets

public long maxNumberOfRecordSets()

Returns:

the maximum number of record sets that can be created in this zone.

mxRecordSets

public MXRecordSets mxRecordSets()

Returns:

entry point to manage record sets in this zone containing MX (mail exchange) records

nameServers

public List nameServers()

Returns:

name servers assigned for this zone.

nsRecordSets

public NSRecordSets nsRecordSets()

Returns:

entry point to manage record sets in this zone containing NS (name server) records

numberOfRecordSets

public long numberOfRecordSets()

Returns:

the current number of record sets in this zone.

ptrRecordSets

public PtrRecordSets ptrRecordSets()

Returns:

entry point to manage record sets in this zone containing PTR (pointer) records

srvRecordSets

public SrvRecordSets srvRecordSets()

Returns:

entry point to manage record sets in this zone containing SRV (service) records

txtRecordSets

public TxtRecordSets txtRecordSets()

Returns:

entry point to manage record sets in this zone containing TXT (text) records

Applies to