Interface DnsZone

All Superinterfaces:
GroupableResource<DnsZoneManager,ZoneInner>, HasId, HasInnerModel<ZoneInner>, HasManager<DnsZoneManager>, HasName, HasResourceGroup, Indexable, Refreshable<DnsZone>, Resource, Updatable<DnsZone.Update>

An immutable client-side representation of an Azure DNS Zone.
  • 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

      List<String> 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

      List<String> 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

      com.azure.core.http.rest.PagedIterable<DnsRecordSet> 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

      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.
      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 suffix
      pageSize - the maximum number of record sets in a page
      Returns:
      the record sets
    • nameServers

      List<String> 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