共用方式為


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()

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

abstract AaaaRecordSets aaaaRecordSets()

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

abstract ZoneType accessType()

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

abstract CnameRecordSets cNameRecordSets()

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

abstract CaaRecordSets caaRecordSets()

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

abstract String etag()

Gets the etag associated with this zone.

abstract SoaRecordSet getSoaRecordSet()

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

abstract PagedIterable<DnsRecordSet> listRecordSets()

Gets the record sets in this zone.

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()

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

abstract MxRecordSets mxRecordSets()

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

abstract List<String> nameServers()

Gets name servers assigned for this zone.

abstract NsRecordSets nsRecordSets()

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

abstract long numberOfRecordSets()

Gets the current number of record sets in this zone.

abstract PtrRecordSets ptrRecordSets()

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

abstract List<String> registrationVirtualNetworkIds()

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

abstract List<String> resolutionVirtualNetworkIds()

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

abstract SrvRecordSets srvRecordSets()

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

abstract TxtRecordSets txtRecordSets()

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

Method Details

aRecordSets

public abstract ARecordSets aRecordSets()

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

Returns:

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

aaaaRecordSets

public abstract AaaaRecordSets aaaaRecordSets()

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

Returns:

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

accessType

public abstract ZoneType accessType()

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

Returns:

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

cNameRecordSets

public abstract CnameRecordSets cNameRecordSets()

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

Returns:

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

caaRecordSets

public abstract CaaRecordSets caaRecordSets()

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

Returns:

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

etag

public abstract String etag()

Gets the etag associated with this zone.

Returns:

the etag associated with this zone.

getSoaRecordSet

public abstract SoaRecordSet getSoaRecordSet()

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

Returns:

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

listRecordSets

public abstract PagedIterable listRecordSets()

Gets the record sets in this zone.

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()

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

Returns:

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

mxRecordSets

public abstract MxRecordSets mxRecordSets()

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

Returns:

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

nameServers

public abstract List nameServers()

Gets name servers assigned for this zone.

Returns:

name servers assigned for this zone.

nsRecordSets

public abstract NsRecordSets nsRecordSets()

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

Returns:

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

numberOfRecordSets

public abstract long numberOfRecordSets()

Gets the current number of record sets in this zone.

Returns:

the current number of record sets in this zone.

ptrRecordSets

public abstract PtrRecordSets ptrRecordSets()

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

Returns:

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

registrationVirtualNetworkIds

public abstract List registrationVirtualNetworkIds()

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

Returns:

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

resolutionVirtualNetworkIds

public abstract List resolutionVirtualNetworkIds()

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

Returns:

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

srvRecordSets

public abstract SrvRecordSets srvRecordSets()

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

Returns:

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

txtRecordSets

public abstract TxtRecordSets txtRecordSets()

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

Returns:

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

Applies to