다음을 통해 공유


DnsZone Interface

Implements

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

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

Method Summary

Modifier and Type Method and Description
abstract ARecordSets aRecordSets()
abstract AaaaRecordSets aaaaRecordSets()
abstract ZoneType accessType()
abstract CnameRecordSets cNameRecordSets()
abstract CaaRecordSets caaRecordSets()
abstract String etag()
abstract SoaRecordSet getSoaRecordSet()
abstract PagedIterable<DnsRecordSet> listRecordSets()
abstract PagedIterable<DnsRecordSet> listRecordSets(int pageSize)

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

abstract PagedIterable<DnsRecordSet> listRecordSets(String recordSetNameSuffix)

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

abstract PagedIterable<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.

abstract long maxNumberOfRecordSets()
abstract MxRecordSets mxRecordSets()
abstract List<String> nameServers()
abstract NsRecordSets nsRecordSets()
abstract long numberOfRecordSets()
abstract PtrRecordSets ptrRecordSets()
abstract List<String> registrationVirtualNetworkIds()
abstract List<String> resolutionVirtualNetworkIds()
abstract SrvRecordSets srvRecordSets()
abstract TxtRecordSets txtRecordSets()

Method Details

aRecordSets

public abstract ARecordSets aRecordSets()

Returns:

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

aaaaRecordSets

public abstract AaaaRecordSets aaaaRecordSets()

Returns:

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

accessType

public abstract ZoneType accessType()

Returns:

the access type of this zone (Private or Public).

cNameRecordSets

public abstract CnameRecordSets cNameRecordSets()

Returns:

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

caaRecordSets

public abstract CaaRecordSets caaRecordSets()

Returns:

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

etag

public abstract String etag()

Returns:

the etag associated with this zone.

getSoaRecordSet

public abstract SoaRecordSet getSoaRecordSet()

Returns:

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

listRecordSets

public abstract PagedIterable listRecordSets()

Returns:

the record sets in this zone.

listRecordSets

public abstract PagedIterable 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 abstract PagedIterable 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 abstract PagedIterable 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 abstract long maxNumberOfRecordSets()

Returns:

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

mxRecordSets

public abstract MxRecordSets mxRecordSets()

Returns:

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

nameServers

public abstract List nameServers()

Returns:

name servers assigned for this zone.

nsRecordSets

public abstract NsRecordSets nsRecordSets()

Returns:

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

numberOfRecordSets

public abstract long numberOfRecordSets()

Returns:

the current number of record sets in this zone.

ptrRecordSets

public abstract PtrRecordSets ptrRecordSets()

Returns:

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

registrationVirtualNetworkIds

public abstract List registrationVirtualNetworkIds()

Returns:

a list of references to virtual networks that register hostnames in this DNS zone for Private DNS zone.

resolutionVirtualNetworkIds

public abstract List resolutionVirtualNetworkIds()

Returns:

a list of references to virtual networks that resolve records in this DNS zone for Private DNS zone.

srvRecordSets

public abstract SrvRecordSets srvRecordSets()

Returns:

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

txtRecordSets

public abstract TxtRecordSets txtRecordSets()

Returns:

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

Applies to