Interface DnsZone
- All Superinterfaces:
GroupableResource<DnsZoneManager,,ZoneInner> HasId,HasInnerModel<ZoneInner>,HasManager<DnsZoneManager>,HasName,HasResourceGroup,Indexable,Refreshable<DnsZone>,Resource,Updatable<DnsZone.Update>
public interface DnsZone
extends GroupableResource<DnsZoneManager,ZoneInner>, Refreshable<DnsZone>, Updatable<DnsZone.Update>
An immutable client-side representation of an Azure DNS Zone.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the DNS zone definition.static interfaceGrouping of DNS zone definition stages.static interfaceThe template for an update operation, containing all the settings that can be modified.static interfaceGrouping of DNS zone update stages.Nested classes/interfaces inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T> -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets entry point to manage record sets in this zone containing AAAA (IPv6 address) records.Gets the access type of this zone (Private or Public).Gets entry point to manage record sets in this zone containing A (IPv4 address) records.Gets entry point to manage record sets in this zone containing Caa (canonical name) records.Gets entry point to manage record sets in this zone containing CNAME (canonical name) records.etag()Gets the etag associated with this zone.Gets the record set containing SOA (start of authority) record associated with this DNS zone.com.azure.core.http.rest.PagedIterable<DnsRecordSet> Gets the record sets in this zone.com.azure.core.http.rest.PagedIterable<DnsRecordSet> listRecordSets(int pageSize) Lists all the record sets in this zone with each entries in each page limited to the given size.com.azure.core.http.rest.PagedIterable<DnsRecordSet> listRecordSets(String recordSetNameSuffix) Lists all the record sets in this zone with the given suffix.com.azure.core.http.rest.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.longGets the maximum number of record sets that can be created in this zone.Gets entry point to manage record sets in this zone containing MX (mail exchange) records.Gets name servers assigned for this zone.Gets entry point to manage record sets in this zone containing NS (name server) records.longGets the current number of record sets in this zone.Gets entry point to manage record sets in this zone containing PTR (pointer) records.Gets a list of references to virtual networks that register hostnames in this DNS zone for Private DNS zone.Gets a list of references to virtual networks that resolve records in this DNS zone for Private DNS zone.Gets entry point to manage record sets in this zone containing SRV (service) records.Gets entry point to manage record sets in this zone containing TXT (text) records.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupNameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
region, regionName, tags, type
-
Method Details
-
maxNumberOfRecordSets
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.
-
numberOfRecordSets
long numberOfRecordSets()Gets the current number of record sets in this zone.- Returns:
- the current number of record sets in this zone.
-
etag
String etag()Gets the etag associated with this zone.- Returns:
- the etag associated with this zone.
-
accessType
ZoneType accessType()Gets the access type of this zone (Private or Public).- Returns:
- the access type of this zone (Private or Public).
-
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
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.
-
listRecordSets
com.azure.core.http.rest.PagedIterable<DnsRecordSet> listRecordSets()Gets the record sets in this zone.- Returns:
- the record sets in this zone.
-
listRecordSets
Lists all the record sets in this zone with the given suffix.- Parameters:
recordSetNameSuffix- the record set name suffix- Returns:
- the record sets
-
listRecordSets
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
com.azure.core.http.rest.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.- Parameters:
recordSetNameSuffix- the record set name suffixpageSize- the maximum number of record sets in a page- Returns:
- the record sets
-
nameServers
Gets name servers assigned for this zone.- Returns:
- name servers assigned for this zone.
-
aRecordSets
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
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
-
caaRecordSets
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
-
cNameRecordSets
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
-
mxRecordSets
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
-
nsRecordSets
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
-
ptrRecordSets
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
-
srvRecordSets
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
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
-
getSoaRecordSet
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
-